/* =========================================================
   VILLAGE CULTURE — MODEL DESIGN
========================================================= */

.culture-section {
    width: 100%;
    padding: 55px 20px 70px;
    background: #f4f7fb;
}

.culture-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}


/* =========================================================
   CULTURE HERO
========================================================= */

.culture-hero {
    position: relative;
    overflow: hidden;

    min-height: 245px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 40px 50px;

    border-radius: 24px;

    background:
        linear-gradient(
            120deg,
            #064e3b 0%,
            #087f5b 55%,
            #65a30d 100%
        );

    box-shadow:
        0 18px 45px rgba(6, 78, 59, .15);
}

.culture-hero::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: 100px;
    top: -150px;

    border-radius: 50%;

    background: rgba(255,255,255,.08);
}

.culture-hero::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -50px;
    bottom: -80px;

    border-radius: 50%;

    background: rgba(255,255,255,.08);
}

.culture-hero-content {
    position: relative;
    z-index: 2;

    max-width: 700px;
}

.culture-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: #bbf7d0;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.culture-hero h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.culture-hero h1 span {
    color: #bef264;
}

.culture-hero p {
    max-width: 620px;

    margin: 15px 0 0;

    color: rgba(255,255,255,.82);

    font-size: 14px;
    line-height: 1.8;
}

.culture-hero-icon {
    position: relative;
    z-index: 2;

    width: 105px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    margin-right: 40px;

    border: 1px solid rgba(255,255,255,.2);
    border-radius: 30px;

    color: #ecfccb;

    background: rgba(255,255,255,.12);

    font-size: 44px;

    backdrop-filter: blur(8px);
}


/* =========================================================
   CULTURE INFO CARD
========================================================= */

.culture-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    margin-top: 22px;
    padding: 23px;

    border: 1px solid #d1fae5;
    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 8px 25px rgba(15,23,42,.05);
}

.culture-info-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 15px;

    color: #15803d;
    background: #dcfce7;

    font-size: 20px;
}

.culture-info-content span,
.culture-section-heading span,
.block-title span {
    display: block;

    color: #16a34a;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.culture-info-content h2 {
    margin: 4px 0 7px;

    color: #0f172a;

    font-size: 19px;
    font-weight: 900;
}

.culture-info-content p {
    max-width: 950px;

    margin: 0;

    color: #64748b;

    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.culture-section-heading {
    margin-top: 45px;
    margin-bottom: 18px;

    padding-left: 3px;
}

.culture-section-heading h2 {
    margin: 5px 0 3px;

    color: #0f172a;

    font-size: clamp(25px, 3vw, 34px);
    font-weight: 900;
    letter-spacing: -.7px;
}

.culture-section-heading p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   CULTURE BLOCK
========================================================= */

.culture-block {
    overflow: hidden;

    margin-top: 20px;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 8px 30px rgba(15,23,42,.05);
}

.culture-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 17px 20px;

    border-bottom: 1px solid #dcfce7;

    background:
        linear-gradient(
            90deg,
            #064e3b,
            #166534
        );
}

.block-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.block-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #fff;

    background: rgba(255,255,255,.15);

    font-size: 16px;
}

.block-title span {
    color: #bbf7d0;
    font-size: 7px;
}

.block-title h3 {
    margin: 3px 0 0;

    color: #fff;

    font-size: 15px;
    font-weight: 900;
}

.gallery-count {
    padding: 5px 10px;

    border-radius: 30px;

    color: #dcfce7;

    background: rgba(255,255,255,.1);

    font-size: 8px;
    font-weight: 800;
}


/* =========================================================
   PHOTO GRID
========================================================= */

.culture-photo-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 17px;

    padding: 18px;
}

.culture-photo-card {
    display: block;

    width: 100%;

    padding: 0;

    overflow: hidden;

    text-align: left;

    cursor: pointer;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    background: #fff;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.culture-photo-card:hover {
    transform: translateY(-5px);

    border-color: #bbf7d0;

    box-shadow:
        0 14px 30px rgba(15,23,42,.10);
}

.culture-photo-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 4 / 3;

    background: #e2e8f0;
}

.culture-photo-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .6s ease;
}

.culture-photo-card:hover img {
    transform: scale(1.07);
}

.photo-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    background: rgba(6,78,59,.45);

    transition: opacity .3s ease;
}

.culture-photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay span {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #166534;
    background: #fff;

    font-size: 16px;
}

.culture-photo-caption {
    display: flex;
    flex-direction: column;

    gap: 3px;

    padding: 13px 14px;
}

.culture-photo-caption span {
    color: #16a34a;

    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1px;
}

.culture-photo-caption strong {
    color: #334155;

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   VIDEO GALLERY
========================================================= */

.video-block {
    margin-top: 25px;
    margin-bottom: 5px;
}

.video-icon {
    color: #dcfce7;
}

.culture-video-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    padding: 18px;
}

.culture-video-card {
    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    background: #fff;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.culture-video-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px rgba(15,23,42,.09);
}

.video-frame {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #020617;
}

.video-frame iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}

.video-caption {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 15px;
}

.video-caption-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    color: #fff;
    background: #16a34a;

    font-size: 14px;
}

.video-caption span {
    display: block;

    color: #16a34a;

    font-size: 7px;
    font-weight: 900;
    letter-spacing: .8px;
}

.video-caption strong {
    display: block;

    margin-top: 2px;

    color: #334155;

    font-size: 11px;
}


/* =========================================================
   LIGHTBOX
========================================================= */

.culture-lightbox {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    visibility: hidden;
    opacity: 0;

    background: rgba(2,6,23,.88);

    backdrop-filter: blur(6px);

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.culture-lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    position: relative;

    width: min(100%, 1000px);

    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 78vh;

    display: block;

    margin: auto;

    border-radius: 12px;

    object-fit: contain;

    box-shadow:
        0 25px 70px rgba(0,0,0,.4);
}

.lightbox-title {
    margin-top: 12px;

    color: #fff;

    font-size: 13px;
    font-weight: 700;
}

.lightbox-close {
    position: absolute;

    top: 25px;
    right: 25px;

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;

    color: #fff;
    background: rgba(255,255,255,.12);

    font-size: 15px;

    transition:
        background .2s ease,
        transform .2s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);

    background: rgba(255,255,255,.22);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .culture-section {
        padding: 45px 16px 60px;
    }

    .culture-hero {
        min-height: 220px;

        padding: 35px;
    }

    .culture-hero-icon {
        margin-right: 10px;

        width: 85px;
        height: 85px;

        font-size: 35px;
    }

    .culture-photo-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .culture-section {
        padding: 35px 11px 50px;
    }

    .culture-hero {
        min-height: 240px;

        padding: 27px 22px;

        border-radius: 18px;
    }

    .culture-hero-icon {
        position: absolute;

        right: 15px;
        bottom: 18px;

        width: 60px;
        height: 60px;

        margin: 0;

        border-radius: 17px;

        font-size: 25px;
    }

    .culture-hero-content {
        padding-right: 20px;
    }

    .culture-hero h1 {
        font-size: 34px;
    }

    .culture-hero p {
        max-width: 90%;

        font-size: 11px;
        line-height: 1.7;
    }

    .culture-info-card {
        gap: 12px;

        padding: 15px;

        border-radius: 14px;
    }

    .culture-info-icon {
        width: 42px;
        height: 42px;

        border-radius: 11px;

        font-size: 16px;
    }

    .culture-info-content h2 {
        font-size: 15px;
    }

    .culture-info-content p {
        font-size: 10px;
        line-height: 1.7;
    }

    .culture-section-heading {
        margin-top: 32px;
    }

    .culture-section-heading h2 {
        font-size: 26px;
    }

    .culture-block {
        border-radius: 14px;
    }

    .culture-block-header {
        padding: 13px;
    }

    .block-icon {
        width: 34px;
        height: 34px;

        font-size: 14px;
    }

    .block-title h3 {
        font-size: 12px;
    }

    .gallery-count {
        display: none;
    }

    .culture-photo-grid {
        grid-template-columns: 1fr;

        gap: 12px;

        padding: 12px;
    }

    .culture-photo-image {
        aspect-ratio: 16 / 10;
    }

    .culture-video-grid {
        grid-template-columns: 1fr;

        gap: 12px;

        padding: 12px;
    }

    .video-caption {
        padding: 11px 12px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;

        width: 38px;
        height: 38px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .culture-hero h1 {
        font-size: 29px;
    }

    .culture-hero {
        padding: 23px 17px;
    }

    .culture-info-card {
        align-items: flex-start;
    }

}