/* ==========================================
  /* ==========================================
   1. GLOBAL VARIABLES (Warm Luxury Palette)
   ========================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    /* Absolutely prevents horizontal scrolling/stretching */
}


:root {
    --bg-primary: #F9F8F6;
    /* Soft cashmere / warm off-white */
    --bg-secondary: #FFFFFF;
    /* Pure white for contrast inside cards */
    --text-main: #33312E;
    /* Warm deep espresso (much softer than pure black) */
    --text-muted: #7A756D;
    /* Warm taupe for secondary text */
    --accent-color: #D4C9BA;
    /* Subtle warm gold/beige for elegant accents */
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    /* Keep your existing fonts here */
}

/* ==========================================
   HEADER & NAVIGATION ALIGNMENT
   ========================================== */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 5%;
    /* Gives breathing room at the top and bottom */
}

/* This is the magic rule that forces everything into one horizontal line */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Navigation Links Spacing */
.nav-menu {
    display: flex;
    gap: 40px;
    /* Space between each link */
}

.nav-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #888888;
}

/* Language Toggle Spacing */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    color: #666666;
    transition: color 0.3s ease;
    font-family: inherit;
    padding: 0;
}

.language-toggle button:hover {
    color: #1a1a1a;
}

.lang-divider {
    color: #d0d0d0;
    font-size: 0.8rem;
    font-weight: 300;
}


/* 3. Hero Section */
#hero {
    height: 75vh;
    /* Takes up 75% of the screen height */
    background-color: #2c2c2c;
    /* Placeholder for your background image */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e0e0e0;
}


/* 4. Product Categories Grid */
#categories {
    padding: 80px 5%;
    text-align: center;
}

#categories h3 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.category-card {
    background-color: #ffffff;
    text-align: left;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    /* A subtle lift effect when hovering */
}

.category-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background-color: #eeeeee;
    margin-bottom: 20px;
}

.category-card h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
    padding: 0 20px;
}

.category-card p {
    color: #666;
    font-size: 0.95rem;
    padding: 0 20px 30px 20px;
}

/* 5. WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    /* Official WhatsApp Green */
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 6. Mobile Responsiveness */
@media (max-width: 768px) {

    /* Stack the header menu for smaller screens */
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    /* Adjust the hero text size so it fits the screen */
    .hero-text h2 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    /* Make the WhatsApp button slightly smaller */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Product Inquiry Buttons */
.inquire-btn {
    display: block;
    width: calc(100% - 40px);
    /* Keeps it aligned with your text padding */
    margin: 0 auto 20px auto;
    padding: 12px;
    background-color: #2c2c2c;
    color: #ffffff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.inquire-btn:hover {
    background-color: #25D366;
    /* Turns WhatsApp Green when hovered */
}

/* 7. Catalog Subpage Layout */
#product-catalog {
    padding: 60px 5%;
}

.catalog-intro {
    text-align: center;
    margin-bottom: 60px;
}

.catalog-intro h2 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.catalog-intro p {
    color: #888888;
    max-width: 600px;
    margin: 0 auto;
}

/* Standardize All Product Images */
.category-card img {
    width: 100%;
    /* Forces the image to take up the full width of its column */
    height: 350px;
    /* Forces every single image to be exactly this tall */

    /* THE MAGIC TRICK */
    object-fit: cover;
    /* Fills the box perfectly without squishing or stretching the product */
    object-position: center;
    /* Ensures the middle of the photo stays centered in the frame */

    background-color: #f9f9f9;
    /* Adds a soft premium background just in case the photo is transparent */
    border-radius: 4px;
    /* Optional: Adds a very subtle rounding to the corners for a softer, luxury feel */
    margin-bottom: 20px;
}


/* 8. Filters & Pagination */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 24px;
    background: transparent;
    border: 1px solid #cccccc;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    color: #666666;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #2c2c2c;
    color: #ffffff;
    border-color: #2c2c2c;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background-color: #2c2c2c;
    color: #ffffff;
}

/* Update these two blocks to include the curtain buttons */

.filter-btn,
.curtain-filter-btn {
    padding: 8px 24px;
    background: transparent;
    border: 1px solid #cccccc;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    color: #666666;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active,
.curtain-filter-btn:hover,
.curtain-filter-btn.active {
    background-color: #2c2c2c;
    color: #ffffff;
    border-color: #2c2c2c;
}

/* 9. Services Page Layout */
#services-catalog {
    padding: 60px 0;
}

.service-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    padding: 0 5%;
}

/* This reverses the second block so the picture is on the right for a nice zigzag effect */
.service-block.reverse-layout {
    flex-direction: row-reverse;
}

.service-block img {
    width: 50%;
    height: 450px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Adds a soft luxury shadow */
}

.service-text {
    width: 50%;
}

.service-text h3 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.service-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-text .inquire-btn {
    width: auto;
    padding: 15px 40px;
    margin: 0;
}

/* Make it stack neatly on mobile phones */
@media (max-width: 900px) {

    .service-block,
    .service-block.reverse-layout {
        flex-direction: column;
        text-align: center;
    }

    .service-block img,
    .service-text {
        width: 100%;
    }

    .service-block img {
        height: 300px;
    }
}

/* ==========================================
   THE BRAND PROMISE (3-Box Luxury Restyling)
   ========================================== */
#brand-promise {
    padding: 80px 5%;
    background-color: var(--bg-primary);
}

.promise-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.promise-box {
    background-color: var(--bg-secondary);
    padding: 50px 40px;
    border-top: 3px solid var(--accent-color);
    /* Elegant warm accent line */
    box-shadow: 0 15px 35px rgba(51, 49, 46, 0.05);
    /* Very soft, realistic shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: left;
}

.promise-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(51, 49, 46, 0.08);
    /* Shadow deepens slightly on hover */
}

.promise-box h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 600;
}

.promise-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Mobile Layout */
@media (max-width: 850px) {
    .promise-container {
        grid-template-columns: 1fr;
    }
}

/* Update Category Links on Homepage */
.section-title {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.category-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    /* Makes the whole card clickable */
}

/* 11. Footer Styling */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 5% 20px 5%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.footer-brand h2 {
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #999999;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #999999;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact p {
    color: #999999;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333333;
    padding-top: 20px;
    color: #666666;
    font-size: 0.8rem;
}

/* 3. Hero Section (Slider Upgrades) */
#hero {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
    /* Keeps the images perfectly contained */
    background-color: #2c2c2c;
}

/* The individual image slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    /* Creates the luxurious, slow fade effect */
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    /* Makes the active slide visible */
}

/* Dark elegant tint over the images so the text pops */
#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* 40% darkness */
    z-index: 2;
}

/* Brings the text to the very front */
.hero-text {
    position: relative;
    z-index: 3;
    color: #ffffff;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 12. Featured Products, Process, and Gallery Layouts */

#featured-products,
#how-it-works,
#project-gallery {
    padding: 80px 5%;
    text-align: center;
}

/* We alternate the background colors so the sections visually separate from each other */
#how-it-works {
    background-color: #fafafa;
}

#project-gallery {
    background-color: #ffffff;
}

/* Process Layout */
.process-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 280px;
    text-align: left;
    padding: 40px;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 300;
    color: #e0e0e0;
    margin-bottom: 10px;
    line-height: 1;
    font-family: Georgia, serif;
    /* Gives the numbers a highly premium, editorial look */
}

.process-step h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Layout */
.gallery-subtitle {
    margin-top: -30px;
    margin-bottom: 50px;
    color: #888888;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Hover effect: darkens slightly and zooms in to feel interactive */
.gallery-img:hover {
    transform: scale(1.02);
    filter: brightness(0.85);
    cursor: pointer;
}

/* ==========================================
   13. LUXURY UI UPGRADES
   ========================================== */

/* Typography */
body {
    font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3,
h4,
.logo,
.section-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1.5px;
}

/* Glassmorphism Navigation */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Smooth Image Zoom & Card Hover */
.category-card {
    overflow: hidden;
    border-radius: 4px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.category-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.category-card img {
    transition: transform 0.8s ease !important;
    /* Slow luxury zoom */
}

.category-card:hover img {
    transform: scale(1.08);
}

/* Scroll Fade-In Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Skeleton Loading Pulse */
.skeleton {
    background: linear-gradient(90deg, #fcfcfc 25%, #f0f0f0 50%, #fcfcfc 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-card {
    height: 350px;
    width: 100%;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ==========================================
   14. Services Page: Offerings & Gallery 
   ========================================== */

#service-offerings {
    padding: 80px 5%;
    background-color: #fafafa;
    text-align: center;
    margin-bottom: 80px;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.offerings-grid {
    display: grid;
    /* This tells the browser to put them side-by-side! */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    /* Aligns the text nicely inside the card */
}

.offering-card {
    background: #ffffff;
    padding: 40px 30px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offering-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.offering-card h4 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 600;
}

.offering-card p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
}

#services-gallery {
    padding: 80px 5%;
    text-align: center;
    background-color: #ffffff;
}

/* ==========================================
   15. Client Testimonials Section
   ========================================== */
#testimonials {
    padding: 80px 5%;
    background-color: #f9f9f9;
    /* A very soft grey to separate it from the white gallery */
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* The giant, decorative luxury quotation mark in the background */
.testimonial-card::before {
    content: '“';
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: #f0f0f0;
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
    z-index: 0;
}

/* The quote text itself */
.testimonial-card .quote {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* The client's name */
.testimonial-card .client-name {
    font-weight: 500;
    font-size: 0.85rem;
    color: #1a1a1a;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ==========================================
   16. BILINGUAL BRAND LOGO ALIGNMENT
   ========================================== */

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Spaces the text perfectly away from your house icon */
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.85;
    /* Subtle dim effect when hovering over the logo area */
}

.logo-link img {
    height: 42px;
    /* Perfectly scales your SVG icon within the navbar */
    width: auto;
}

/* Typography alignment for the text side */
.logo-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a1a1a;
    line-height: 1;
}

.brand-en {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 2px;
}

.brand-divider {
    color: #d0d0d0;
    /* A very soft grey so the divider line isn't too harsh */
    font-weight: 300;
    font-size: 1.1rem;
}

.brand-ch {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 4px;
    /* Gives the Chinese characters beautiful luxury breathing room */
}

/* Mobile Responsiveness: Keeps it clean on small screens */
@media (max-width: 480px) {

    .brand-ch,
    .brand-divider {
        display: none;
        /* Hides the Chinese name and line on tiny phones to prevent clutter */
    }
}

/* ==========================================
   17. LUXURY WECHAT MODAL POPUP
   ========================================== */
.wechat-info a {
    color: #1a1a1a;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.wechat-info a:hover {
    color: #07c160;
    /* Sleek WeChat Green accent on hover */
}

/* Dark Frosted Glass Overlay */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* The Box Itself */
.modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    max-width: 340px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Open states handled by JS */
.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

/* Close Button (X) */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999999;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #1a1a1a;
}

/* QR Code & Text Styling */
.modal-content h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.modal-qr {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px auto;
    display: block;
    border: 1px solid #eaeaea;
    padding: 5px;
    border-radius: 4px;
}

.wechat-id {
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.modal-tip {
    font-size: 0.85rem;
    color: #777777;
    line-height: 1.4;
}

/* ==========================================
   18. FABRIC SAMPLE BANNER (Curtains Page)
   ========================================== */
.sample-service {
    background-color: #fdfdfd;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 80px 5%;
    margin: 80px 0 40px 0;
}

.sample-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.sample-text {
    flex: 1;
}

.sample-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.sample-text p {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Make the button look extra premium */
.sample-btn {
    background: #1a1a1a;
    color: #ffffff;
    padding: 15px 35px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border-radius: 2px;
}

.sample-btn:hover {
    background: #444444;
}

.sample-image {
    flex: 1;
}

.sample-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    /* Soft luxury shadow */
    transition: transform 0.5s ease;
}

.sample-image img:hover {
    transform: scale(1.02);
    /* Slight zoom when clients hover over the fabric */
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .sample-container {
        flex-direction: column-reverse;
        /* Puts image on top on phones */
        text-align: center;
        gap: 40px;
    }

    .sample-text h2 {
        font-size: 2rem;
    }
}


/* ==========================================
   19. EXPERTISE BY ROOM (Grid Layout)
   ========================================== */
#room-categories {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #f6f7f8;
    /* Matches the soft grey from your reference image */
}

.room-intro {
    text-align: left;
    /* Aligns text to the left like the reference */
    margin-bottom: 50px;
    max-width: 700px;
}

.room-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns */
    gap: 50px 40px;
    /* Vertical and horizontal spacing */
}

.room-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Image container with the text overlay */
.room-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Keeps all images uniformly sized */
    overflow: hidden;
    border-radius: 2px;
}

.room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Adds a subtle dark tint so the white text is always readable */
.room-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.room-card:hover .room-img-wrapper img {
    transform: scale(1.03);
    /* Soft zoom effect on hover */
}

/* The big bold white text */
.room-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    z-index: 2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    width: 90%;
}

.room-info {
    display: flex;
    justify-content: space-between;
    /* Pushes text left and link right */
    align-items: flex-start;
    margin-top: 15px;
    /* Creates clean whitespace below the image */
}

.room-info p {
    color: #444444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 75%;
    /* Prevents the text from crashing into the link */
}

.visit-link {
    /* ... keep your existing link styles here ... */
    margin-top: 2px;
    /* Aligns the link perfectly with the top line of text */
}

/* Mobile Responsiveness */
@media (max-width: 850px) {
    .room-grid {
        grid-template-columns: 1fr;
        /* Stacks to 1 column on phones */
        gap: 40px;
    }

    .room-overlay-text {
        font-size: 1.4rem;
    }

    .room-info {
        flex-direction: column;
        gap: 10px;
    }

    .room-info p {
        max-width: 100%;
    }
}


/* ==========================================
   20. EDITORIAL STATEMENT LAYOUT (The Living Co. Style)
   ========================================== */
#editorial-statement {
    padding: 80px 5%;
    background-color: #fcfcfc;
    /* A very soft, luxurious off-white */
}

.statement-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 1. Massive Statement Text */
.massive-text {
    font-size: 3.2rem;
    font-weight: 300;
    /* Thin font looks more premium */
    line-height: 1.3;
    color: #111111;
    margin-bottom: 60px;
    max-width: 900px;
}

.massive-text strong {
    font-weight: 600;
    /* Only bold the second half of the sentence! */
}

/* 2. The Signature Thin Divider */
.thin-line {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 80px;
}

/* 3. The 50/50 Split */
.split-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.split-text {
    flex: 1;
    max-width: 500px;
}

.medium-text {
    font-size: 1.5rem;
    line-height: 1.5;
    color: #111111;
    margin-bottom: 40px;
}

.editorial-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.editorial-list li {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 25px;
}

.split-image {
    flex: 1.2;
    /* Makes the image slightly wider than the text side */
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .massive-text {
        font-size: 2rem;
    }

    .split-content {
        flex-direction: column;
        gap: 40px;
    }
}

/* ==========================================
   21. SOFT LUXURY EDGES & ANIMATIONS
   ========================================== */

/* 1. Soft Rounded Corners for all Cards & Images */
.promise-box,
.category-card,
.room-img-wrapper,
.service-block img,
.gallery-img,
.testimonial-card,
.offering-card {
    border-radius: 12px;
    /* Soft, elegant curve */
    overflow: hidden;
    /* Ensures pictures stay inside the curves */
}

/* 2. Soft Corners for Buttons */
.cta-button,
.inquire-btn {
    border-radius: 8px;
    /* Smooth button edges */
}

/* 3. The Professional Fade-Up Animation Start State */
/* This hides the elements slightly lower down the page until you scroll to them */
.fade-up,
.category-card,
.promise-box,
.room-card,
.gallery-img,
.offering-card {
    opacity: 0;
    transform: translateY(40px);
    /* We use a 'cubic-bezier' curve here instead of 'ease' to make it feel buttery smooth */
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* The state when the animation triggers */
.fade-up.visible,
.category-card.visible,
.promise-box.visible,
.room-card.visible,
.gallery-img.visible,
.offering-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   22. STICKY GLASSMORPHISM HEADER
   ========================================== */

/* 1. Prepare the main header for smooth transitions */
header {
    position: fixed;
    /* Ensures it stays at the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Keeps it above all other pictures */
    background-color: var(--bg-primary);
    /* Uses your warm cashmere background */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Buttery smooth speed */
}

/* 2. The "Scrolled" State (What happens when they scroll down) */
header.scrolled {
    background-color: rgba(249, 248, 246, 0.85);
    /* Cashmere color, but 85% transparent */
    backdrop-filter: blur(12px);
    /* Creates the frosted glass blur */
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */
    box-shadow: 0 10px 30px rgba(51, 49, 46, 0.06);
    /* Very soft shadow to lift it off the page */
}

/* 3. Shrinking the inner container */
.header-container {
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px 5%;
    /* Normal padding at the top of the page */
}

header.scrolled .header-container {
    padding: 10px 5%;
    /* Shrinks to be thinner when scrolling */
}

/* Make sure the logo scales down slightly too */
header .logo img {
    transition: height 0.4s ease;
    height: 45px;
    /* Assuming your default logo is around this size */
}

header.scrolled .logo img {
    height: 35px;
    /* Shrinks the logo elegantly */
}

/* ==========================================
   23. BULLETPROOF RESPONSIVE HEADER
   ========================================== */

/* 1. Default spacing for wide desktop screens */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    /* Crucial: Allows elements to wrap to a new line */
}

/* We use 'order' to control exactly where things go when the screen shrinks */
.logo {
    order: 1;
    /* Always first (Left) */
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    order: 2;
    /* Always middle */
}

.language-toggle {
    white-space: nowrap;
    order: 3;
    /* Always right */
    flex-shrink: 0;
    /* Never let this get squeezed off screen */
}

/* Keep language buttons clean and warm */
.language-toggle button {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0 4px;
    transition: opacity 0.3s ease;
}

.language-toggle button:hover {
    opacity: 0.5;
}

.nav-menu a {
    white-space: nowrap;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.6;
}

/* ----------------------------------------------------
   2. The "Medium Screen" Fix (iPads & Narrow Laptops) 
   ---------------------------------------------------- */
@media (max-width: 1100px) {
    .nav-menu {
        order: 3;
        /* Drops the menu to the bottom */
        width: 100%;
        /* Forces it to take up its own full line */
        gap: 30px;
        padding-top: 15px;
        /* Adds breathing room above the menu */
    }

    .language-toggle {
        order: 2;
        /* Moves language toggle to the top right, opposite the logo! */
    }
}

/* ----------------------------------------------------
   3. The "Mobile Phone" Fix 
   ---------------------------------------------------- */
@media (max-width: 768px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        padding: 20px 5%;
        /* The 5% guarantees empty space on the left and right */
        max-width: 1600px;
        /* Keeps it from stretching infinitely on giant screens */
        margin: 0 auto;
        /* Centers the whole header */
    }

    .logo {
        margin-bottom: 5px;
    }

    .language-toggle {
        margin-bottom: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        /* Allows the links to stack if the phone is very thin */
        gap: 15px;
        padding-top: 0;
    }

    header.scrolled .logo img {
        height: 35px;
        /* Prevents the logo from taking up too much screen space when scrolling */
    }
}


/* ==========================================
   24. PRODUCT GRID LAYOUT (The Wrap Fix)
   ========================================== */

.grid-container {
    display: grid;
    /* THIS IS THE MAGIC LINE: It creates flexible columns that automatically drop to the next row! */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
    /* Creates clean, even spacing between all the cards */
    max-width: 1300px;
    /* Keeps the grid from stretching too wide on massive desktop screens */
    margin: 0 auto 60px auto;
    /* Centers the grid on the page */
    padding: 0 5%;
    /* Prevents the cards from touching the edge of mobile phone screens */
}

/* Let's also make sure the cards themselves look pristine in this new grid */
.category-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    /* Your soft luxury corners */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(51, 49, 46, 0.05);
    /* Soft, premium shadow */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    /* Gentle lift effect when hovering */
    box-shadow: 0 15px 35px rgba(51, 49, 46, 0.08);
}

/* Ensure the pictures stay perfectly proportioned inside the new grid */
.category-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Forces every picture to be a perfect square, so the grid is perfectly even */
    object-fit: cover;
    /* Crops the image beautifully without stretching it */
    display: block;
}

/* Spacing for the text inside the card */
.category-card h4,
.category-card p,
.category-card .inquire-btn {
    margin-left: 20px;
    margin-right: 20px;
}

.category-card h4 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.category-card p {
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes the WhatsApp button to the bottom if text lengths are different */
}

.category-card .inquire-btn {
    margin-bottom: 20px;
    width: calc(100% - 40px);
    /* Makes the button fill the card width cleanly */
}


/* ==========================================
   25. LUXURY PAGINATION (Square Boxes & Arrows)
   ========================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* Clean spacing between the boxes */
    margin: 60px 0 80px 0;
}

.page-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #E5E0D8;
    /* Subtle warm border */
    background-color: var(--bg-secondary);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 2px;
    /* Very slight softening so it isn't razor-sharp */
}

/* Hover effect for all boxes */
.page-box:hover {
    border-color: var(--text-main);
}

/* The Active Page (Matches the dark box in your image) */
.page-box.active {
    background-color: var(--text-main);
    /* Deep Espresso */
    color: var(--bg-primary);
    /* Cashmere White */
    border-color: var(--text-main);
    font-weight: 600;
}

/* Specific styling for the pointing arrows */
.page-arrow {
    color: var(--text-muted);
    /* Softer taupe color for the arrows */
    font-size: 1.1rem;
}

.page-arrow:hover {
    color: var(--text-main);
    background-color: #F9F8F6;
    /* Slight highlight when hovering over the arrow */
}

/* Responsive adjustments for mobile phones */
@media (max-width: 768px) {
    .pagination {
        gap: 5px;
    }

    .page-box {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
}


/* ==========================================
   26. LUXURY MEGA MENU (Dropdowns)
   ========================================== */

.nav-item {
    position: relative;
    /* Acts as the anchor for the dropdown */
    padding: 10px 0;
    /* Creates an invisible bridge so the menu doesn't vanish when the mouse moves down */
}

/* The Panel Design */
.mega-menu {
    position: absolute;
    top: 100%;
    /* Puts it directly below the nav bar */
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    /* Centers it and pushes it down slightly */
    background-color: var(--bg-secondary);
    /* Pure white/cashmere */
    width: 650px;
    /* Wide panel like your screenshot */
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(51, 49, 46, 0.08);
    /* Soft luxury shadow */
    border-top: 3px solid var(--accent-color);
    /* Warm accent line */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns */
    gap: 40px;

    /* Animation start state (Hidden) */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

/* The Invisible Bridge (keeps the menu open while moving the mouse) */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

/* Trigger the animation on hover! */
.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    /* Glides upward into place */
}

/* Styling the Text inside the Menu */
.mega-column h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 1px solid #E5E0D8;
    /* Divider line under headers */
    padding-bottom: 10px;
}

.mega-column a {
    display: block;
    color: var(--text-muted) !important;
    /* Soft taupe color */
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease !important;
}

/* Beautiful hover effect on the small links */
.mega-column a:hover {
    color: var(--text-main) !important;
    padding-left: 6px !important;
    /* The text slides to the right slightly! */
    opacity: 1 !important;
}

/* Prevent the Mega Menu from breaking mobile layouts */
@media (max-width: 1100px) {
    .nav-item:hover .mega-menu {
        display: none;
        /* Hides complex mega menu on iPads/Phones for a cleaner experience */
    }
}

/* ==========================================
   27. GLOBAL HEADER CTA BUTTON
   ========================================== */
.header-right-controls {
    display: flex;
    align-items: center;
    gap: 25px;
    /* Spacing between languages and the button */
    order: 3;
    /* Keeps it on the right side of the screen */
}

/* The Button Design */
.header-cta-btn {
    background-color: var(--text-main);
    /* Deep espresso color */
    color: var(--bg-primary);
    /* Cashmere white text */
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(51, 49, 46, 0.15);
}

.header-cta-btn:hover {
    background-color: var(--text-muted);
    /* Softens on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(51, 49, 46, 0.2);
}

/* Mobile Adjustments */
@media (max-width: 1100px) {
    .header-right-controls {
        order: 2;
        /* Moves to top right on iPads */
    }
}

@media (max-width: 768px) {
    .header-right-controls {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }
}

/* ==========================================
   28. MULTI-CATEGORY FILTER SYSTEM UI
   ========================================== */
.filter-system-container {
    max-width: 1200px;
    margin: 40px auto 50px auto;
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Space between rows */
    background-color: #FAF9F6;
    /* Ultra-light warm cashmere background tint */
    border-radius: 12px;
    /* Smooth rounded container corners */
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Elegant Label Columns */
.filter-label {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    min-width: 90px;
    text-transform: uppercase;
    border-right: 1px solid #E5E0D8;
    /* Divider line next to labels */
    padding-right: 15px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Upgraded Smooth Pill-Shape Buttons */
.filter-btn {
    background-color: var(--bg-secondary);
    border: 1px solid #E5E0D8;
    color: var(--text-main);
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 30px;
    /* Perfect round size pills matching your image */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
    border-color: var(--text-main);
    background-color: #F5F3EF;
}

/* Active State Styles (Matches the deep color in your screenshot) */
.filter-btn.active {
    background-color: var(--text-main) !important;
    /* Deep dark tone */
    color: var(--bg-primary) !important;
    /* White text */
    border-color: var(--text-main) !important;
    box-shadow: 0 4px 12px rgba(51, 49, 46, 0.15);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .filter-system-container {
        padding: 20px 15px;
    }

    .filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .filter-label {
        border-right: none;
        padding-right: 0;
        padding-bottom: 5px;
        border-bottom: 1px solid #E5E0D8;
        width: 100%;
    }
}

/* ==========================================
   30. PROJECT GALLERY SLIDER UI
   ========================================== */
.gallery-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 40px;
    /* Room for arrows */
}

/* This creates the swiping window */
.gallery-slider-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Hide the ugly default scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-slider-container::-webkit-scrollbar {
    display: none;
}

/* The long track holding the images */
.gallery-slider-track {
    display: flex;
    gap: 20px;
}

/* For the Services page gallery */
.slider-img {
    flex: 0 0 100%;
    height: 450px;
    /* strict height so it never gets too tall */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .slider-img {
        flex: 0 0 calc(33.333% - 14px);
        height: 350px;
        /* smaller and sleeker on desktop */
    }
}

/* For the Curtains page Lookbook gallery */
.lookbook-img {
    flex: 0 0 calc(50% - 10px);
    height: 350px;
    /* strict height */
    scroll-snap-align: center;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .lookbook-img {
        flex: 0 0 calc(25% - 15px);
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .lookbook-img {
        flex: 0 0 calc(20% - 16px);
        height: 400px;
    }
}

/* ==========================================
   31. AUTO-MOVING CURTAIN ROLL (MARQUEE)
   ========================================== */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-block;
    /* This animation makes it slide left infinitely */
    animation: scrollMarquee 25s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
    /* Pauses when they hover over it! */
}

.marquee-img {
    height: 350px;
    width: auto;
    border-radius: 12px;
    margin-right: 20px;
    display: inline-block;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   32. ALTERNATING CURTAIN DESCRIPTIONS
   ========================================== */
.alternating-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.alternating-row.reverse {
    flex-direction: row-reverse;
}

.alt-image {
    flex: 1;
}

.alt-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.alt-text {
    flex: 1;
    padding: 40px;
}

.alt-text h2 {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.alt-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Mobile Adjustments */
@media (max-width: 768px) {

    .alternating-row,
    .alternating-row.reverse {
        flex-direction: column;
    }

    .alt-image img {
        min-height: 250px;
    }

    .alt-text {
        padding: 30px 20px;
    }

    .marquee-img {
        height: 250px;
    }
}

/* ==========================================
   33. "MIDNIGHT ELEGANCE" LIGHTING OVERLAPS
   ========================================== */
.dark-showcase-row {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
    position: relative;
}

.dark-showcase-row.reverse {
    flex-direction: row-reverse;
}

.dark-image {
    flex: 0 0 60%;
    position: relative;
}

.dark-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.dark-text {
    flex: 0 0 45%;
    background-color: #1A1A1A;
    padding: 60px 50px;
    position: relative;
    z-index: 2;
    /* This negative margin creates the overlap! */
    margin-left: -5%;
    border: 1px solid #333;
    border-left: 3px solid #D4AF37;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.dark-showcase-row.reverse .dark-text {
    margin-left: 0;
    margin-right: -5%;
    border-left: 1px solid #333;
    border-right: 3px solid #D4AF37;
}

.dark-category {
    color: #D4AF37;
    font-size: 0.8rem;
    letter-spacing: 4px;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.dark-text h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 300;
}

.dark-text p {
    color: #aaa;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Mobile Adjustments */
@media (max-width: 900px) {

    .dark-showcase-row,
    .dark-showcase-row.reverse {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .dark-image {
        flex: 100%;
        width: 100%;
    }

    .dark-image img {
        height: 300px;
    }

    .dark-text {
        flex: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: -40px;
        /* Overlaps upwards on mobile */
        width: 90%;
        padding: 40px 30px;
    }
}

/* ==========================================
   34. STATIC "SHOP BY ROOM" GRID (DARK MODE)
   ========================================== */
.room-static-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.room-static-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    aspect-ratio: 4/5;
    /* Gives them a tall, elegant portrait shape */
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.room-static-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* The Dark Gradient Overlay */
.room-static-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    text-align: center;
    transition: padding-bottom 0.4s ease;
}

.room-static-overlay h4 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.room-static-overlay p {
    color: #888;
    font-size: 0.85rem;
    opacity: 0;
    /* Hidden until hover */
    transform: translateY(10px);
    transition: all 0.4s ease;
}

/* Hover Effects */
.room-static-card:hover img {
    transform: scale(1.08);
    /* Slow, elegant zoom */
}

.room-static-card:hover .room-static-overlay {
    padding-bottom: 30px;
    /* Pushes text up slightly */
}

.room-static-card:hover .room-static-overlay h4 {
    color: #D4AF37;
    /* Turns gold on hover */
}

.room-static-card:hover .room-static-overlay p {
    opacity: 1;
    /* Reveals the subtext */
    transform: translateY(0);
}

/* ==========================================
   35. HOMEPAGE DUAL IDENTITY SPLIT SHOWCASE
   ========================================== */
.split-section {
    flex: 1 1 50%;
    position: relative;
    height: 70vh;
    /* Takes up 70% of the screen height */
    min-height: 500px;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.split-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background-color 0.5s ease;
}

/* Dark Mode Side (Lighting) */
.dark-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.dark-overlay .split-tag {
    color: #D4AF37;
}

/* Light Mode Side (Curtains) */
.light-overlay {
    background-color: rgba(255, 255, 255, 0.7);
    color: #111;
}

.light-overlay .split-tag {
    color: #666;
}

/* Common Typography */
.split-tag {
    font-size: 0.85rem;
    letter-spacing: 5px;
    font-weight: 600;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.split-overlay h2 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.split-overlay p {
    font-size: 1rem;
    font-style: italic;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

/* Stunning Hover Effects */
.split-section:hover img {
    transform: scale(1.05);
}

.split-section:hover .dark-overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

.split-section:hover .light-overlay {
    background-color: rgba(255, 255, 255, 0.9);
}

.split-section:hover .split-tag,
.split-section:hover p {
    opacity: 1;
    transform: translateY(0);
}

.split-section:hover h2 {
    transform: scale(1.05);
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .split-section {
        flex: 1 1 100%;
        /* Stacks them on mobile */
        height: 50vh;
    }

    .split-overlay h2 {
        font-size: 2.5rem;
    }

    #luxury-promise .promise-item {
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid #333;
        padding-bottom: 30px;
    }

    #luxury-promise .promise-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ==========================================
   35. HOMEPAGE WARM DUAL SPLIT SHOWCASE
   ========================================== */
.split-section {
    flex: 1 1 50%;
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.split-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background-color 0.5s ease;
}

/* Left Mode (Lighting - Warm Taupe Tint) */
.warm-overlay-left {
    background-color: rgba(245, 242, 235, 0.75);
    color: #333;
}

.warm-overlay-left .split-tag {
    color: #9C8A79;
}

/* Right Mode (Curtains - Airy Cream Tint) */
.warm-overlay-right {
    background-color: rgba(255, 255, 255, 0.85);
    color: #333;
}

.warm-overlay-right .split-tag {
    color: #9C8A79;
}

/* Common Typography */
.split-tag {
    font-size: 0.85rem;
    letter-spacing: 5px;
    font-weight: 600;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.split-overlay h2 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.split-overlay p {
    font-size: 1rem;
    font-style: italic;
    color: #666;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

/* Stunning Hover Effects */
.split-section:hover img {
    transform: scale(1.05);
}

.split-section:hover .warm-overlay-left {
    background-color: rgba(245, 242, 235, 0.9);
}

.split-section:hover .warm-overlay-right {
    background-color: rgba(255, 255, 255, 0.95);
}

.split-section:hover .split-tag,
.split-section:hover p {
    opacity: 1;
    transform: translateY(0);
}

.split-section:hover h2 {
    transform: scale(1.05);
}

/* ==========================================
   36. HOMEPAGE EDITORIAL UPGRADES (Warm Style)
   ========================================== */
/* Light Frosted Glass Hero Box */
.editorial-hero-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 60px 40px;
    border-radius: 16px;
    max-width: 800px;
}

.hero-overline {
    font-size: 1rem;
    letter-spacing: 4px;
    color: #9C8A79;
    margin-bottom: 20px;
}

.hero-massive-title {
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 25px;
    color: #222;
}

.hero-subtext {
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #555;
    max-width: 650px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

/* Asymmetrical Featured Grid (Light Gradient) */
.editorial-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.editorial-main-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.editorial-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-side-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.editorial-side-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.editorial-side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Soft white gradient over the images so dark text is readable */
.editorial-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(250, 249, 246, 1) 0%, rgba(250, 249, 246, 0.85) 40%, transparent 100%);
    color: #333;
}

.ed-tag {
    color: #9C8A79;
    font-size: 0.75rem;
    letter-spacing: 3px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.editorial-text h4 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.editorial-text p {
    color: #666;
    font-size: 0.95rem;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .split-section {
        flex: 1 1 100%;
        height: 50vh;
    }

    .split-overlay h2 {
        font-size: 2.5rem;
    }

    .editorial-hero-box {
        padding: 40px 20px;
    }

    .hero-massive-title {
        font-size: 3rem;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .editorial-main-card {
        height: 400px;
    }

    #luxury-promise .promise-item {
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid #EAE4D9;
        padding-bottom: 30px;
    }

    #luxury-promise .promise-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ==========================================
   37. WARM & MINIMALIST OVERLAP SHOWCASE
   ========================================== */
.warm-showcase-row {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
    position: relative;
}

.warm-showcase-row.reverse {
    flex-direction: row-reverse;
}

.warm-image {
    flex: 0 0 60%;
    position: relative;
}

.warm-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.warm-text {
    flex: 0 0 45%;
    background-color: #FDFBF7;
    padding: 60px 50px;
    position: relative;
    z-index: 2;
    margin-left: -5%;
    border: 1px solid #EAE4D9;
    border-left: 3px solid #9C8A79;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.warm-showcase-row.reverse .warm-text {
    margin-left: 0;
    margin-right: -5%;
    border-left: 1px solid #EAE4D9;
    border-right: 3px solid #9C8A79;
}

.warm-category {
    color: #9C8A79;
    font-size: 0.8rem;
    letter-spacing: 4px;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.warm-text h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 300;
}

.warm-text p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Mobile Adjustments */
@media (max-width: 900px) {

    .warm-showcase-row,
    .warm-showcase-row.reverse {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .warm-image {
        flex: 100%;
        width: 100%;
    }

    .warm-image img {
        height: 300px;
    }

    .warm-text {
        flex: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: -40px;
        width: 90%;
        padding: 40px 30px;
    }
}

/* ==========================================
   38. WARM "SHOP BY ROOM" GRID
   ========================================== */
.room-static-overlay-warm {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px 20px;
    background: linear-gradient(to top, rgba(253, 251, 247, 1) 0%, rgba(253, 251, 247, 0.85) 50%, transparent 100%);
    text-align: center;
    transition: padding-bottom 0.4s ease;
}

.room-static-overlay-warm h4 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.room-static-overlay-warm p {
    color: #666;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.room-static-card:hover .room-static-overlay-warm {
    padding-bottom: 30px;
}

.room-static-card:hover .room-static-overlay-warm h4 {
    color: #9C8A79;
}

.room-static-card:hover .room-static-overlay-warm p {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   39. CURTAINS "ARCH WINDOW" LAYOUT 
   ========================================== */
.arch-showcase-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.arch-showcase-row.reverse {
    flex-direction: row-reverse;
}

.arch-image-wrapper {
    flex: 0 0 38%;
    position: relative;
    /* This creates the aesthetic floating effect */
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.arch-image-wrapper:hover {
    transform: translateY(-10px);
}

.arch-image-wrapper img {
    width: 100%;
    aspect-ratio: 2/3;
    /* Forces a tall, window-like shape */
    object-fit: cover;
    /* MAGIC: This rounds the top heavily to create the Arch */
    border-radius: 300px 300px 12px 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* A soft beige decorative block behind the arch */
.arch-image-wrapper::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80%;
    height: 40%;
    border-radius: 12px;
    background-color: #EAE4D9;
    z-index: -1;
}

.arch-showcase-row.reverse .arch-image-wrapper::before {
    left: auto;
    right: -20px;
}

.arch-text-content {
    flex: 1;
}

.arch-category {
    color: #9C8A79;
    font-size: 0.85rem;
    letter-spacing: 4px;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.arch-text-content h2 {
    font-size: 2.6rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 300;
}

.arch-text-content p {
    color: #666;
    line-height: 1.9;
    font-size: 1.1rem;
    max-width: 500px;
}

/* Mobile Adjustments */
@media (max-width: 900px) {

    .arch-showcase-row,
    .arch-showcase-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }

    .arch-image-wrapper {
        flex: 100%;
        width: 75%;
        margin: 0 auto;
    }

    .arch-text-content {
        flex: 100%;
        text-align: center;
    }

    .arch-text-content p {
        margin: 0 auto;
    }

    .arch-image-wrapper::before {
        display: none;
        /* Hide decorative box on mobile */
    }
}

/* ==========================================
   40. CURTAINS TEXTURE LOOKBOOK 
   ========================================== */
.lookbook-slider-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 60px;
    /* Space for the arrows */
}

.lookbook-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.lookbook-container::-webkit-scrollbar {
    display: none;
}

.lookbook-track {
    display: flex;
    gap: 20px;
}

.lookbook-img {
    /* Shows 2 images on mobile, 4 on desktop, 5 on large screens */
    flex: 0 0 calc(50% - 10px);
    scroll-snap-align: center;
    object-fit: cover;
    aspect-ratio: 3/4;
    /* Perfect shape for showing fabric drapes */
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .lookbook-img {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (min-width: 1200px) {
    .lookbook-img {
        flex: 0 0 calc(20% - 16px);
    }
}

.lookbook-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Warm Arrow Buttons */
.lookbook-arrow {
    background-color: #fff;
    color: #9C8A79;
    border: 1px solid #EAE4D9;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lookbook-arrow:hover {
    background-color: #9C8A79;
    color: #fff;
}

.lb-left-arrow {
    left: 10px;
}

.lb-right-arrow {
    right: 10px;
}

/* On mobile, we hide arrows because users will just swipe with their fingers naturally */
@media (max-width: 768px) {
    .lookbook-slider-wrapper {
        padding: 0 15px;
    }

    .lb-left-arrow,
    .lb-right-arrow {
        display: none;
    }
}

/* ==========================================
   41. POLICY & TERMS PAGE
   ========================================== */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 60px;
    border-radius: 12px;
    border: 1px solid #EAE4D9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h3 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
    border-bottom: 1px solid #EAE4D9;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.policy-section ul {
    list-style-type: none;
    padding-left: 0;
}

.policy-section li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Custom elegant bullet points */
.policy-section li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: #9C8A79;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .policy-container {
        padding: 40px 20px;
        margin: 0 15px;
    }
}

/* ==========================================
   42. "WHY CHOOSE US" SECTION
   ========================================== */
.why-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Left Side: Image */
.why-image-wrapper {
    flex: 1;
    position: relative;
}

.why-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.why-image-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background-color: #9C8A79;
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(156, 138, 121, 0.3);
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 300;
}

/* Right Side: Text & List */
.why-text-wrapper {
    flex: 1;
}

.why-points-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.why-point {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.why-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: #EAE4D9;
    /* Very soft, elegant large numbers */
    line-height: 1;
    font-family: 'Georgia', serif;
    /* Gives a classic, premium touch */
}

.why-point-content h3 {
    font-size: 1.3rem;
    color: #333;
    font-weight: 400;
    margin-bottom: 10px;
    margin-top: 5px;
}

.why-point-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .why-container {
        flex-direction: column;
        gap: 50px;
    }

    .why-image-wrapper img {
        height: 400px;
    }

    .why-image-badge {
        right: 20px;
        bottom: -20px;
    }
}

/* ==========================================
   43. DEDICATED INSPIRATION GALLERY GRID
   ========================================== */
.inspiration-grid {
    display: grid;
    /* Automatically creates responsive columns based on screen size */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.inspire-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.inspire-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .inspiration-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .inspire-img {
        height: 300px;
    }
}

/* ==========================================
   44. BEFORE & AFTER SLIDER
   ========================================== */
.ba-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    aspect-ratio: 16/9;
    /* Creates a nice cinematic rectangle */
    background-color: #EAE4D9;
}

.ba-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
}

.ba-image-before,
.ba-image-after {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    /* Lets the invisible range input register clicks */
}

/* The AFTER image starts clipped halfway */
.ba-image-after {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

/* The invisible range slider over the top */
.ba-slider {
    position: absolute;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    top: 0;
    left: 0;
    z-index: 10;
    cursor: ew-resize;
}

.ba-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 5px;
    height: 100%;
    background: transparent;
}

/* The visual vertical dividing line */
.ba-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #fff;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* The drag button with arrows */
.ba-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: #9C8A79;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Labels */
.ba-label {
    position: absolute;
    top: 20px;
    padding: 8px 20px;
    background-color: rgba(253, 251, 247, 0.9);
    color: #9C8A79;
    font-weight: 600;
    letter-spacing: 3px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.ba-label-after {
    left: 20px;
}

.ba-label-before {
    right: 20px;
}

@media (max-width: 768px) {
    .ba-container {
        aspect-ratio: 4/3;
    }

    .ba-label {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}

/* ==========================================
   45. SERVICES EDITORIAL LAYOUT
   ========================================== */
.service-editorial-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.service-editorial-row:last-child {
    margin-bottom: 0;
}

.service-editorial-row.reverse {
    flex-direction: row-reverse;
}

.srv-image {
    flex: 0 0 50%;
}

.srv-image img {
    width: 100%;
    aspect-ratio: 4/3;
    /* Keeps all pictures uniform rectangles */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s ease;
}

.srv-image img:hover {
    transform: scale(1.02);
}

.srv-text {
    flex: 1;
    padding: 20px 0;
}

.srv-number {
    display: block;
    color: #9C8A79;
    font-size: 0.85rem;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 20px;
}

.srv-text h2 {
    font-size: 2.2rem;
    color: #333;
    font-weight: 300;
    margin-bottom: 25px;
    line-height: 1.4;
}

.srv-text p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Elegant bullet points for the services */
.srv-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.srv-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
}

.srv-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 1px;
    background-color: #9C8A79;
}

/* Mobile Adjustments */
@media (max-width: 900px) {

    .service-editorial-row,
    .service-editorial-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }

    .srv-image {
        flex: 100%;
        width: 100%;
    }

    .srv-text {
        flex: 100%;
        text-align: center;
    }

    .srv-list li {
        text-align: left;
        display: inline-block;
        width: 100%;
        max-width: 300px;
    }
}