/* ============================================================
   EASTER WEEKEND — World Harvest Church
   css/style.css
   ============================================================ */

/* 1. @font-face
   ============================================================ */
@font-face {
    font-family: 'TT Ramillas';
    src: url('/MicroSites/Easter2026/assets/fonts/TT Ramillas Trial Bold Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'TT Ramillas';
    src: url('/MicroSites/Easter2026/assets/fonts/TT Ramillas Trial Black Italic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'TT Interphases';
    src: url('/MicroSites/Easter2026/assets/fonts/TT Interphases/TT Interphases Pro Trial ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'TT Interphases';
    src: url('/MicroSites/Easter2026/assets/fonts/TT Interphases/TT Interphases Pro Trial Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* 2. CSS Custom Properties
   ============================================================ */
:root {
    --grad-video: linear-gradient(to right, #ff66c4, #ffde59);
    --grad-seg2: linear-gradient(to right, #fff7ad, #ffa9f9);
    --grad-seg3-5: linear-gradient(to right, #8c52ff, #5ce1e6);
    --grad-btn: linear-gradient(to right, #FF8DEF, #BE31EE);
    --white: #ffffff;
    --dark: #191919;
}

/* 3. Reset + Base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.mobileonly {
    display: none;
}

img, object {
    display: block;
    max-width: 100%;
    height: auto;
    pointer-events: none;
}

a {
    text-decoration: none;
}

/* 4. Navigation
   ============================================================ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.nav-logo {
    height: 52px;
    width: auto;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--dark);
        border-radius: 2px;
        transition: background 0.2s;
    }

    .hamburger:hover span {
        background: #8c52ff;
    }

/* 5. Hamburger Drawer
   ============================================================ */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .nav-backdrop.open {
        display: block;
        opacity: 1;
    }

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 24px 28px;
}

    .nav-drawer.open {
        transform: translateX(0);
    }

.drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--dark);
    line-height: 1;
    padding: 4px 8px;
    margin-bottom: 24px;
}

    .drawer-close:hover {
        color: #8c52ff;
    }

.drawer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .drawer-nav li a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
        color: var(--dark);
        font-family: Arial, Helvetica, sans-serif;
        border-bottom: 1px solid #f0f0f0;
        transition: color 0.2s;
    }

    .drawer-nav li:last-child a {
        border-bottom: none;
    }

    .drawer-nav li a:hover {
        color: #8c52ff;
    }

/* 6. Segment 1 — Hero
   ============================================================ */
.seg1 {
    width: 100%;
    background: var(--white);
}

.seg1-header-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 24px 0;
}

.seg1-header-img {
    width: 100%;
    max-width: 68%;
    height: auto;
    aspect-ratio: 719 / 353;
}

.video-stage {
    width: 100%;
    background: var(--white);
    padding: 40px 5%;
}

.video-region {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

    /* Gradient card — peeks behind the video */
    .video-region::before {
        content: '';
        position: absolute;
        top: -22px;
        left: -22px;
        right: 45px;
        bottom: 24px;
        background: var(--grad-video);
        border-radius: 4px;
        z-index: 0;
    }

.video-wrapper {
    position: relative;
    z-index: 1;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 4px;
}

    .video-wrapper video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* 7. Segment 2 — Event Times
   ============================================================ */
.seg2 {
    width: 100%;
    background: var(--grad-seg2);
    line-height: 0; /* prevent inline gap below img */
    padding-bottom: 3%;
}

.seg2-graphic {
    width: 100%;
    height: auto;
    display: block;
}

object.seg2-graphic {
    padding: 2% 5% 5% 3%;
}

object.seg2-schedule {
    margin: auto;
    width: 24%;
}

/* 8. Segment 3 — All Kids
   ============================================================ */
.seg3 {
    width: 100%;
    background: var(--grad-seg3-5);
    padding: 0% 3% 4%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seg3-graphic {
    width: 100%;
    height: auto;
    display: block;
}

object.seg3-graphic {
    padding-right: 3rem;
}

.seg3-header {
    width: 100%;
    aspect-ratio: 1132 / 279;
}

.seg3-cta {
    margin-top: auto;
}

.visit-btn {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.btn-border-img {
    display: block;
    width: 100%;
    height: auto;
}

.visit-btn-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'TT Ramillas', Georgia, serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    pointer-events: none;
}

/* 9. Segment 4 — What To Expect
   ============================================================ */
.seg4 {
    width: 100%;
    background: var(--white);
    line-height: 0;
    padding: 3%;
}

.seg4-halves {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

.seg4-half {
    min-width: 0;
}

    .seg4-half.a {
        flex: 0 0 50%;
    }

    .seg4-half object.directions {
        width: 75%;
        margin-top: 2%;
    }

    .seg4-half.b {
        flex: 0 0 50%;
    }

        .seg4-half.b object {
            padding-top: 16%;
        }

    .seg4-half object {
        width: 100%;
        height: auto;
        display: block;
    }

.seg4-copy {
    line-height: normal;
    padding: 4% 0% 6% 6%;
}

    .seg4-copy ol {
        list-style: none;
        padding: 0;
        margin: 0;
        counter-reset: step-counter;
    }

    .seg4-copy li {
        counter-increment: step-counter;
        display: flex;
        align-items: center;
        gap: 1.25rem;
        padding: 0.15em 0;
        font-family: 'TT Interphases', sans-serif;
        font-weight: 700;
        font-size: clamp(16px, 2.55vw, 32px);
        color: var(--dark);
        line-height: 1.25;
    }

        .seg4-copy li::before {
            content: counter(step-counter, decimal-leading-zero);
            font-family: 'TT Interphases', sans-serif;
            font-weight: 800;
            font-size: clamp(54px, 5.5vw, 88px);
            color: var(--dark);
            line-height: 1;
            flex-shrink: 0;
            min-width: 2.2ch;
        }

object.seg4-plan {
    max-width: none;
    width: 150%;
    margin: auto !important;
    transform: translateX(-19%);
}

/* 10. Segment 5 — Games
   ============================================================ */
.seg5 {
    width: 100%;
    background: var(--grad-seg3-5);
    padding: 3% 5% 10%;
}

object.seg5-header-img {
    width: 100%;
    max-width: 33%;
    height: auto;
    margin: auto;
    padding-bottom: 4%;
}

.games-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    /*flex-wrap: wrap;*/
}

.game-card {
    height: 26rem;
    width: auto;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

    .game-card.center {
        transform: scale(1.05);
    }

/* 11. Seg3 Photo Carousel
   ============================================================ */
.s3b-track {
    position: relative;
    width: 100%;
    min-height: 200px;
    margin: 24px 0 48px;
    overflow: hidden;
    user-select: none;
    cursor: grab;
}

    .s3b-track.is-dragging {
        cursor: grabbing;
    }

.s3b-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 35%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
}

    .s3b-item object {
        width: 100%;
        height: auto;
        display: block;
        pointer-events: none;
        -webkit-user-drag: none;
        user-select: none;
    }

/* 12. Lightbox
   ============================================================ */

.photo-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.88);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

    .photo-lightbox.open {
        display: flex;
    }

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

    .lightbox-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }

/* 13. Footer
   ============================================================ */
.site-footer {
    width: 100%;
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 48px 6% 32px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 32px;
}

.footer-nav a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.75;
    transition: opacity 0.2s;
}

    .footer-nav a:hover {
        opacity: 1;
    }

.footer-info {
    text-align: center;
    line-height: 1.8;
}

.footer-name {
    font-size: 1rem;
    font-weight: 700;
}

.footer-address {
    font-size: 0.9rem;
    opacity: 0.75;
}

.footer-privacy {
    margin-top: 4px;
}

    .footer-privacy a {
        color: var(--white);
        font-size: 0.85rem;
        text-decoration: underline;
        text-underline-offset: 3px;
        opacity: 0.7;
        transition: opacity 0.2s;
    }

        .footer-privacy a:hover {
            opacity: 1;
        }

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.5;
    text-align: center;
}

/* 14. Responsive
   ============================================================ */

@media (max-width: 768px) {
    /* Seg 4: stack halves vertically */
    .seg4-halves {
        flex-direction: row;
    }

    .seg4-half {
        flex: 1 1 100%;
    }

    object.directions {
        margin: 2% 0 0 4% !important;
    }

    /* Seg 5: shrink game cards on mobile */
    object.seg5-header-img {
        max-width: 85% !important;
    }

    .game-card {
        height: 160px;
    }

    /* Seg 1: tighter padding */
    .video-stage {
        padding: 24px 4%;
    }

    /* Footer: stack nav links vertically on mobile */
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {

    .seg1-header-wrap {
        padding: 20px 16px 0 34px;
    }

    .seg1-header-img {
        max-width: 100% !important;
    }

    .video-region::before {
        content: '';
        position: absolute;
        top: -11px;
        left: -9px;
        right: 24px;
        bottom: 17px;
        background: var(--grad-video);
        border-radius: 4px;
        z-index: 0;
    }

    object.seg2-mobile-a {
        margin: 0 12%;
        width: 75%;
    }

    object.seg2-schedule {
        width: 70% !important;
    }

    .s3b-track {
        margin: 0 !important;
    }

    .s3b-item {
        width: 56% !important;
    }

        .s3b-item picture,
        .s3b-item img {
            width: 100%;
            height: auto;
            display: block;
            pointer-events: none;
            -webkit-user-drag: none;
            user-select: none;
        }

    .seg4 {
        padding: 0 !important;
    }

    .seg4-halves {
        flex-direction: column-reverse;
    }

    .seg4-copy li {
        font-size: 14px !important;
    }

        .seg4-copy li::before {
            font-size: 20px !important;
        }

    .seg4-half object.directions {
        width: 92% !important;
        margin: 0 auto 4% !important;
    }

    object.seg4-plan {
        width: 100%;
        transform: translateX(0);
    }

    .seg5 {
        padding: 3% 2% 5% !important;
    }

    .game-card {
        height: 178px;
        border-radius: 8px;
    }

    .games-row {
        gap: 12px;
    }

    .btn-border-img {
        width: 220px;
    }

    .nomobile {
        display: none !important;
    }

    .mobileonly {
        display: block;
    }
}
