/* ISMENIA Styles - The Oscar de la Renta Aesthetic */

:root {
    --color-bg: #FFFFFF;
    --color-text: #000000;
    --color-accent: #C41E3A; /* Vibrant Cardinal Red */
    --color-light-gray: #F5F5F5;
    
    --font-heading: 'Instrument Serif', serif;
    --font-body: 'DM Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 150px;
    opacity: 0; /* Will be animated in JS */
}

/* Typography */
h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: normal;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-body {
    font-size: 1.1rem;
    color: #444;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 0;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 74px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: var(--color-bg);
    color: var(--color-text);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 2rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 0;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-outline {
    border: 1px solid currentColor;
    background: transparent;
    color: currentColor;
}

.btn-outline:hover {
    background: currentColor;
    color: var(--color-bg);
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: white;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video,
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Hide default mobile play button - aggressive */
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-panel,
video::-webkit-media-controls,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-enclosure {
    display: none !important;
    -webkit-appearance: none;
    opacity: 0 !important;
    pointer-events: none !important;
}

*::-webkit-media-controls-start-playback-button,
*::-webkit-media-controls-play-button,
*::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none;
    opacity: 0 !important;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    transition: opacity 1.5s ease;
}

.video-overlay.faded {
    opacity: 0;
}

/* Hero Content Cinematic Reveal — hidden during video, fades in when paused */
.hero-content {
    text-align: center;
    color: white;
    z-index: 3;
    padding: 0 1rem;
    opacity: 0;
    transform: scale(0.9) translateY(15px);
    transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.hero-content.revealed .hero-title {
    opacity: 1;
}

.hero-content.revealed .hero-subtitle {
    opacity: 1;
    transition-delay: 0.3s;
}

.hero-content.revealed .btn {
    opacity: 1;
    transition-delay: 0.6s;
}

.hero-content .hero-title,
.hero-content .hero-subtitle,
.hero-content .btn {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.placeholder-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=2070&auto=format&fit=crop') center/cover;
}




.hero-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.5);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: white;
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Philosophy Section */
.philosophy {
    background-image: url('../assets/so-white.png');
    background-repeat: repeat;
}

/* Image Placeholders */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 600px;
    background-color: var(--color-light-gray);
    background-image: url('https://images.unsplash.com/photo-1539109136881-3be0616acf4b?q=80&w=1974&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.img-placeholder.tall {
    min-height: 800px;
}

/* Masonry Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Collection Carousel Layout */
.collection-carousel {
    position: relative;
    width: 100%;
}

.collection-group {
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    top: 0;
    left: 0;
}

.collection-group.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    position: relative;
}

/* Carousel Navigation (Dots) */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--color-text);
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dot.active {
    background-color: var(--color-text);
    transform: scale(1.2);
}

/* Side Carousel Arrow Buttons (Red & Always Visible) */
.carousel-btn-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9); /* slight background so they are readable on top of white/images */
    border: 2px solid #e03131; /* Beautiful red border */
    color: #e03131; /* Red arrow */
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.carousel-btn-side:hover {
    background-color: #e03131;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(224, 49, 49, 0.3);
}

.carousel-btn-side.prev {
    left: -70px;
}

.carousel-btn-side.next {
    right: -70px;
}

@media (max-width: 1200px) {
    .carousel-btn-side.prev {
        left: 10px;
    }
    .carousel-btn-side.next {
        right: 10px;
    }
    .carousel-btn-side {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

.carousel-dot.active {
    background-color: var(--color-text);
    transform: scale(1.2);
}


.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.img-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 600px;
}

.img-carousel.tall {
    min-height: 800px;
}

.img-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    transform: scale(1);
}

.img-layer.active {
    opacity: 1;
    animation: kenBurns 15s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.masonry-item:hover .img-carousel {
    transform: scale(1.05);
}

.img-carousel {
    transition: transform 0.8s ease;
}

/* Curtain Overlay Effect - Elegant Semitransparent Dark Tint (Always visible to keep images darkened and titles readable) */
.curtain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 12, 12, 0.45); /* Subtle dark overlay to elegant-darken the images */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 1; /* Always visible */
    transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    pointer-events: none; /* Let click pass through to masonry-item */
}

.curtain-content {
    opacity: 1; /* Always visible */
    transform: translateY(0); /* Always centered */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    width: 100%;
}

.curtain-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.curtain-hint {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
    margin-top: 8px;
    color: white;
    transition: color 0.4s ease, opacity 0.4s ease;
}

.masonry-item {
    cursor: pointer;
}

.masonry-item:hover .curtain-overlay {
    background-color: rgba(8, 8, 8, 0.65); /* Darkens slightly more on hover to emphasize focus */
}

.masonry-item:hover .curtain-content {
    transform: scale(1.02); /* Slight premium scale up of the title text on hover */
}

.masonry-item:hover .curtain-hint {
    color: var(--color-accent); /* Golden accent on hover for the CTA link text */
    opacity: 1;
}

.masonry-item:hover .img-placeholder {
    transform: scale(1.05);
}

/* Mobile Expand Wrapper for desktop */
.mobile-expand-wrapper {
    display: none;
}

/* Waitlist Form */
.waitlist {
    background-image: url('../assets/so-white.png');
    background-repeat: repeat;
}

.waitlist-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
    text-align: left;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1rem;
    color: #666;
    transition: var(--transition-smooth);
    pointer-events: none;
    text-transform: none;
    letter-spacing: normal;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    padding-top: 1.5rem;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group input:not(:placeholder-shown) {
    outline: none;
    border-bottom-color: var(--color-text);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0;
    font-size: 0.8rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.waitlist-success {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.8s ease;
}

.waitlist-success h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
    padding: 3rem 5%;
    border-top: 1px solid #eee;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-copy {
    font-size: 0.9rem;
    color: #666;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 99;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 75px;
    background-color: black;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    transform: translateX(10px);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* GSAP Initial States */
.gsap-reveal, .gsap-slide-up, .gsap-fade-in {
    opacity: 0;
}

.gsap-image-reveal {
    clip-path: inset(100% 0 0 0);
}

/* ----------------------------------
   Responsive Design / Mobile
------------------------------------- */
@media (max-width: 768px) {
    /* Header General Mobile */
    .header {
        padding: 0.5rem 4%;
        height: 60px;
    }

    .logo-img {
        height: 34px;
    }

    .nav-cta {
        padding: 6px 14px;
        font-size: 0.72rem;
        letter-spacing: 0.5px;
        white-space: nowrap;
        border-radius: 20px;
    }

    /* Hero Section */
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* Typography globally */
    .section-title {
        font-size: 2.5rem;
    }

    /* Layout Grids */
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Philosophy Section */
    .philosophy-text {
        padding: 2rem 0;
    }
    
    .philosophy-vid {
        min-height: 400px !important;
    }

    /* Carousel / Masonry */
    .collection-carousel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        height: auto !important;
        padding: 0 10px;
    }

    .collection-group {
        display: contents !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        position: static !important;
    }

    .masonry-grid {
        display: contents !important;
        margin-top: 0 !important;
        gap: 0 !important;
    }

    .masonry-item {
        display: block !important;
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        min-height: auto !important;
        height: auto !important;
    }

    .img-carousel, .img-carousel.tall {
        width: 100% !important;
        height: 100% !important;
        min-height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }

    /* Hide desktop controls on mobile */
    .carousel-btn-side, .carousel-nav {
        display: none !important;
    }

    .curtain-overlay {
        background-color: rgba(12, 12, 12, 0.5) !important;
        padding: 0.75rem !important;
    }
    
    .curtain-content h3 {
        font-size: 1.05rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.25rem !important;
    }
    
    .curtain-hint {
        font-size: 0.6rem !important;
        letter-spacing: 1px !important;
        margin-top: 4px !important;
    }

    /* Mobile Expand Button & Hiding */
    .mobile-expand-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        width: 100%;
    }

    .mobile-expand-wrapper.hidden {
        display: none !important;
    }

    .mobile-hide {
        display: none !important;
    }

    /* Waitlist Form */
    .waitlist-card {
        padding: 2rem 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }
    
    .waitlist-success h3 {
        font-size: 2rem;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-logo {
        justify-content: center;
    }

    /* Hide Tooltips on Touch Devices */
    .whatsapp-float .tooltip {
        display: none;
    }
}

/* ==========================================================================
   Collections Detail Page & Gallery Styles
   ========================================================================== */

.collection-detail-page {
    background-color: var(--color-bg);
}

.collection-nav-header {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    padding: 8px 18px;
    border-radius: 30px;
    background-color: rgba(196, 30, 58, 0.06);
    border: 1px solid rgba(196, 30, 58, 0.2);
}

.btn-back svg {
    transition: transform 0.3s ease;
}

.btn-back:hover {
    color: #8B0000;
    background-color: rgba(196, 30, 58, 0.12);
    border-color: rgba(196, 30, 58, 0.4);
    box-shadow: 0 2px 10px rgba(196, 30, 58, 0.15);
}

.btn-back:hover svg {
    transform: translateX(-4px);
}

/* Collection Intro */
.collection-intro {
    padding: 105px 0 25px;
    background-color: var(--color-bg);
}

.collection-year-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}

.collection-detail-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 300;
}

.collection-detail-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.75);
    max-width: 750px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .collection-nav-header {
        padding: 0.4rem 10px !important;
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
    }

    .collection-nav-header .btn-back {
        padding: 6px 12px;
        font-size: 0.7rem;
        letter-spacing: 0.8px;
        gap: 4px;
        flex-shrink: 0;
    }

    .collection-nav-header .btn-back svg {
        width: 14px;
        height: 14px;
    }

    .collection-nav-header .logo {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
        padding: 0 4px;
    }

    .collection-nav-header .logo-img {
        height: 36px;
        max-height: 38px;
        max-width: 125px;
        object-fit: contain;
    }

    .collection-nav-header .nav-cta {
        padding: 6px 11px !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        flex-shrink: 0;
        border-radius: 20px;
        border: 1px solid var(--color-accent) !important;
        color: var(--color-accent) !important;
        background: transparent !important;
    }

    .collection-intro {
        padding: 80px 0 15px;
    }
    
    .collection-detail-title {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    
    .collection-detail-desc {
        font-size: 0.95rem;
        padding: 0 15px;
    }
}

/* Gallery Section & Pinterest Masonry Grid */
.collection-gallery-section {
    padding: 15px 0 80px;
    background-color: var(--color-bg);
}

.gallery-grid {
    column-count: 3;
    column-gap: 24px;
    width: 100%;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    background-color: #1a1a1a;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.gallery-item-zoom {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-item-zoom {
    transform: scale(1);
    background-color: rgba(212, 175, 55, 0.25);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

@media (max-width: 992px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 20px;
    }
    .gallery-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        column-count: 1;
        column-gap: 0;
    }
    .gallery-item {
        margin-bottom: 16px;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Lightbox Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 1010;
}

.lightbox-close {
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        background-color: rgba(0, 0, 0, 0.5);
        bottom: 20px;
        top: auto;
        transform: none;
    }
    
    .lightbox-prev {
        left: 20px;
    }
    
    .lightbox-next {
        right: 20px;
    }
    
    .lightbox-prev:hover,
    .lightbox-next:hover {
        transform: none;
    }
    
    .lightbox-counter {
        bottom: 32px;
    }
}

/* Footer Waitlist modifier */
.waitlist-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 100px 0;
}

