/* ==========================================================================
   Programs — Sons page
   ========================================================================== */

.smrs-sons {
    background: #fff;
    color: #141414;
}

.smrs-sons-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--smrs-dark-green, #0C4143);
    margin-bottom: 16px;
}

.smrs-sons-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.smrs-sons-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.smrs-sons-reveal.delay-1 { transition-delay: 0.1s; }
.smrs-sons-reveal.delay-2 { transition-delay: 0.2s; }

/* ---------- 1. Hero — identical treatment to the Moms page ---------- */

.smrs-sons-hero {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    height: 100vh;
    min-height: 560px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.smrs-sons-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.smrs-sons-hero-content {
    position: relative;
    z-index: 1;
    padding: 0 24px;
}

.smrs-sons-hero-h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 14px;
}

.smrs-sons-hero-h2 {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 2. About the Camps — bg image with text ---------- */

.smrs-sons-camps {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
    padding: 60px 10%;
}

.smrs-sons-camps::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.smrs-sons-camps-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.smrs-sons-camps-content h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin: 0 0 18px;
}

.smrs-sons-camps-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* Generic section heading, matching the same pattern used on other
   pages (e.g. .smrs-church-heading) - needed once for the Sons by
   Grace Locations heading below. */
.smrs-sons-heading {
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    font-weight: 700;
    margin: 0 0 40px;
    text-align: center;
}

/* ---------- 2d. Camp Themes — vertical numbered list, same pattern
   as the Moms page's Programme Journey timeline ---------- */

.smrs-sons-camp-themes {
    max-width: 700px;
    margin: 0 auto;
    padding: 100px 32px;
    text-align: center;
}

.smrs-camp-themes-list {
    position: relative;
    margin-top: 50px;
    text-align: left;
}

.smrs-camp-themes-list::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 19px;
    width: 2px;
    background: #E7E1D8;
}

.smrs-camp-theme-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 44px;
}

.smrs-camp-theme-item:last-child {
    padding-bottom: 0;
}

.smrs-camp-theme-dot {
    position: absolute;
    left: 0;
    top: 2px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--smrs-dark-green, #0C4143);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.smrs-camp-theme-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.smrs-camp-theme-text {
    color: #55534E;
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0;
}

/* ---------- 2e. Core Objectives — checkmark list, same pattern as
   the Expected Outcomes sections on the Moms/Men pages ---------- */

.smrs-sons-objectives {
    max-width: 1000px;
    margin: 0 auto;
    padding: 90px 32px 100px;
    text-align: center;
}

.smrs-sons-objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    text-align: left;
    margin-top: 20px;
}

.smrs-sons-objective-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.smrs-sons-objective-tick {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--smrs-dark-green, #0C4143);
    display: flex;
    align-items: center;
    justify-content: center;
}

.smrs-sons-objective-tick svg {
    width: 15px;
    height: 15px;
}

.smrs-sons-objective-title {
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 4px;
}

.smrs-sons-objective-text {
    color: #55534E;
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0;
}

/* ---------- 2b. Sons by Grace — pinned reveal (moved from the
   Church page per client request). Manual scroll-driven pin (not
   CSS position:sticky — sticky broke on us earlier on this site due
   to a theme container conflict). The entire pinned scroll range is
   spent fading the paragraph in - once fully visible, normal
   scrolling continues immediately into the next section. ---------- */

.smrs-sons-pin-wrap {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 200vh;
}

.smrs-sons-pin-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.smrs-sons-pin-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.smrs-sons-pin-text {
    position: relative;
    z-index: 1;
    max-width: 760px;
    text-align: center;
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 600;
    line-height: 1.55;
    padding: 0 24px;
    /* opacity is set inline by JS, driven by pin progress */
}

/* ---------- 3. Registration form ---------- */

.smrs-sons-form-section {
    background: var(--smrs-dark-green, #0C4143);
    padding: 90px 32px;
}

.smrs-sons-form-inner {
    max-width: 640px;
    margin: 0 auto;
}

.smrs-sons-form-inner .smrs-sons-eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.smrs-sons-form-heading {
    color: #fff;
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 36px;
    text-align: center;
}

/* Shown instead of the registration form while camps are closed for
   the year (see $smrs_sons_camp_open in functions.php) */
.smrs-sons-form-closed {
    max-width: 480px;
    margin: 0 auto;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    text-align: center;
}

.smrs-sons-form-closed p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.smrs-sons-form-closed .smrs-sons-form-closed-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.smrs-sons-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.smrs-sons-form .full-width {
    grid-column: 1 / -1;
}

.smrs-sons-form label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.smrs-sons-form input,
.smrs-sons-form select,
.smrs-sons-form textarea {
    width: 100%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    font-size: 14.5px;
    font-family: inherit;
}

.smrs-sons-form input::placeholder,
.smrs-sons-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.smrs-sons-form input:focus,
.smrs-sons-form select:focus,
.smrs-sons-form textarea:focus {
    outline: none;
    border-color: #fff;
}

.smrs-sons-form-submit {
    /* display/width/box-sizing/text-align/text-decoration added when
       this became a link to an external Google Form instead of a
       <button> inside the form's grid - see moms.css's
       .smrs-prog-form-submit for the full explanation. */
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
    background: var(--smrs-cream, #F3EEE3);
    color: var(--smrs-dark-green, #0C4143);
    border: none;
    font-weight: 600;
    font-size: 15px;
    padding: 15px 30px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.smrs-sons-form-submit:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
    .smrs-sons-form {
        grid-template-columns: 1fr;
    }
    .smrs-sons-camps {
        padding: 50px 7%;
    }
    .smrs-sons-objectives-grid {
        grid-template-columns: 1fr;
    }
}