﻿/* =====================================================
   GALLERY PAGE
===================================================== */

.gallery-page {
    width: 100%;
    padding: 70px 5%;
    background: #f7fbf8;
    min-height: 100vh;
}


/* =====================================================
   HERO
===================================================== */

.gallery-hero {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.gallery-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #249555;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.gallery-hero h1 {
    margin: 0 0 15px;
    color: #163b24;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.1;
}

.gallery-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: #6c7b72;
    font-size: 16px;
    line-height: 1.7;
}


/* =====================================================
   TOOLBAR
===================================================== */

.gallery-toolbar {
    max-width: 1250px;
    margin: 0 auto 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}


/* =====================================================
   FILTERS
===================================================== */

.gallery-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-filter {
    border: 1px solid #d9e7de;
    background: #ffffff;
    color: #52645a;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

    .gallery-filter:hover {
        border-color: #249555;
        color: #249555;
        transform: translateY(-2px);
    }

    .gallery-filter.active {
        background: #249555;
        border-color: #249555;
        color: #ffffff;
    }


/* =====================================================
   UPLOAD BUTTON
===================================================== */

.gallery-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 18px;
    border-radius: 10px;
    background: #249555;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(36, 149, 85, 0.20);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .gallery-upload-btn:hover {
        background: #176d3d;
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(36, 149, 85, 0.28);
    }

.upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 17px;
}


/* =====================================================
   GALLERY GRID
===================================================== */

.gallery-grid {
    max-width: 1250px;
    margin: 0 auto;
    columns: 4 230px;
    column-gap: 17px;
}


/* =====================================================
   GALLERY CARD
===================================================== */

.gallery-card {
    position: relative;
    break-inside: avoid;
    margin-bottom: 17px;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e1ebe4;
    cursor: pointer;
    box-shadow: 0 7px 22px rgba(28, 61, 39, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .gallery-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 35px rgba(36, 149, 85, 0.16);
    }


/* =====================================================
   IMAGE
===================================================== */

.gallery-image {
    position: relative;
    width: 100%;
    min-height: 210px;
    overflow: hidden;
    background: #eaf2ec;
}

    .gallery-image img {
        width: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.55s ease;
    }

.gallery-card:hover .gallery-image img {
    transform: scale(1.07);
}


/* =====================================================
   IMAGE OVERLAY
===================================================== */

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.02) 20%, rgba(0, 0, 0, 0.08) 45%, rgba(7, 31, 15, 0.90) 100% );
}


/* =====================================================
   IMAGE CONTENT
===================================================== */

.gallery-content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 15px;
    color: #ffffff;
}

.gallery-tag {
    display: inline-block;
    padding: 5px 9px;
    margin-bottom: 7px;
    border-radius: 50px;
    background: rgba(36, 149, 85, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.gallery-content h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.gallery-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    line-height: 1.4;
}


/* =====================================================
   HIDE FILTERED CARDS
===================================================== */

.gallery-card.gallery-hidden {
    display: none;
}


/* =====================================================
   NEW UPLOADED PHOTO
===================================================== */

.gallery-card.new-upload {
    border: 2px solid #249555;
    animation: newPhoto 0.5s ease;
}

@keyframes newPhoto {

    0% {
        opacity: 0;
        transform: scale(0.92);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* =====================================================
   LIGHTBOX
===================================================== */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(6, 22, 11, 0.93);
    backdrop-filter: blur(8px);
}

    .gallery-lightbox.active {
        display: flex;
    }


/* =====================================================
   LIGHTBOX CONTENT
===================================================== */

.lightbox-content {
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

    .lightbox-content img {
        max-width: 90vw;
        max-height: 78vh;
        object-fit: contain;
        border-radius: 14px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    }

.lightbox-caption {
    color: #ffffff;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}


/* =====================================================
   LIGHTBOX BUTTONS
===================================================== */

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

    .lightbox-close:hover,
    .lightbox-prev:hover,
    .lightbox-next:hover {
        background: #249555;
    }


/* CLOSE */

.lightbox-close {
    top: 22px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 27px;
    line-height: 1;
}


/* PREVIOUS */

.lightbox-prev {
    left: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 38px;
}


/* NEXT */

.lightbox-next {
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 38px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .gallery-grid {
        columns: 3 220px;
    }
}


/* =====================================================
   SMALL TABLET
===================================================== */

@media (max-width: 750px) {

    .gallery-page {
        padding: 55px 4%;
    }

    .gallery-grid {
        columns: 2 180px;
    }

    .gallery-toolbar {
        align-items: flex-start;
    }

    .gallery-upload-btn {
        width: 100%;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 500px) {

    .gallery-page {
        padding: 45px 18px;
    }

    .gallery-hero {
        margin-bottom: 40px;
    }

        .gallery-hero h1 {
            font-size: 32px;
        }

        .gallery-hero p {
            font-size: 14px;
        }

    .gallery-grid {
        columns: 1;
    }

    .gallery-filter {
        padding: 9px 13px;
        font-size: 11px;
    }

    .gallery-image {
        min-height: 260px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
    }
}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .gallery-card,
    .gallery-image img,
    .gallery-filter,
    .gallery-upload-btn {
        transition: none;
    }

        .gallery-card.new-upload {
            animation: none;
        }
}
/*====================update============*/
```css
/* =====================================================
   NURSERY VIDEO + CONTENT
===================================================== */
.nursery-video-section {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto 65px;
}

.nursery-video-wrapper {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 50px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e1ebe4;
    border-radius: 25px;
    box-shadow: 0 15px 45px rgba(28, 61, 39, 0.10);
    overflow: hidden;
}


/* =====================================================
   VIDEO
===================================================== */

.nursery-video-box {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
    border-radius: 20px;
    background: #102619;
    box-shadow: 0 12px 30px rgba(20, 70, 40, 0.16);
}

    .nursery-video-box video {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }


/* =====================================================
   CONTENT
===================================================== */

.nursery-video-content {
    padding: 10px 15px 10px 0;
}


/* LABEL */

.nursery-video-label {
    display: inline-block;
    margin-bottom: 13px;
    color: #249555;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}


/* HEADING */

.nursery-video-content h2 {
    margin: 0 0 18px;
    color: #163b24;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 800;
}

    .nursery-video-content h2 span {
        display: block;
        color: #249555;
    }


/* PARAGRAPH */

.nursery-video-content p {
    margin: 0 0 12px;
    color: #6c7b72;
    font-size: 14px;
    line-height: 1.75;
}


/* =====================================================
   FEATURES
===================================================== */

.nursery-video-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}


.video-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f7fbf8;
    border: 1px solid #e1ebe4;
    border-radius: 12px;
    transition: all 0.25s ease;
}

    .video-feature:hover {
        transform: translateY(-3px);
        border-color: #249555;
        box-shadow: 0 8px 20px rgba(36, 149, 85, 0.10);
    }


/* ICON */

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e7f5eb;
    font-size: 19px;
}


/* FEATURE TEXT */

.video-feature strong {
    display: block;
    margin-bottom: 2px;
    color: #234c31;
    font-size: 12px;
    font-weight: 800;
}

.video-feature small {
    display: block;
    color: #829087;
    font-size: 10px;
    line-height: 1.3;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

    .nursery-video-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 22px;
    }

    .nursery-video-box {
        height: 400px;
    }

    .nursery-video-content {
        padding: 0 5px 10px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .nursery-video-section {
        margin-bottom: 45px;
    }

    .nursery-video-wrapper {
        padding: 15px;
        border-radius: 18px;
        gap: 22px;
    }

    .nursery-video-box {
        height: 260px;
        border-radius: 15px;
    }

    .nursery-video-content {
        padding: 0 5px 8px;
    }

        .nursery-video-content h2 {
            font-size: 32px;
        }

        .nursery-video-content p {
            font-size: 13px;
            line-height: 1.65;
        }

    .nursery-video-features {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .video-feature {
        padding: 10px;
    }
}

```

