﻿.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 30px;
}
 

.rundown-time {
    font-weight: bold;
    color: #198754;
}

.my-section {
    margin-top: 10em;
}


.goodie-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.goodie-item {
    text-align: center;
}

    .goodie-item img {
        width: 350px;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .goodie-item small {
        display: block;
        margin-top: 5px;
        color: #777;
        font-size: 0.85em;
    }



.gallery {
    padding-top: 20px;
    text-align: center;
}

h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
}


.image-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    padding: 10px;
}


.image-item {
    position: relative;
    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;
}

    .image-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
        transition: transform 0.3s ease;
    }

    .image-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

        .image-item:hover img {
            transform: scale(1.1);
        }

/* Lightbox Styles */
/* Lightbox overlay */
#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;
}

/* Optional: zoom animation */
@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    font-family: Arial, sans-serif;
    z-index: 10000;
}

    .close:hover {
        color: #FFD700;
    }


.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: 1200px;
    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;
}



.desc {
    font-size: larger;
    line-height: 1.5;
}


.mt-custom {
    margin-top: 1em;
}

.youTube {
    width: 100%;
    height: 746px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


@media (min-width: 1800px) {
    .mt-custom {
        margin-top: 5em;
    }
}



@media (max-width: 1600px) {

    .mt-custom {
        margin-top: 3em;
    }

    .desc {
        font-size: medium;
    }

    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    }

    .image-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    }
}

@media (max-width: 1400px) {

    .mt-custom {
        margin-top: 1em;
    }

    .desc {
        font-size: medium;
    }

    .goodie-item img {
        width: 300px;
    }


    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)) !important;
    }

    .image-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    }

    .youTube {
        height: 600px;
    }
}


@media (max-width: 1200px) {

    .mt-custom {
        margin-top: 1em;
    }

    .desc {
        font-size: medium;
    }

    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    }

    .image-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    }

    .youTube { 
        height: 500px; 
    }
}


@media (max-width: 991.98px) {

    .desc {
        font-size: medium;
    }


    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    }

    .image-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    }

    .youTube {
        height: 450px;
    }
}


/* iPad Landscape & Small Laptops */
@media (min-width: 768px) and (max-width: 991.98px) {

    .goodie-item img {
        width: 200px;
    }

    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }

    .image-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }


    .youTube {
        height: 400px;
    }
}

/* Tablets (iPad portrait) */
@media (min-width: 576px) and (max-width: 767.98px) {

    .goodie-item img {
        width: 220px;
    }

    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }

    .image-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }

    .youTube {
        height: 300px;
    }
}



/* Phones */
@media (max-width: 575.98px) {

    .goodie-item img {
        width: 100%;
    }

    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }

    .image-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }


    .youTube {
        height: 250px;
    }
}
