/* --- 1. FONTS & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Inter:wght@300;400;500&display=swap');

:root {
    --color-gold: #C5A059;
    --color-text: #2C2C2C;
    --color-bg: #FAFAFA;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
}

/* --- 2. GLOBAL RESET --- */
* {
    margin:0px;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg);
    font-family: var(--font-sans);
    color: var(--color-text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* --- 3. NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(250, 250, 250, 0.95);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: 50px;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Menu Links Styling */
.nav-links a {
    margin: 0 20px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-gold);
}

/* Icon Area Styling */
.nav-icons {
    display: flex;
    align-items: center; /* Ensures text and icons line up */
}

.nav-icons a {
    margin-left: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* NEW: User Icon Specifics */
.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-link svg {
    transition: stroke 0.3s ease;
}

.icon-link:hover svg {
    stroke: var(--color-gold); /* Turns gold on hover */
}




/* --- 5. HERO SECTION (Parallax) --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg);
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    will-change: transform;
}

/* Layer 1: Background */
.layer-bg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.layer-bg img {
    width: 100%;
    height: 110%;
    object-fit: cover;
}

/* Cinematic Fade Overlay */
.layer-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background: linear-gradient(to right, 
        rgba(250, 250, 250, 0.95) 0%, 
        rgba(250, 250, 250, 0.7) 35%, 
        rgba(250, 250, 250, 0) 100%);
    z-index: 1;
}

/* Layer 2: Floating Element */
.layer-mid {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5%;
    z-index: 2;
}

.layer-mid img {
    width: 35vw;
    opacity: 0.85;
    transform: rotate(-10deg);
}

/* Layer 3: Text Content */
.layer-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    z-index: 3;
    pointer-events: auto;
}

/* Text Styling */
.hero-text h5 {
    font-family: var(--font-sans);
    color: #222;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.sub-headline {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #070606; 
    max-width: 500px;
    margin-bottom: 2.5rem;
    font-weight: 500;
    line-height: 1.6;
}

.btn-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-explore {
    padding: 15px 40px;
    background-color: var(--color-text);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: background 0.3s ease;
}

.btn-explore:hover {
    background-color: var(--color-gold);
}

.btn-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
}

/* --- 6. FEATURED COLLECTIONS --- */
.collection-section {
    overflow: hidden;
    background-color: var(--color-bg);
    padding: 150px 0;
    position: relative;
    z-index: 10;
}

.section-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-header h6 {
    font-family: var(--font-sans);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-size: 0.8rem;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-text);
}

.collection-grid {
    display: flex;
    flex-direction: column;
    gap: 150px;
}

.collection-card {
    display: flex;
    align-items: center;
    gap: 80px;
}

.collection-card.card-reversed {
    flex-direction: row-reverse;
}

/* Updated Image Container */
.card-image {
    flex: 1;
    height: 550px;
    overflow: hidden;
    position: relative;
    box-shadow: 20px 30px 60px rgba(0,0,0,0.08);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-card:hover .card-image img {
    transform: scale(1.08);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card-text {
    flex: 1;
}

.card-text h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 400px;
}

.text-link {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.text-link:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* --- 7. PRODUCT CAROUSEL --- */
.carousel-section {
    padding: 100px 0;
    background-color: #F5F1ED;
    overflow: hidden;
}

.carousel-header {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto 60px auto;
}

.carousel-header h6 {
    font-family: var(--font-sans);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.carousel-header h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-text);
}

.carousel-container {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 5vw 80px 5vw;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar { 
    display: none;
}

.product-card {
    min-width: 300px;
    width: 300px;
    scroll-snap-align: start;
    background: transparent;
    position: relative;
}

.product-image {
    height: 380px;
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 10px 15px 30px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image {
    transform: translateY(-15px);
    box-shadow: 20px 30px 50px rgba(0,0,0,0.15);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--color-text);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    border-radius: 4px;
}

.product-info {
    padding: 0 10px;
    text-align: center;
}

.product-info h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.price {
    font-family: var(--font-sans);
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.btn-shop {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #2c2c2c;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--color-text);
}

.product-card:hover .btn-shop {
    background-color: var(--color-text);
    color: #fff;
}

/* SHAPE LIBRARY */
/* Collection Shapes */
.shape-1 { border-radius: 40px 240px 40px 180px; }
.shape-2 { border-radius: 240px 40px 180px 40px; }
.collection-card:hover .shape-1 { border-radius: 60px 220px 60px 160px; transform: translateY(-10px); }
.collection-card:hover .shape-2 { border-radius: 220px 60px 160px 60px; transform: translateY(-10px); }

/* Carousel Shapes */
.shape-3 { border-radius: 160px 20px 160px 20px; }
.product-card:hover .shape-3 { border-radius: 140px 40px 140px 40px; }
.shape-4 { border-radius: 200px 200px 20px 20px; }
.product-card:hover .shape-4 { border-radius: 180px 180px 40px 40px; }
.shape-5 { border-radius: 20px 160px 160px 160px; }
.product-card:hover .shape-5 { border-radius: 40px 150px 150px 150px; }
.shape-6 { border-radius: 90px 140px 80px 150px; }
.product-card:hover .shape-6 { border-radius: 110px 120px 100px 130px; }
.shape-7 { border-radius: 120px 30px 120px 30px; }
.product-card:hover .shape-7 { border-radius: 100px 50px 100px 50px; }
.shape-8 { border-radius: 30px 120px 30px 120px; }
.product-card:hover .shape-8 { border-radius: 50px 100px 50px 100px; }
.shape-9 { border-radius: 40px 40px 200px 200px; }
.product-card:hover .shape-9 { border-radius: 60px 60px 160px 160px; }
.shape-10 { border-radius: 180px 40px 180px 40px; }
.product-card:hover .shape-10 { border-radius: 150px 60px 150px 60px; }


/* ========================================= */
/* --- 8. MOBILE RESPONSIVENESS (FINAL) --- */
/* ========================================= */

@media (max-width: 768px) {
    
    /* --- Nav Changes --- */
    .navbar {
        padding: 15px 0;
    }
    
    .nav-container {
        flex-wrap: wrap; 
        gap: 15px;
        justify-content: center;
    }
    
    .logo {
        width: 100%;
        justify-content: center; 
        margin-bottom: 5px;
    }
    
    .nav-icons {
        order: 2; /* Put icons below menu on really small screens if needed, or keep alongside */
        margin-top: 10px;
    }

    /* Make menu horizontally scrollable like an app */
    .nav-links {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 15px;
        padding-bottom: 5px;
        overflow-x: auto; 
        margin: 0;
        white-space: nowrap; /* Prevents wrapping */
    }
    
    .nav-links a {
        margin: 0 5px;
        font-size: 0.75rem; 
    }

    /* --- Hero Changes --- */
    .hero-section {
        height: 100vh;
        align-items: flex-end; 
        padding-bottom: 100px;
    }

    .layer-content {
        padding-left: 5%;
        padding-right: 5%;
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 3rem; 
        line-height: 1.1;
    }

    .sub-headline {
        margin: 0 auto 30px auto; 
        font-size: 1rem;
    }

    .btn-group {
        justify-content: center; 
    }

    /* Hide the floating thread on mobile */
    .layer-mid {
        opacity: 0.5;
        top: -100px; 
        transform: scale(0.6);
    }
    
    .layer-bg::after {
        background: linear-gradient(to top, 
            rgba(250, 250, 250, 0.98) 10%, 
            rgba(250, 250, 250, 0.6) 50%, 
            rgba(250, 250, 250, 0) 100%);
    }

    /* --- Collection Changes --- */
    .collection-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }

    .collection-grid {
        gap: 80px;
    }

    .collection-card {
        flex-direction: column-reverse !important; 
        gap: 30px;
        text-align: center;
    }

    .collection-card.card-reversed {
        flex-direction: column-reverse !important; 
    }

    .card-text p {
        margin: 0 auto 30px auto; 
    }

    .card-image {
        width: 100%;
        height: 350px; 
    }

    /* --- Carousel Changes --- */
    .carousel-header {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .carousel-header h2 {
        font-size: 2.2rem;
    }
    
    .carousel-container {
        padding: 10px 20px 50px 20px;
    }
    
    .product-card {
        min-width: 260px; 
        width: 260px;
    }
    
    .product-image {
        height: 320px;
    }
}


/* ========================================= */
/* --- 9. SEARCH OVERLAY (NEW) --- */
/* ========================================= */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98); /* Solid white with tiny transparency */
    z-index: 2000; /* Sit on top of everything */
    
    /* Hidden State */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    
    /* Layout */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Active State (Shown via JS) */
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close Button */
.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    transition: transform 0.3s ease, color 0.3s ease;
}

.search-close:hover {
    transform: rotate(90deg); /* Spin effect */
    color: var(--color-gold);
}

/* Search Input Container */
.search-container {
    width: 80%;
    max-width: 800px;
    text-align: center;
}

.search-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ddd;
    font-family: var(--font-serif);
    font-size: 3rem; /* Huge luxury text */
    color: var(--color-text);
    padding: 20px 0;
    background: transparent;
    outline: none;
    text-align: center;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-bottom-color: var(--color-gold);
}

.search-input::placeholder {
    color: #ccc;
    font-family: var(--font-sans);
    font-weight: 300;
}

/* Submit Button (Arrow) */
.search-btn-submit {
    position: absolute;
    right: 0;
    bottom: 30px; /* Aligns with input line */
    background: none;
    border: none;
    cursor: pointer;
    display: none; /* Hidden by default, or you can style it nicely */
}

.search-note {
    margin-top: 20px;
    font-family: var(--font-sans);
    color: #999;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s; /* Delay appearance */
}

/* Animate the note when active */
.search-overlay.active .search-note {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================= */
/* --- 10. STICKY NARRATIVE SECTION --- */
/* ========================================= */

.narrative-section {
    padding: 150px 0;
    background-color: #FFFFFF;
    position: relative;
}

/* Update this rule in your CSS */
.narrative-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    /* REMOVED: align-items: flex-start; */
    /* ADDED: This ensures both sides are equal height, so sticky works all the way down */
    align-items: stretch; 
}

/* LEFT SIDE: The Sticky Text */
.narrative-content {
    width: 40%;
    /* This makes the container tall enough for the images to scroll against */
    min-height: 100vh; 
}

.sticky-wrapper {
    position: sticky;
    top: 150px; /* Stops 150px from the top of the screen */
    padding-right: 50px;
}

.narrative-content h6 {
    font-family: var(--font-sans);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.narrative-content h2 {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--color-text);
}

.narrative-content p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- Founder's Quote Styling --- */
.founder-quote {
    margin-top: 80px; /* Pushes it down into the empty space */
    padding-left: 30px; /* Indent */
    border-left: 3px solid var(--color-gold); /* Gold accent line */
}

.founder-quote blockquote {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 20px;
}

.quote-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--color-text);
}

.author-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: #888;
    margin-top: 5px;
}

/* RIGHT SIDE: The Scrolling Images (Gallery Layout) */
.narrative-visuals {
    width: 50%;
    /* We switch to Grid to handle the side-by-side layout */
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 30px; /* Space between images */
    padding-bottom: 100px;
}

/* Common visual item styles */
.visual-item {
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 20px 30px 50px rgba(0,0,0,0.12);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- IMAGE 1: THE HERO (Full Width) --- */
.visual-item:nth-child(1) {
    grid-column: span 2; /* Spans across both columns */
    height: 480px;
    border-radius: 20px 180px 20px 180px; /* Original Shape */
    margin-bottom: 20px;
}

/* --- IMAGE 2: LEFT COLUMN --- */
.visual-item:nth-child(2) {
    grid-column: span 1; /* Takes 1 column */
    height: 400px; /* Slightly taller vertical portrait */
    border-radius: 120px 20px 20px 20px; /* Arch shape */
    margin-top: 0 !important;
}

/* --- IMAGE 3: RIGHT COLUMN (Beside Image 2) --- */
.visual-item:nth-child(3) {
    grid-column: span 1; /* Takes 1 column */
    height: 400px;
    border-radius: 20px 20px 120px 20px; /* Inverse Arch */
    /* ULTRA-PRO MOVE: Push this image down 60px to stagger it */
    margin-top: 60px !important; 
}


/* Hover Effects */
.visual-item:hover {
    transform: translateY(-10px);
    box-shadow: 30px 40px 70px rgba(0,0,0,0.18);
    z-index: 2; /* Ensures it pops over neighbors if they overlap */
}

.visual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.8s ease;
    filter: grayscale(30%) contrast(110%);
}

.visual-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) contrast(100%);
}

/* --- MOBILE RESPONSIVENESS (Stack them back up) --- */
@media (max-width: 768px) {
    .narrative-container {
        flex-direction: column;
    }
    
    .narrative-content, .narrative-visuals {
        width: 100%;
    }
    
    .sticky-wrapper {
        position: relative;
        top: 0;
        padding-right: 0;
        margin-bottom: 60px;
        text-align: center;
    }

    /* Reset Grid for Mobile to Single Column */
    .narrative-visuals {
        width: 100%;
        display: flex; /* Back to flex stack */
        flex-direction: column;
        gap: 60px;
    }

    .visual-item {
        height: 350px !important;
        grid-column: auto !important; /* Reset grid positioning */
        margin-top: 0 !important; /* Reset the stagger effect */
        /* Simplify shapes for mobile */
        border-radius: 40px 120px 40px 120px !important; 
    }
    
    .visual-item:nth-child(even) {
        border-radius: 120px 40px 120px 40px !important;
    }
    
    .narrative-content h2 {
        font-size: 2.5rem;
    }
}


/* ========================================= */
/* --- 11. HIGHLIGHT SECTION (Pattern Card) --- */
/* ========================================= */

.highlight-section {
    padding: 120px 0;
    background-color: #F9F9F9; /* Very light grey background to make white card pop */
    display: flex;
    justify-content: center;
}

/* The White Card Container */
.pattern-card {
    background-color: #FFFFFF;
    width: 90%;
    max-width: 1200px;
    position: relative;
    padding: 20px; /* Space for the stitch border */
    
    /* THE UNIQUE SHAPE: Cutting the corners (Top-Right & Bottom-Left) */
    clip-path: polygon(
        0 0,              /* Top Left */
        85% 0,            /* Top Edge (start cut) */
        100% 15%,         /* Right Edge (end cut) */
        100% 100%,        /* Bottom Right */
        15% 100%,         /* Bottom Edge (start cut) */
        0 85%             /* Left Edge (end cut) */
    );
    
    /* Shadow filter (Works differently with clip-path, usually requires a parent filter, 
       but for simplicity we keep it flat or use a wrapper if shadow is critical. 
       For now, the sharp shape is the hero.) */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.05));
}

/* The "Stitched" Border Effect */
.pattern-border {
    border: 2px dashed var(--color-gold); /* The Stitch */
    padding: 60px;
    height: 100%;
    
    /* Match the clip path shape but slightly smaller? 
       Actually, standard border works great inside the clipped parent. */
    clip-path: polygon(
        0 0, 
        85% 0, 
        100% 15%, 
        100% 100%, 
        15% 100%, 
        0 85%
    );
}

.pattern-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Left Side: Text */
.pattern-text {
    flex: 1;
}

.pattern-text h6 {
    font-family: var(--font-sans);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.pattern-text h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--color-text);
}

.pattern-text p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li span {
    color: var(--color-gold);
    font-size: 1.5rem;
    line-height: 0;
}

/* Right Side: Image */
.pattern-image {
    flex: 1;
    height: 450px;
    overflow: hidden;
    position: relative;
    border-radius: 4px; /* Slight soft edge */
}

.pattern-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pattern-card:hover .pattern-image img {
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .highlight-section {
        padding: 60px 0;
    }
    
    .pattern-card {
        padding: 10px;
        /* Simplify shape on mobile to just rounded if preferred, or keep it */
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); /* Reset to square on mobile for space */
    }
    
    .pattern-border {
        padding: 30px 20px;
        border: 1px dashed var(--color-gold);
        clip-path: none;
    }
    
    .pattern-content {
        flex-direction: column-reverse; /* Image on top, Text bottom */
        gap: 40px;
    }
    
    .pattern-image {
        height: 250px;
        width: 100%;
    }
    
    .pattern-text h2 {
        font-size: 2.2rem;
    }
}

/* ========================================= */
/* --- 12. PARALLAX VIDEO GALLERY --- */
/* ========================================= */

.video-section {
    padding: 120px 0;
    background-color: #FFFFFF;
}

.video-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.video-header {
    text-align: center;
    margin-bottom: 80px;
}

.video-header h6 {
    font-family: var(--font-sans);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.video-header h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.video-header p {
    font-family: var(--font-sans);
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

/* The Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px; /* Wider gap for elegance */
    margin-bottom: 80px;
}

/* Individual Card */
.video-card {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* --- VIDEO WRAPPER & PARALLAX --- */
.video-wrapper {
    width: 100%;
    height: 400px; /* Fixed height for consistency */
    position: relative;
    overflow: hidden; /* Clips the parallax image */
    background-color: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

/* SHAPES: Video-Safe (Designed to keep center visible) */
.video-shape-1 { border-radius: 20px 100px 20px 100px; }
.video-shape-2 { border-radius: 100px 20px 100px 20px; }
.video-shape-3 { border-radius: 20px 20px 100px 20px; }
.video-shape-4 { border-radius: 20px 20px 20px 100px; }

/* The Parallax Thumbnail Image */
.video-wrapper .parallax-img {
    width: 100%;
    height: 120%; /* Taller than container for movement */
    object-fit: cover;
    position: absolute;
    top: -10%;
    left: 0;
    opacity: 0.8; /* Slight dim to make play button pop */
    transition: transform 0.1s ease-out, opacity 0.4s ease;
}

.video-wrapper:hover .parallax-img {
    opacity: 0.6; /* Darkens on hover */
    transform: scale(1.05); /* Gentle zoom */
}

/* --- PLAY BUTTON OVERLAY --- */
.play-btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none; /* Let clicks pass to wrapper */
}

.play-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.play-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
    margin-left: 5px; /* Visual centering adjustment */
}

.video-wrapper:hover .play-icon {
    background-color: #fff;
    transform: scale(1.1);
}

.video-wrapper:hover .play-icon svg {
    color: var(--color-text); /* Icon turns dark on hover */
}

/* --- TEXT INFO --- */
.video-info h4 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.video-info p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #888;
}

.video-footer {
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .video-wrapper {
        height: 250px; /* Smaller on mobile */
    }
}

/* ========================================= */
/* --- 13. PARALLAX COLLAGE GALLERY --- */
/* ========================================= */

.gallery-section {
    padding: 100px 0 150px 0;
    background-color: #FAFAFA;
    overflow: hidden; /* Contains the parallax movement */
}

.gallery-header {
    text-align: center;
    margin-bottom: 80px;
}

.gallery-header h6 {
    font-family: var(--font-sans);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.gallery-header h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-text);
}

.gallery-header p {
    font-family: var(--font-sans);
    color: #888;
    margin-top: 10px;
}

/* The Masonry Layout */
.masonry-grid {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    column-count: 3; 
    column-gap: 50px; /* INCREASED: slightly wider horizontal breathing room */
}

/* The Shape Container */
.masonry-item {
    break-inside: avoid;
    
    /* CRITICAL UPDATE: Increased from 40px to 90px */
    /* This creates the "Safety Zone" for floating elements */
    margin-bottom: 90px; 
    
    position: relative;
    height: 450px; 
    overflow: hidden; 
    cursor: pointer;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
    
    /* Performance Fix: Tells browser to expect movement */
    will-change: transform;
}

/* The Parallax Image inside */
.parallax-img {
    width: 100%;
    /* Making image taller than container so it has room to move */
    height: 130%; 
    object-fit: cover;
    position: absolute;
    top: -15%; /* Center it vertically initially */
    left: 0;
    /* JS will handle the translateY transform */
    transition: transform 0.1s ease-out; /* Quick smoothing for JS movement */
    will-change: transform;
}

/* --- UNIQUE GALLERY SHAPES --- */
/* Using clip-path for sharp, modern cuts and border-radius for soft blobs */

/* Shape 1: Organic Blob */
.gal-shape-1 {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Shape 2: Arch Window */
.gal-shape-2 {
     border-radius: 200px 200px 20px 20px;
}

/* Shape 3: Architectural Polygon Cut */
.gal-shape-3 {
    clip-path: polygon(10% 0, 100% 0%, 90% 100%, 0% 100%);
}

/* Shape 4: Soft Pebble */
.gal-shape-4 {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}


/* Hover Overlay & Interactions */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.3); /* Subtle dark tint */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    /* Ensure overlay matches the parent shape */
    border-radius: inherit; 
}

.overlay span {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.5); /* Dark box for readability */
    padding: 15px 25px;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.masonry-item:hover .overlay {
    opacity: 1;
}

.masonry-item:hover .overlay span {
    transform: translateY(0);
}

.masonry-item:hover {
    /* Gentle lift on hover */
    transform: translateY(-10px); 
}


/* Footer Link */
.gallery-footer {
    text-align: center;
    margin-top: 80px;
}

.insta-link {
    display: inline-block;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--color-text);
}

.insta-link:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        column-count: 1;
    }
    .masonry-item {
        height: 350px; /* Shorter items on mobile */
    }
}

/* ========================================= */
/* --- 14. SIDE DRAWER MENU --- */
/* ========================================= */

/* Navbar Update: Flex Grouping */
.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hamburger Button */
.menu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.menu-trigger:hover {
    color: var(--color-gold);
}

/* The Backdrop (Dims the site) */
/* The Backdrop (Dims the site) */
/* RENAMED from .drawer-backdrop to .drawer-overlay to match your HTML */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1001; /* Behind drawer, above navbar */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
    pointer-events: none; /* Prevents blocking clicks when hidden */
    z-index: 1000;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Allows clicking to close */
}

/* The Sliding Drawer */
.side-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 350px; /* Width of the menu */
    height: 100vh;
    background: #FFFFFF;
    z-index: 1002; /* Topmost */
    transform: translateX(-100%); /* Hidden to the left */
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    z-index: 1001;
}

.side-drawer.active {
    transform: translateX(0); /* Slide in */
}

/* Drawer Header */
.drawer-header {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.drawer-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold);
}

.drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.drawer-close:hover {
    transform: rotate(90deg);
}

/* Drawer Content */
.drawer-content {
    flex: 1;
    overflow-y: auto; /* Scrollable if list is long */
    padding: 30px;
}

.drawer-group {
    margin-bottom: 40px;
}

.drawer-group h4 {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 15px;
}

.drawer-group a {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 10px;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 1002;
}

.drawer-group a:hover {
    color: var(--color-gold);
    transform: translateX(10px); /* Slide right on hover */
}

/* Drawer Footer */
.drawer-footer {
    padding: 30px;
    background-color: #FAFAFA;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*==================================================================================================================*/


/* ========================================= */
/* --- 15. GRAND FOOTER --- */
/* ========================================= */

.footer-section {
    width: 100%;
}

/* --- Newsletter Top Section --- */
.footer-newsletter {
    background-color: #F5F1ED; /* Matches Carousel BG for consistency */
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.newsletter-content p {
    font-family: var(--font-sans);
    color: #666;
    margin-bottom: 40px;
}

/* Luxury Minimal Input Form */
.newsletter-form {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #999;
    padding-bottom: 10px;
    width: 80%;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
}

.newsletter-form button {
    background: transparent;
    border: none;
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.newsletter-form button:hover {
    color: var(--color-gold);
}


/* --- Main Dark Footer --- */
.footer-main {
    background-color: #111111; /* Deepest Charcoal */
    color: #ffffff;
    padding: 100px 0 30px 0;
}

.footer-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr; /* First col is wider */
    gap: 60px;
    margin-bottom: 80px;
}

/* Columns */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: 50px;
   
}

.footer-logo span {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #999;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.footer-col a {
    color: #999;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(5px); /* Tiny slide effect */
}

.footer-col p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-highlight {
    color: #fff !important;
    font-size: 1.1rem !important;

}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-links a {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Bottom Bar */
.footer-bottom {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 0.8rem;
}

.legal-links {
    display: flex;
    gap: 30px;
}


/* Mobile Responsiveness for Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Stack all columns */
        gap: 50px;
    }
    
    .footer-newsletter {
        padding: 60px 20px;
    }
    
    .newsletter-form {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ========================================= */
/* --- GLOBAL TOAST NOTIFICATION --- */
/* ========================================= */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px); /* Start hidden */
    background: #111;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none; /* Let clicks pass through when hidden */
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0); /* Slide up */
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================================= */
/* --- MINI-CART DRAWER STYLES --- */
/* ========================================= */

/* Dark Backdrop */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* The Drawer Panel */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px; /* Hidden off-screen */
    width: 400px;
    max-width: 90%;
    height: 100vh;
    background: #fff;
    z-index: 3000;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.cart-drawer.open {
    right: 0; /* Slide in */
}

/* Header */
.cart-header {
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    transition: transform 0.3s;
}

.cart-close:hover {
    transform: rotate(90deg);
}

/* Items Area */
.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.empty-cart-msg {
    text-align: center;
    color: #999;
    margin-top: 50px;
    font-family: var(--font-sans);
}

/* Single Cart Item Design */
.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #f4f4f4;
    border-radius: 4px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

.cart-item-price {
    font-family: var(--font-sans);
    color: var(--color-gold);
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 8px;
    display: block;
}

.cart-remove-btn:hover {
    color: #ff4444;
}

/* Footer */
.cart-footer {
    padding: 30px;
    border-top: 1px solid #f0f0f0;
    background: #FAFAFA;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-checkout {
    width: 100%;
    background: #111;
    color: #fff;
    border: none;
    padding: 15px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-checkout:hover {
    background: var(--color-gold);
}

/* ========================================= */
/* --- FILTER DRAWER STYLES (UPDATED) --- */
/* ========================================= */

/* The Panel (Hidden on the Right) */
.filter-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px; /* 🔴 CHANGED: Wider width for better readability */
    height: 100%;
    background: #fff;
    z-index: 2000; 
    transform: translateX(100%); 
    transition: transform 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* Class to make it slide in */
.filter-drawer.active {
    transform: translateX(0);
}

/* The Dark Background */
.filter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999; 
    display: none;
}

.filter-backdrop.active {
    display: block;
}

/* Inner Styling */
.filter-header { 
    padding: 20px; 
    border-bottom: 1px solid #eee; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.filter-body { 
    padding: 20px; 
    flex: 1; 
    overflow-y: auto; /* Adds scroll if list is long */
}

/* Filter Groups (Spacing between categories) */
.filter-group {
    margin-bottom: 30px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 15px;
}

.filter-group h4 {
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* 🔴 CHANGED: The Filter Option Row */
.filter-row { 
    display: flex; 
    align-items: center; /* Aligns text with box */
    width: 100%;         /* Forces full width (vertical stacking) */
    margin-bottom: 15px; 
    cursor: pointer; 
    font-size: 1rem; 
    color: #333;
    line-height: 1.4;
}

/* 🔴 CHANGED: The Checkbox Input */
.filter-row input { 
    margin-right: 15px; 
    width: 18px; 
    height: 18px; 
    accent-color: #111; 
    flex-shrink: 0; /* Prevents checkbox from getting squished */
}

.filter-footer { 
    padding: 20px; 
    border-top: 1px solid #eee; 
    background: #fff;
}

.btn-clear { 
    width: 100%; 
    padding: 12px; 
    background: #f5f5f5; 
    border: none; 
    cursor: pointer; 
    font-family: inherit;
    font-weight: 500;
}

.btn-clear:hover { 
    background: #e0e0e0; 
} 


/*========================================================================== */

/* --- Media Section Container --- */
.media-section {
    padding: 80px 20px;
    background-color: #f9f9f9; /* Light gray background to pop the icons */
    text-align: center;
    overflow: hidden; /* Prevents animations from causing scrollbars */
}

/* --- Typography --- */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Media Links Grid --- */
.media-links {
    display: flex;
    justify-content: center;
    gap: 60px; /* Space between the two icons */
    flex-wrap: wrap;
}

/* --- Individual Item Card --- */
.media-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 180px;
    height: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Hover Effect: Lift up */
.media-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* --- Lottie Player Styling --- */
dotlottie-wc {
    width: 80px;  /* Control the size of the icon */
    height: 80px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

/* Scale icon slightly on hover */
.media-item:hover dotlottie-wc {
    transform: scale(1.1);
}

/* --- Link Text --- */
.media-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* --- Specific Brand Colors on Hover (Optional) --- */
/* Instagram Gradient */
.media-item:hover p:contains("Instagram"), 
.media-item[href*="instagram"]:hover p {
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* YouTube Red */
.media-item:hover p:contains("YouTube"),
.media-item[href*="youtube"]:hover p {
    color: #FF0000;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .media-links {
        gap: 30px;
    }

    .media-item {
        width: 140px;
        height: 140px;
        padding: 20px;
    }

    dotlottie-wc {
        width: 60px;
        height: 60px;
    }
}

/* --- cart page styles --- */
.cart-page {
   margin-top: 120px;
}