/* ===================================================
   DYORE EXPERIENCES - EVENTS PAGE STYLESHEET
   Dedicated scoped styles for events.html
   Connected Interactive Hero Banner + Carousel Layout
   =================================================== */

/* ==========================================
   1. MAIN CONTENT WRAPPER
   ========================================== */
.events-main-content {
    position: relative;
    width: 100%;
    background-color: var(--color-white, #ffffff);
    overflow: hidden;
}

/* ==========================================
   2. EVENTS DYNAMIC HERO BANNER
   ========================================== */
.events-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 90px;
    box-sizing: border-box;
    background-color: #151312;
}

.bar-feature-desc-inner * {
    text-align: left !important;
}

/* Dual Background Layers for Smooth Crossfading */
.events-hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.events-hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
    pointer-events: none;
}

.events-hero-bg-layer.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.events-hero-bg-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Dark Luxury Vignette Overlay for High Legibility */
.events-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg,
            rgba(15, 13, 12, 0.45) 0%,
            rgba(15, 13, 12, 0.25) 45%,
            rgba(15, 13, 12, 0.75) 100%);
}

/* Banner Center Content */
.events-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: #ffffff;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.events-hero-content.text-fade {
    opacity: 0;
    transform: translateY(8px);
}

.events-hero-title {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
    margin: 0;
}

.events-hero-desc {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.94);
    max-width: 780px;
    margin: 0;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.btn-hero-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 42px;
    background-color: #ebe4d8;
    color: #151312;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #ebe4d8;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    margin-top: 6px;
}

.btn-hero-book:hover {
    background-color: #151312;
    color: #ffffff;
    border-color: #151312;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   3. UPCOMING EVENTS CAROUSEL SECTION
   ========================================== */
.events-carousel-section {
    width: 100%;
    background-color: var(--color-white, #ffffff);
    padding: 85px 0 95px;
    overflow: hidden;
}

.events-carousel-container {
    width: 100%;
    max-width: var(--site-max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    box-sizing: border-box;
}

/* Left Info Column */
.events-info-col {
    flex: 0 0 310px;
    max-width: 310px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.events-emblem-wrap {
    width: 38px;
    height: 38px;
    margin-bottom: 2px;
}

.events-emblem-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.events-section-title {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-dark, #151312);
    margin: 0;
}

.events-section-desc {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 14px;
    font-weight: 300;
    line-height: 26px;
    color: #555555;
    margin: 0;
}

/* Slider Arrow Controls */
.events-nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.events-nav-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(21, 19, 18, 0.2);
    background: #ffffff;
    color: #151312;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
}

.events-nav-arrow:hover {
    background: #151312;
    color: #ffffff;
    border-color: #151312;
    transform: scale(1.06);
}

.events-nav-arrow:active {
    transform: scale(0.96);
}

/* Right Slider Column */
.events-slider-col {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.events-carousel-viewport {
    width: 100%;
    overflow: hidden;
    padding: 12px 4px 18px;
    cursor: grab;
    user-select: none;
}

.events-carousel-viewport:active {
    cursor: grabbing;
}

.events-carousel-track {
    display: flex;
    gap: 18px;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* ==========================================
   4. EVENT CARDS & POSTERS
   ========================================== */
.event-card {
    flex: 0 0 255px;
    width: 255px;
    height: 380px;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    background-color: #151312;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, outline-color 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

/* Active State for Selected Card */
.event-card.active {
    transform: translateY(-6px);
    /* box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28); */
    outline: 2.5px solid #151312;
    outline-offset: -2.5px;
}

.event-card-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.event-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.event-card:hover .event-card-img {
    transform: scale(1.06);
}

/* Card Bottom Gradient Banners */
.event-card-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 160px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 2;
    box-sizing: border-box;
    text-align: left;
}

.banner-gold {
    background: linear-gradient(180deg, rgba(245, 166, 35, 0) 0%, rgba(245, 166, 35, 0.94) 100%, #e69500 100%);
}

.banner-magenta {
    background: linear-gradient(180deg, rgba(233, 30, 99, 0) 0%, rgba(233, 30, 99, 0.94) 100%, #d81b60 100%);
}

.banner-orange {
    background: linear-gradient(180deg, rgba(255, 112, 67, 0) 0%, rgba(255, 112, 67, 0.94) 100%, #f4511e 100%);
}

.banner-red {
    background: linear-gradient(180deg, rgba(229, 9, 20, 0) 0%, rgba(229, 9, 20, 0.94) 100%, #b7060f 100%);
}

.banner-purple {
    background: linear-gradient(180deg, rgba(142, 36, 170, 0) 0%, rgba(142, 36, 170, 0.94) 100%, #6a1b9a 100%);
}

.banner-teal {
    background: linear-gradient(180deg, rgba(0, 150, 136, 0) 0%, rgba(0, 150, 136, 0.94) 100%, #00695c 100%);
}

.event-date {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 12.5px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.event-name {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.01em;
}

/* ==========================================
   5. ABOUT OUR EVENTS OVERLAY SECTION
   ========================================== */
.events-about-section {
    position: relative;
    width: 100%;
    background-color: var(--color-white, #ffffff);
    padding-bottom: 95px;
    box-sizing: border-box;
}

/* Full Width Top Banner */
.events-about-banner-wrap {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.events-about-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

/* Overlapping Centered White Container */
.events-about-container {
    width: 100%;
    max-width: var(--site-max-width, 1440px);
    margin: -190px auto 0;
    padding: 0 40px;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
}

.events-about-card {
    background-color: #ffffff;
    width: 100%;
    padding: 55px 70px 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    border-radius: 2px;
}

.events-about-emblem {
    width: 36px;
    height: auto;
    display: block;
    margin-bottom: 20px;
    object-fit: contain;
}

.events-about-title {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-dark, #151312);
    margin: 0 0 24px 0;
}

.events-about-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 960px;
    margin-bottom: 36px;
}

.events-about-paragraphs p {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.85;
    color: #4a4a4a;
    margin: 0;
    text-align: center;
}

/* 4 Pill Tag Badges */
.events-pill-tags-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1040px;
}

.event-pill-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ECC0CB;
    background-color: #ffffff;
    color: #97033C;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 2px;
    cursor: default;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.event-pill-tag:hover {
    background-color: #97033C;
    color: #ffffff;
    border-color: #97033C;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(151, 3, 60, 0.2);
}

/* ==========================================
   6. RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1200px) {
    .events-hero-title {
        font-size: 46px;
    }

    .events-carousel-container {
        gap: 32px;
    }

    .events-info-col {
        flex: 0 0 270px;
        max-width: 270px;
    }

    .events-section-title {
        font-size: 34px;
    }

    .event-card {
        flex: 0 0 235px;
        width: 235px;
        height: 355px;
    }

    .events-about-card {
        padding: 50px 50px 50px;
    }

    .events-about-title {
        font-size: 34px;
    }
}

@media (max-width: 991px) {
    .events-hero-section {
        min-height: 80vh;
        padding: 140px 20px 70px;
    }

    .events-hero-title {
        font-size: 40px;
    }

    .events-hero-desc {
        font-size: 15px;
    }

    .events-carousel-section {
        padding: 65px 0 75px;
    }

    .events-carousel-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding: 0 30px;
    }

    .events-info-col {
        flex: 0 0 100%;
        max-width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 100%;
    }

    .events-section-desc {
        max-width: 480px;
    }

    .events-slider-col {
        width: 100%;
    }

    .event-card {
        flex: 0 0 225px;
        width: 225px;
        height: 340px;
    }

    .events-about-section {
        padding-bottom: 75px;
    }

    .events-about-banner-wrap {
        height: 380px;
    }

    .events-about-container {
        margin: -140px auto 0;
        padding: 0 30px;
    }

    .events-about-card {
        padding: 42px 30px 45px;
    }

    .events-about-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .events-hero-section {
        min-height: 75vh;
        padding: 125px 20px 60px;
    }

    .events-hero-title {
        font-size: 32px;
    }

    .events-hero-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .btn-hero-book {
        padding: 12px 36px;
        font-size: 13px;
    }

    .events-carousel-container {
        padding: 0 20px;
    }

    .events-info-col {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .events-section-title {
        font-size: 30px;
    }

    .events-nav-controls {
        margin-top: 6px;
    }

    .event-card {
        flex: 0 0 210px;
        width: 210px;
        height: 320px;
    }

    .events-about-section {
        padding-bottom: 60px;
    }

    .events-about-banner-wrap {
        height: 300px;
    }

    .events-about-container {
        margin: -90px auto 0;
        padding: 0 20px;
    }

    .events-about-card {
        padding: 34px 20px 36px;
    }

    .events-about-title {
        font-size: 26px;
    }

    .events-about-paragraphs p {
        font-size: 13.5px;
        line-height: 1.75;
    }

    .events-pill-tags-wrap {
        gap: 10px;
    }

    .event-pill-tag {
        font-size: 11.5px;
        padding: 8px 18px;
    }
}

.events-carousel-section .events-section-title {
    padding: 0;
}

.events-carousel-section .events-section-desc {
     padding: 0;
}

@media (max-width: 480px) {
    .events-hero-section {
        min-height: 70vh;
        padding: 110px 16px 50px;
    }

    .events-hero-title {
        font-size: 26px;
    }

    .events-hero-desc {
        font-size: 13.5px;
    }

    .events-section-title {
        font-size: 26px;
    }

    .event-card {
        flex: 0 0 190px;
        width: 190px;
        height: 290px;
    }

    .event-name {
        font-size: 14px;
    }

    .event-date {
        font-size: 11.5px;
    }

    .events-about-banner-wrap {
        height: 240px;
    }

    .events-about-container {
        margin: -60px auto 0;
        padding: 0 16px;
    }

    .events-about-card {
        padding: 28px 16px 0px;
    }

    .events-about-title {
        font-size: 22px;
    }

    .event-pill-tag {
        font-size: 11px;
        padding: 7px 14px;
        width: 100%;
        text-align: center;
    }
}

/* ===================================================
   5. EVENINGS AT DYORE 3D FLIP CARD SECTION
   =================================================== */
.evenings-dyore-section {
    position: relative;
    width: 100%;
    background-color: var(--color-white, #ffffff);
    padding: 100px 0 60px;
    box-sizing: border-box;
}

.evenings-dyore-container {
    width: 100%;
    max-width: var(--site-max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Header Stack */
.evenings-dyore-header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.evenings-emblem {
    width: 37px;
    height: auto;
    display: block;
    margin-bottom: 16px;
}

.evenings-dyore-title {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #151312;
    margin: 0;
    text-align: center;
}

/* 6 Flip Cards Grid: 3 Columns x 2 Rows */
.evenings-dyore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* 3D Flip Card Container */
.evening-card {
    position: relative;
    width: 100%;
    aspect-ratio: 428 / 640;
    perspective: 1400px;
    background-color: transparent;
    cursor: pointer;
    box-sizing: border-box;
    outline: none;
}

/* Inner Flipper */
.evening-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Hover & Active / Toggled Flip State */
.evening-card:hover .evening-card-inner,
.evening-card:focus .evening-card-inner,
.evening-card.is-flipped .evening-card-inner {
    transform: rotateY(180deg);
}

/* Front & Back Faces */
.evening-card-front,
.evening-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    box-sizing: border-box;
}

/* Front Face: Image */
.evening-card-front {
    transform: rotateY(0deg);
    background-color: #f7f7f7;
}

.evening-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.evening-card:hover .evening-card-front img {
    transform: scale(1.02);
}

/* Back Face: Clean Luxury Typography Content */
.evening-card-back {
    transform: rotateY(180deg);
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d4d4d4 #f7f7f7;
}

.evening-card-back::-webkit-scrollbar {
    width: 4px;
}

.evening-card-back::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 2px;
}

.evening-card-back-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.evening-back-title {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 17.5px;
    font-weight: 600;
    text-transform: uppercase;
    color: #151312;
    line-height: 1.35;
    letter-spacing: 0.03em;
    margin: 0 0 14px;
}

.evening-back-intro {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.65;
    color: #333333;
    margin: 0 0 14px;
}

.evening-back-list-label {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 13px;
    font-weight: 500;
    color: #151312;
    margin: 0 0 8px;
    display: block;
}

.evening-back-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.evening-back-list li {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.5;
    color: #444444;
    position: relative;
    padding-left: 14px;
}

.evening-back-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #97033C;
    font-size: 14px;
    line-height: 1;
}

.evening-back-footer {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.6;
    color: #555555;
    margin: auto 0 0;
    padding-top: 10px;
}

/* ===================================================
   6. EVENTS GALLERY SECTION WITH FILTER TABS
   =================================================== */
.events-gallery-section {
    position: relative;
    width: 100%;
    background-color: var(--color-white, #ffffff);
    padding: 0 0 100px;
    box-sizing: border-box;
}

.events-gallery-container {
    width: 100%;
    max-width: var(--site-max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Header Stack */
.events-gallery-header {
    text-align: center;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.events-gallery-emblem {
    width: 37px;
    height: auto;
    display: block;
    margin-bottom: 16px;
}

.events-gallery-sub {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #151312;
    margin-bottom: 14px;
    display: block;
}

.events-gallery-title {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #151312;
    margin: 0 auto;
    max-width: 960px;
    text-align: center;
}

/* Filter Tabs - Left Aligned to Container Grid */
.events-gallery-tabs-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 34px;
    width: 100%;
}

.events-gallery-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.gallery-tab-btn {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 11px 48px;
    background: transparent;
    color: #666666;
    border: 1px solid #d4d4d4;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.gallery-tab-btn:hover {
    border-color: #151312;
    color: #151312;
}

.gallery-tab-btn.active {
    border-color: #97033C;
    color: #97033C;
    background-color: transparent;
}

/* 3-Column 15-Images Grid */
.events-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    align-items: start;
    box-sizing: border-box;
}

.events-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    width: 100%;
}

/* Gallery Item Base & Fixed Figma Aspect Ratios */
.gallery-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Tall Card (428px x 640px in Figma) */
.gallery-item.card-tall {
    aspect-ratio: 428 / 640;
    width: 100%;
}

/* Short Card (428px x 308px in Figma) */
.gallery-item.card-short {
    aspect-ratio: 428 / 308;
    width: 100%;
}

.gallery-item.is-hidden {
    display: none !important;
}

.gallery-item.item-fade-out {
    opacity: 0;
    transform: scale(0.96);
}

.gallery-item.item-fade-in {
    opacity: 1;
    transform: scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:not(.gallery-text-item):hover img {
    transform: scale(1.025);
}

/* Text PNG Image Item (Pure White background card) */
.gallery-text-item {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-text-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #ffffff;
}

/* ==========================================
   VIDEO GALLERY ITEM STYLING
   ========================================== */
.gallery-video-item {
    position: relative;
    cursor: pointer;
    background-color: #0d0c0b;
    overflow: hidden;
}

.gallery-video-item video,
.gallery-video-item .gallery-video-element {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-video-item:hover video,
.gallery-video-item:hover .gallery-video-element {
    transform: scale(1.03);
}

/* Video Badge (Top-right) */
.gallery-video-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(21, 19, 18, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #ffffff;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 3;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-video-badge svg {
    width: 9px;
    height: 9px;
    fill: #ffffff;
}

.gallery-video-item:hover .gallery-video-badge {
    background: #97033C;
    border-color: #97033C;
    box-shadow: 0 4px 12px rgba(151, 3, 60, 0.4);
}

/* Floating Play Button Overlay */
.gallery-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gallery-video-play-btn svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    margin-left: 3px;
    transition: transform 0.3s ease;
}

.gallery-video-item:hover .gallery-video-play-btn {
    background: #97033C;
    border-color: #97033C;
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 10px 28px rgba(151, 3, 60, 0.45);
}

.gallery-video-item.is-playing .gallery-video-play-btn {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none;
}

.gallery-video-item.is-playing:hover .gallery-video-play-btn {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1);
}

/* Responsive Media Queries for Evenings at Dyore & Events Gallery */
@media (max-width: 1024px) {
    .evenings-dyore-section {
        padding: 80px 0 50px;
    }

    .evenings-dyore-container {
        padding: 0 24px;
    }

    .evenings-dyore-title {
        font-size: 30px;
    }

    .evenings-dyore-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .evening-card {
        aspect-ratio: 428 / 600;
    }

    .evening-card-back {
        padding: 26px 20px;
    }

    .evening-back-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .evening-back-intro {
        font-size: 12.5px;
        line-height: 1.55;
        margin-bottom: 10px;
    }

    .evening-back-list {
        gap: 5px;
        margin-bottom: 10px;
    }

    .evening-back-list li {
        font-size: 12px;
        line-height: 1.45;
    }

    .evening-back-footer {
        font-size: 12px;
        line-height: 1.5;
    }

    .events-gallery-section {
        padding: 50px 0 80px;
    }

    .events-gallery-container {
        padding: 0 24px;
    }

    .events-gallery-title {
        font-size: 30px;
    }

    .events-gallery-header {
        margin-bottom: 36px;
    }

    .events-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .events-gallery-col {
        gap: 16px;
    }

    .events-gallery-col-3 {
        grid-column: span 2;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery-tab-btn {
        padding: 9px 36px;
        font-size: 12.5px;
    }
}

@media (max-width: 640px) {
    .evenings-dyore-section {
        padding: 40px 0 45px !important;
    }

    .evenings-dyore-container {
        padding: 0 16px;
    }

    .evenings-dyore-header {
        margin-bottom: 24px;
    }

    .evenings-dyore-title {
        font-size: 24px;
    }

    .evenings-dyore-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .evening-card {
        aspect-ratio: 428 / 560;
    }

    .evening-card-back {
        padding: 24px 18px;
    }

    .evening-back-title {
        font-size: 16px;
    }

    .evening-back-intro {
        font-size: 12.5px;
    }

    .evening-back-list li {
        font-size: 12px;
    }

    .evening-back-footer {
        font-size: 12px;
    }

    .events-gallery-section {
        padding: 40px 0 45px !important;
    }

    .events-gallery-container {
        padding: 0 16px;
    }

    .events-gallery-header {
        margin-bottom: 28px;
    }

    .events-gallery-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .events-gallery-tabs-wrap {
        margin-bottom: 24px;
    }

    .events-gallery-tabs {
        gap: 8px;
        width: 100%;
    }

    .gallery-tab-btn {
        flex: 1 1 calc(33.333% - 8px);
        padding: 8px 12px;
        font-size: 11.5px;
        text-align: center;
    }

    .events-gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .events-gallery-col-3 {
        grid-column: auto;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
}


/* extra css */

.testimonials-section {
    padding: 50px 0 !important;
}