
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#111;
    color:white;
}

.hero{
    min-height:55vh;
    background:
        linear-gradient(
            rgba(0,0,0,.65),
            rgba(0,0,0,.65)
        ),
        url('../img/home-page/AllInTheTiming-hero.jpg')
        center/cover no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
}

.hero-content{
    position:relative;
    z-index:2;
    padding:40px 20px;
}

.hero-kicker{
    font-size:14px;
    letter-spacing:4px;
    text-transform:uppercase;
    color:#8FD19E;
    margin-bottom:20px;
}

.hero h1{
    font-size:72px;
    letter-spacing:2px;
    margin-bottom:20px;
}

.hero-subtitle{
    font-size:19px;
    color:#ddd;
    max-width:600px;
    line-height:1.7;
}

.section-divider{
    width:100%;
    height:1px;
    background:rgba(255,255,255,.1);
}


/*intro*/

.archive-intro{
    max-width:750px;
    margin:auto;
    padding:110px 30px;
    text-align:center;
}

.archive-kicker{
    font-size:13px;
    letter-spacing:3px;
    color:#8FD19E;
    margin-bottom:18px;
}

.archive-intro h2{
    font-size:42px;
    margin-bottom:25px;
}

.archive-intro > p:last-child{
    font-size:18px;
    line-height:1.8;
    color:#ccc;
}


/*productions*/

.production-show{
    max-width:1250px;
    margin:auto;
    padding:100px 40px 120px;
}


/* Main production area */

.production-container{
    display:grid;
    grid-template-columns:1.25fr .75fr;
    align-items:center;
    gap:80px;
}


/* Head image */

.production-main-image{
    overflow:hidden;
    border-radius:10px;
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
    cursor:pointer;
}

.production-main-image img{
    display:block;
    width:100%;
    height:520px;
    object-fit:cover;
    transition:transform .5s ease;
}

.production-main-image:hover img{
    transform:scale(1.03);
}


/* Information */

.production-info{
    padding:20px;
}

.production-number{
    font-size:12px;
    letter-spacing:3px;
    color:#8FD19E;
    margin-bottom:20px;
}

.production-info h2{
    font-size:52px;
    margin-bottom:30px;
    line-height:1.1;
}

.production-info p:last-child{
    font-size:18px;
    line-height:1.9;
    color:#ccc;
    max-width:480px;
}


/* photo gallery */

.production-gallery{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:18px;
    margin-top:30px;
}

.gallery-image{
    height:180px;
    overflow:hidden;
    border-radius:8px;
    cursor:pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.gallery-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:
        transform .4s ease,
        filter .4s ease;
}

.gallery-image:hover img{
    transform:scale(1.06);
    filter:brightness(1.1);
}


/*highlight each photo */

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.88);
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
    opacity:0;
    pointer-events:none;
    transition:opacity .3s ease;
    z-index:2000;
}

.lightbox.active{
    opacity:1;
    pointer-events:auto;
}

.lightbox img{
    max-width:90%;
    max-height:85vh;
    border-radius:8px;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
    transform:scale(.95);
    transition:transform .3s ease;
}

.lightbox.active img{
    transform:scale(1);
}

.lightbox-close{
    position:absolute;
    top:25px;
    right:35px;
    background:none;
    border:none;
    color:white;
    font-size:45px;
    line-height:1;
    cursor:pointer;
    transition:.2s ease;
}

.lightbox-close:hover{
    color:#8FD19E;
}


/* fade in */

.fade-in{
    opacity:0;

    transform:translateY(50px);

    transition:
        opacity .9s ease,
        transform .9s ease;
}

.fade-in.visible{
    opacity:1;

    transform:translateY(0);
}


/* Mobile Adjustment */
@media screen and (max-width: 768px) {
    .hero {
        min-height: 40vh;
    }

    .hero h1 {
        font-size: 36px; 
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .archive-intro {
        padding: 50px 20px;
    }

    .archive-intro h2 {
        font-size: 28px;
    }

    .production-show {
        padding: 40px 20px;
    }

    .production-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .production-main-image img {
        height: 280px;
    }

    .production-info {
        padding: 0;
    }

    .production-info h2 {
        font-size: 32px;
    }

    .production-gallery {
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }

    .gallery-image {
        height: 120px;
    }

    .lightbox {
        padding: 20px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 36px;
    }
}