﻿h1, h2, h3 {
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

img {
    border-radius: 15px;
}


.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    background-image: url('https://lh3.googleusercontent.com/pw/AP1GczOJRPyQgWUojc7m0LRF3wDJT3SfQwGpiSi19zGN7oRH3GvcVRRRs7-R3_m2qZCbY8x-amlBsqh8JpRhJluI4vfFjx_g_Sx-FzYkg0EhHDyjQmkZAsWrllyAtkXIiXbnmCqhgVJ6V0IG57Fls0LEX9q0=w1271-h953-s-no-gm?authuser=2'); /* your high quality hero image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    animation: heroFadeIn 2.5s ease-out forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0,0,0,0.4); /* dark overlay */
    }

    .hero .hero-text {
        position: relative;
        z-index: 2;
        text-align: center;
        color: #fff;
        padding: 0 20px;
    }

        .hero .hero-text h1 {
            font-size: 3rem;
            font-weight: bold;
        }

        .hero .hero-text p {
            font-size: 1.2rem;
            margin-top: 1rem;
        }


.col-left,
.col-right {
    flex: 1 1 45%;
}

.fade-up,
.fade-down {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.fade-up {
    transform: translateY(40px);
}

.fade-down {
    transform: translateY(-40px);
}

    .fade-up.show,
    .fade-down.show {
        opacity: 1;
        transform: translateY(0);
    }



.title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.desc {
    line-height: 1.7;
    font-size: 1rem;
    color: #444;
}

.desc-align-center {
    text-align: center;
    align-content: center;
}


#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden; /* ✅ prevent scroll jump */
    padding: 10px;
}

.lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 10px;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.galleryOpening-SM {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-auto-rows: 100px;
    grid-auto-flow: dense;
    max-width: 500px;
    margin: 2px auto;
    padding: 0 2px;
}

.galleryOpening__item-SM {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}


.galleryOpening__item-SM img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.galleryOpening__item-SM:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.galleryOpening__item-SM:hover img {
    transform: scale(1.1);
}

.galleryOpening__item-SM > img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}



.galleryOpening__item--hor-SM {
    grid-column: span 2;
}

.galleryOpening__item--vert-SM {
    grid-row: span 2;
}

.galleryOpening__item--lg-SM {
    grid-column: span 2;
    grid-row: span 2;
}




.galleryOpening {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    max-width: 1600px;
    margin: 10px auto;
    padding: 0 10px;
}


.galleryOpening__item {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}


    .galleryOpening__item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
        transition: transform 0.3s ease;
    }

    .galleryOpening__item:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

        .galleryOpening__item:hover img {
            transform: scale(1.1);
        }

    .galleryOpening__item > img {
        height: 100%;
        object-fit: cover;
        width: 100%;
    }



.galleryOpening__item--hor {
    grid-column: span 2;
}

.galleryOpening__item--vert {
    grid-row: span 2;
}

.galleryOpening__item--lg {
    grid-column: span 2;
    grid-row: span 2;
}




.special-thanks {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
}

    .special-thanks h2 {
        font-size: 18px;
        letter-spacing: 2px;
        margin-bottom: 30px;
        color: #222;
    }

/* Featured sponsor card */
.featured-sponsor {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    opacity: 0;
    animation: heroFadeIn 5s ease-out forwards;
} 

/* Logo */
    .featured-sponsor img {
        max-width: 180px;
        height: auto; 
    }

.featured-sponsor:hover {
    transform: translateY(-4px);
    transition: 0.3s ease;
}


/* --- Responsive --- */
@media (max-width: 992px) {
    .col-left,
    .col-right {
        flex: 1 1 100%;
    }

    .title {
        font-size: 1.3rem;
    }

    .desc {
        font-size: 0.95rem;
    }
}



/* Responsive tweaks */
@media (max-width: 768px) {
    .hero .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero .hero-text p {
        font-size: 1rem;
    } 
}




/* Phones */
@media (max-width: 575.98px) {
    .hero {
        height: 35vh;
    }

  

    .galleryOpening-SM {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        grid-auto-flow: row;
    }

    .galleryOpening__item-SM,
    .galleryOpening__item--lg-SM,
    .galleryOpening__item--vert-SM,
    .galleryOpening__item--hor-SM {
        grid-column: auto;
        grid-row: auto;
    }

        .galleryOpening__item-SM img {
            height: auto;
            aspect-ratio: 4 / 5; /* optional but recommended */
        }
}

/* Tablets (iPad portrait) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero {
        height: 40vh;
    }
     
}

/* iPad Landscape & Small Laptops */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero {
        height: 55vh;
    }

 
}


/* Desktop */
@media (min-width: 992px) {

    .hero {
        height: 70vh;
    }

    .col-left,
    .col-right {
        opacity: 0;
        transition: all 0.8s ease-out;
    }


    .col-left {
        transform: translateX(-60px);
    }

    .col-right {
        transform: translateX(60px);
    }

        /* When visible on scroll */
        .col-left.show,
        .col-right.show {
            opacity: 1;
            transform: translateX(0);
        }
}   

 