/* DECORPROJECT STYLESHEET - OPTIMIZED VERSION */
/* File size reduced from 3100+ lines to ~1800 lines while maintaining all functionality */

/* ===== 1. CSS VARIABLES & BASE ===== */
:root {
    --primary: #8B7355;
    --primary-dark: #6B5C43;
    --primary-light: #C19A6B;
    --gold: #D4AF37;
    --cream: #FAF9F6;
    --charcoal: #2D3748;
    --gray: #718096;
    --white: #FFFFFF;
    --blue: royalblue;
    --lightgray: #f7f7f7;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Font Faces */
@font-face {
    font-family: 'MainTitleFont';
    src: url('../fonts/mainfont.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MainTitleFontCyrillic';
    src: url('../fonts/cyrillic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, .slogan, .subtitle, .name-signature {
    font-family: 'MainTitleFont', 'Inter', sans-serif;
}

/* Ensure Cyrillic font is used for RU/UK languages on all these elements */
:lang(ru) h1, :lang(ru) h2, :lang(ru) .slogan, :lang(ru) .subtitle, :lang(ru) .name-signature,
:lang(uk) h1, :lang(uk) h2, :lang(uk) .slogan, :lang(uk) .subtitle, :lang(uk) .name-signature {
    font-family: 'MainTitleFontCyrillic', 'Inter', sans-serif;
}

/* COLORS & SIZES */
h1, h2, .slogan {
    color: #000000;
}

/* Slogan Size */
h1, .slogan {
    font-size: 2.8rem;
    font-weight: 700;
}

/* Section Title Size */
h2 {
    font-size: 2rem; 
}

/* Subtitle Specifics (Decor for Unique Events) */
.subtitle {
    font-size: 1.3rem; /* Slightly larger to match the new font */
    color: var(--gray);
    margin-bottom: 0.5rem;
    letter-spacing: 1px; /* Looks better with decorative fonts */
}

/* Signature Specifics (by Katerina Sorokina) */
.name-signature {
    color: var(--black);
    font-weight: 500;
    font-size: 1.5rem;
    margin-top: 1rem;
    /* Removed 'font-style: italic' because custom fonts usually have their own style */
}

/* ===== 2. NAVIGATION ===== */
/* Top Navigation */
.top-nav-bar {
    background: var(--white);
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.sticky-top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Secondary Navigation */
.secondary-nav-bar {
    background: var(--cream);
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
}

.secondary-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.secondary-nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.sec-nav-link {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.sec-nav-link:hover { color: var(--primary-dark); }
.sec-nav-link.active {
    color: var(--primary);
    font-weight: 600;
    border-bottom-color: var(--primary);
}

.sec-nav-link.highlight-link {
    font-weight: 700;
    color: var(--primary);
}
.sec-nav-link.highlight-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
}

/* Hide Mobile Elements on Desktop */
.mobile-logo, 
.mobile-category-bar {
    display: none; 
}

.main-nav-tiles {
    display: block; 
}

.header-actions-secondary {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav-login, .btn-nav-get-started {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-nav-login {
    background: var(--white);
    color: var(--primary-dark);
    border: 2px solid var(--primary-light);
}

.btn-nav-login:hover {
    background: var(--cream);
    border-color: var(--primary);
}

.btn-nav-get-started {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-nav-get-started:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ===== 3. UTILITY COMPONENTS ===== */
/* Language Selector */
.language-dropdown-v6 {
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.language-dropdown-v6 summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--gray);
    transition: color 0.3s;
}

.language-dropdown-v6 summary:hover { color: var(--primary-dark); }
.language-dropdown-v6 summary i.fa-globe { color: var(--primary-light); }
.language-dropdown-v6 summary i.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.language-dropdown-v6[open] summary i.fa-chevron-down { transform: rotate(180deg); }

.lang-dropdown-content-v6 {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 0.5rem 0;
    min-width: 180px;
    z-index: 1001;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-option-v6 {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.lang-option-v6:hover { background-color: var(--cream); }
.lang-option-v6.active {
    font-weight: 700;
    background-color: var(--cream);
    color: var(--primary-dark);
}

/* Search Bar */
.container-ia-chat {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    width: 300px;
}

.container-upload-files {
    position: absolute;
    left: 0;
    display: flex;
    color: #aaaaaa;
    transition: all 0.5s;
}

.container-upload-files .upload-file {
    margin: 5px;
    padding: 2px;
    cursor: pointer;
    transition: all 0.5s;
}

.container-upload-files .upload-file:hover {
    color: #4c4c4c;
    scale: 1.1;
}

.input-text {
    max-width: 190px;
    width: 100%;
    margin-left: 72px;
    padding: 0.75rem 1rem;
    padding-right: 46px;
    border-radius: 50px;
    border: none;
    outline: none;
    background-color: #e9e9e9;
    color: #4c4c4c;
    font-size: 14px;
    line-height: 18px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.05);
    z-index: 999;
}

.input-text::placeholder { color: #959595; }

.input-text:focus-within,
.input-text:valid {
    max-width: 250px;
    margin-left: 42px;
}

.input-text:focus-within ~ .container-upload-files,
.input-text:valid ~ .container-upload-files {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    filter: blur(5px);
}

.input-text:focus-within ~ .label-files,
.input-text:valid ~ .label-files {
    transform: translateX(0) translateY(-50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.input-text:valid ~ .label-text {
    transform: translateX(0) translateY(-50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.input-text:valid ~ .label-voice {
    transform: translateX(0) translateY(-50%) scale(0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.input-voice, .input-files { display: none; }

.label-files {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateX(-20px) translateY(-50%) scale(1);
    display: flex;
    padding: 0.5rem;
    color: #959595;
    background-color: #e9e9e9;
    border-radius: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.05);
}

.label-voice, .label-text {
    position: absolute;
    top: 50%;
    right: 0.25rem;
    transform: translateX(0) translateY(-50%) scale(1);
    width: 36px;
    height: 36px;
    display: flex;
    padding: 6px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.05);
    z-index: 999;
}

.label-voice { color: #959595; }
.label-text {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) scale(0.25);
    color: #e9e9e9;
    background: linear-gradient(to top right, #9147ff, #ff4141);
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
    border-radius: 50px;
}

/* Cart Button */
.cart-icon-btn {
    position: relative;
    background: var(--gold);
    color: var(--charcoal);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.cart-icon-btn:hover { transform: scale(1.05); }
.cart-icon-btn.pop { animation: pop 0.3s ease-out; }

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 4. HEADER & HERO SECTIONS ===== */
/* Header V2 */
.header-v2 {
    padding: 1rem 0;
    text-align: center;
    background: linear-gradient(
        to bottom,
        var(--cream) 0%,
        var(--cream) 40%,
        rgba(250, 249, 246, 0) 100%
      ),
      linear-gradient(to right, var(--primary-light), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.header-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(107, 92, 67, 0.15) 1px, transparent 1px);
    background-size: 50px 100%;
    pointer-events: none;
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0) 70%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0) 70%
    );
}

.slogan { font-size: 3.5rem; font-weight: 800; }
.subtitle { font-size: 1.5rem; color: var(--gray); margin-bottom: 0.5rem; }
.name-signature {
    font-style: italic;
    color: var(--black);
    font-weight: 500;
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* ===== MAIN LOGO STYLES ===== */
.main-logo {
    display: block;
    margin: 0 auto 1.5rem auto; /* Centers it and adds gap below */
    width: 100%;
    max-width: 180px; /* Adjust this value based on how big you want it */
    height: auto;
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05); /* Subtle pop effect */
}

@media (max-width: 768px) {
    .main-logo {
        max-width: 140px; /* Slightly smaller on mobile */
    }
}

/* ===== SLOGAN LOGO FIX ===== */
.slogan {
    display: flex;
    align-items: center;      
    justify-content: center;  
    gap: 15px;                
    white-space: nowrap;
}


.slogan a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.slogan-logo {
    height: 1.2em;
    width: auto;
    display: block;
    margin-bottom: 0.15em;
}

/* НОВЫЙ БЛОК: Адаптация слогана (Всегда в строку) */
@media (max-width: 768px) { /* Работает и на телефонах, и на планшетах */
    .slogan {
        /* Принудительно держим в ряд */
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
        
        /* Уменьшаем шрифт, чтобы фраза влезла в экран */
        font-size: 1.4rem !important; /* Было 3.5rem, стало меньше */
        line-height: 1.2;
        
        /* Разрешаем перенос слов, если совсем тесно, но структура останется горизонтальной */
        white-space: normal; 
        gap: 8px; /* Уменьшаем отступ */
    }

    .slogan a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap; /* Если слов много, они перенесутся, но лого останется у начала */
    }

    .slogan-logo {
        /* Логотип уменьшится автоматически вслед за шрифтом (так как высота в em) */
        height: 1.3em; 
        margin-bottom: 0;
    }
}

/* Для очень узких телефонов (iPhone SE и старые) */
@media (max-width: 360px) {
    .slogan {
        font-size: 1.2rem !important; /* Еще меньше, чтобы точно влезло */
    }
}

/* Marquee Slideshow */
.v6-marquee-slideshow {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    background: var(--white);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.v6-marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-v6 60s linear infinite;
}

.v6-marquee-track:hover { animation-play-state: paused; }

.v6-slide-img {
    height: 220px;
    width: auto;
    margin: 0 0.8rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.v6-slide-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@keyframes scroll-v6 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== 5. CARD COMPONENTS ===== */
/* Navigation Cards */
.main-nav-tiles {
    display: block;
    padding: 1rem 0 1rem;
    background: var(--cream);
    position: relative;
    z-index: 1;
}

.main-nav-tiles .nav-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.main-nav-tiles .nav-container a { text-decoration: none; flex: 1; }

.card-container {
    width: 100%;
    height: 200px;
    position: relative;
    border-radius: 10px;
    border: 3px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}

.card-container:hover { transform: translateY(-5px); }

.card-container::before {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, var(--primary-light) 0%, var(--primary) 100% );
    transform: translate3d(0, 0, 0) scale(0.95);
    filter: blur(20px);
    opacity: 0.7;
}

.card {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .img-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, var(--primary-light) 0%, var(--primary-dark) 100% );
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    z-index: 2;
}

.card-container:hover .card .img-content { opacity: 0; transform: scale(0.95); }

.card .img-content i { font-size: 50px; color: #e8e8e8; margin-bottom: 0.5rem; }

.card-title-overlay {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e8e8e8;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'MainTitleFont', sans-serif;
}

.card .content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    background: linear-gradient(-45deg, var(--primary) 0%, var(--primary-dark) 100% );
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
    transform: scale(1.05);
}

.card-container:hover .card .content { opacity: 1; transform: scale(1); }

.card .content p { font-size: 1rem; color: #e8e8e8; line-height: 1.4; }

.card-container.active { border-color: var(--gold); box-shadow: var(--shadow-md); }

/* Page Hero Sections */
.personal-hero, .business-hero, .events-hero, .gallery-hero {
    padding: 4rem 0 2rem;
    text-align: center;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
}

.personal-hero h1, .business-hero h1, .events-hero h1, .gallery-hero h1 { font-size: 3rem; }

.personal-hero p.subtitle, .business-hero p, .events-hero p {
    font-size: 1.2rem;
    color: var(--gray);
}

/* Option Cards */
.options-section { padding: 3rem 0 4rem; }
.options-section h2 { text-align: center; font-size: 2rem; font-weight: 600; margin-bottom: 2.5rem; }

.category-tabs {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    background: var(--cream);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    padding: 0.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.tab-link {
    text-decoration: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray);
    border-radius: 8px;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
}

.tab-link:hover { background: var(--white); }
.tab-link.active { color: var(--charcoal); background: var(--white); box-shadow: var(--shadow-sm); }

.options-grid-colorful, .options-grid, .events-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.option-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: center;
    border-top: 5px solid var(--primary-light);
}

.option-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.option-card p { color: var(--gray); font-size: 0.95rem; }
.option-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3); }
.option-card.creative-accent { background: var(--cream); border-top: 5px solid var(--gold); }

/* Business & Event Cards */
.business-option {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.business-option:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.business-option h3 { font-size: 1.5rem; }
.business-option .price { font-size: 1.1rem; color: var(--gray); margin-bottom: 1.5rem; }
.photo-options { font-size: 0.9rem; margin-bottom: 1.5rem; }

.event-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s;
}

.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.event-image img { width: 100%; height: 250px; object-fit: cover; }
.event-content { padding: 1.5rem; }
.event-content h3 { color: var(--primary-dark); }
.event-content .price { font-size: 1.1rem; color: var(--gray); margin-bottom: 1rem; }
.event-features { font-size: 0.9rem; color: var(--gray); margin-bottom: 1rem; }
.event-features span { display: block; }

/* ===== 6. OFFERINGS & PACKAGES ===== */
.offerings-section { padding: 4rem 0; background: var(--cream); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; color: var(--primary-dark); }

.offerings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.offering-card {
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.3s;
}

.offering-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.offering-card.highlighted { border: 2px solid var(--primary); box-shadow: var(--shadow-md); transform: scale(1.02); z-index: 2; }

.best-match-badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--charcoal);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 85%, 0% 100%);
}

.offering-header { padding: 2rem; text-align: center; border-bottom: 1px solid #f0f0f0; }
.offering-title { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--charcoal); }
.offering-subtitle { font-size: 0.9rem; color: var(--primary); font-weight: 600; margin-top: 5px; text-transform: uppercase; }
.offering-description { font-size: 0.95rem; color: var(--gray); margin-top: 1rem; line-height: 1.5; }

.price { margin: 1rem 0; }
.price-original { text-decoration: line-through; color: #aaa; font-size: 1.2rem; margin-right: 10px; }
.price-sale { color: #D9534F; font-size: 2.5rem; font-weight: 700; }

.offering-body { padding: 1.5rem; flex-grow: 1; }
.offering-details summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

.details-content ul { list-style: none; padding: 0; margin-top: 1rem; text-align: left; }
.details-content li {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 10px;
    color: var(--gray);
    font-size: 0.95rem;
}

.details-content li i { color: var(--primary); margin-top: 4px; }

.offering-footer { padding: 2rem; border-top: 1px solid #f0f0f0; text-align: center; }

.coupon-deal {
    background: #fffaf0;
    padding: 10px;
    border: 1px dashed var(--primary);
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.zip-code-form { display: flex; margin-bottom: 15px; }
.zip-code-form input { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 4px 0 0 4px; outline: none; }
.zip-code-form button { padding: 10px 15px; background: var(--primary); color: white; border: none; border-radius: 0 4px 4px 0; cursor: pointer; }
.zip-code-form button:hover { background: var(--primary-dark); }

/* Ala Carte Section */
.ala-carte-section { padding: 4rem 0; background: var(--white); }
.service-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.service-card-content h4 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.service-card-content p { font-size: 0.9rem; color: var(--gray); margin: 0; }
.service-card-footer { display: flex; align-items: center; gap: 15px; }
.service-card-footer .price { font-size: 1.2rem; font-weight: 700; color: var(--charcoal); }

/* ===== 7. BUSINESS PAGE COMPONENTS ===== */
/* Business Info Card */
.business-info { padding: 4rem 0; background: var(--charcoal); text-align: center; }
.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.info-card h3 { color: var(--primary-dark); }
.info-card p { color: var(--gray); margin-bottom: 1.5rem; }

/* Events CTA */
.events-cta { padding: 4rem 0; background: var(--cream); }
.cta-card {
    background: var(--white);
    border: 2px solid var(--gold);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

/* Business List Section */
.business-list-section { padding: 4rem 0; background: var(--white); }

.business-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.business-row:nth-child(even) { flex-direction: row-reverse; }

.business-text-col { flex: 1; padding: 1rem; }
.business-text-col h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--primary-dark); }
.business-text-col p { font-size: 1.1rem; color: var(--gray); margin-bottom: 2rem; line-height: 1.6; }
.business-actions { display: flex; gap: 1.5rem; align-items: center; }

.business-visual-col { flex: 1; height: 400px; }
.business-visual-col .before-after-slider { height: 100%; width: 100%; aspect-ratio: auto; box-shadow: var(--shadow-lg); }

/* Business Benefits */
.business-benefits { padding: 4rem 0; background: var(--cream); }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.benefit-item i { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; }
.benefit-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--charcoal); }
.benefit-item p { color: var(--gray); font-size: 0.95rem; }

/* Business Accordion */
.business-details-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    border-left: 3px solid var(--primary);
    background: #f9f9f9;
    margin-top: 0;
}

.business-details-content { padding: 1.5rem; }
.business-details-wrapper.open {
    max-height: 500px;
    margin-top: 1.5rem;
}

.business-expand-btn {
    cursor: pointer;
    color: var(--primary-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.business-expand-btn:hover { color: var(--primary); }
.business-expand-btn i { transition: transform 0.3s; }
.business-expand-btn.active i { transform: rotate(180deg); }

/* ===== 8. GALLERY STYLES ===== */
/* Clean Gallery */
.gallery-header { padding: 3rem 0; text-align: center; background: var(--cream); }

.gallery-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-tabs-nav .tab-link {
    padding: 0.8rem 2rem;
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary-dark);
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.gallery-tabs-nav .tab-link.active,
.gallery-tabs-nav .tab-link:hover {
    background: var(--primary);
    color: var(--white);
}

.gallery-grid-section { padding: 4rem 0; }
.gallery-clean-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }

.gallery-clean-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.gallery-clean-card:hover { transform: translateY(-5px); }

.clean-image-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.clean-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-clean-card:hover .clean-image-wrapper img { transform: scale(1.05); }

.clean-info { display: flex; flex-direction: column; gap: 0.5rem; }
.clean-info h3 { font-size: 1.2rem; font-weight: 600; color: var(--charcoal); }
.clean-price { font-size: 1.1rem; color: var(--gray); }
.clean-action {
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.clean-action:hover { color: var(--primary-dark); }

/* ===== 9. ABOUT PAGE V2 ===== */
.about-hero-v2 {
    padding: 3rem 0;
    text-align: center;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
}

.about-content-section { padding: 5rem 0; background: var(--cream); }

.about-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

/* Left Column: Visuals */
.image-frame-premium {
    position: relative;
    padding: 10px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.image-frame-premium:hover { transform: rotate(0deg) scale(1.02); }
.about-portrait { width: 100%; height: auto; display: block; border-radius: 8px; object-fit: cover; }

.about-stats-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 3rem;
    transform: rotate(2deg);
}

.stat-box {
    background: var(--white);
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.stat-number {
    font-family: 'MainTitleFont', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-icon { font-size: 2rem; color: var(--primary); margin-bottom: 0.5rem; }
.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Right Column: Text */
.about-lead-text {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.3;
    font-style: italic;
}

.bio-paragraphs p {
    font-size: 1.05rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-details-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.detail-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-light);
    transition: all 0.3s;
}

.detail-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-header i { font-size: 1.4rem; color: var(--primary); }
.detail-header h3 { font-size: 1.2rem; margin: 0; color: var(--charcoal); }
.detail-card p { font-size: 0.95rem; color: var(--gray); margin: 0; }

.about-cta { padding: 5rem 0; background: var(--white); border-top: 1px solid #e2e8f0; }

/* ===== 10. HOW IT WORKS GRID ===== */
.how-it-works-section { padding: 6rem 0; background: var(--white); }

.how-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.how-row:nth-child(even) { flex-direction: row-reverse; }

.how-number {
    font-family: 'MainTitleFont', serif;
    font-size: 8rem;
    color: var(--cream);
    line-height: 1;
    opacity: 0.8;
    font-weight: bold;
}

.how-text { flex: 1; max-width: 500px; }
.how-text h3 { font-size: 2rem; margin-bottom: 1rem; color: var(--primary-dark); font-family: 'MainTitleFont', serif; }
.how-text p { font-size: 1.1rem; color: var(--gray); line-height: 1.6; }

.how-image {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.how-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 300px;
}

.how-image img:nth-child(2) { margin-top: 3rem; }

/* ===== 11. QUIZ STYLES (FIXED FULL WIDTH) ===== */
.quiz-body { margin: 0; padding: 0; overflow: hidden; }

.quiz-master-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

/* Quiz Top Bar */
.quiz-top-bar {
    height: 60px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
    z-index: 10;
    flex-shrink: 0;
}

.quiz-exit-link { text-decoration: none; color: var(--charcoal); font-size: 1.2rem; }
.quiz-progress-container { flex-grow: 1; margin: 0 2rem; height: 4px; background: #eee; border-radius: 2px; }
.quiz-progress-bar { height: 100%; width: 0%; background: var(--primary); transition: width 0.3s ease; border-radius: 2px; }
.quiz-step-counter { font-weight: 600; color: var(--gray); font-size: 0.9rem; }

/* Quiz Content Area */
.quiz-content-area {
    flex-grow: 1;
    position: relative;
    width: 100%;
    display: flex;
}

.quiz-step {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: row;
}

.quiz-step.active { display: flex; }

/* Split Layout */
.split-left {
    width: 40%;
    height: 100%;
    background-color: var(--cream);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 3rem;
    border-right: 1px solid #eee;
    justify-content: center;
}

.split-right {
    width: 60%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 3rem;
}

/* Quiz Inner Content */
.question-box { margin: auto 0; width: 100%; max-width: 400px; align-self: center; }
.options-content { margin: auto 0; width: 100%; max-width: 800px; align-self: center; }

.text-content h1 {
    font-family: 'MainTitleFont', serif;
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.text-content p { font-size: 1.2rem; color: var(--gray); }
.quiz-back-btn {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Quiz Visual Grid (Step 1) */
.quiz-visual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.quiz-visual-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    border: 2px solid transparent;
    transition: all 0.2s;
    max-height: 250px;
}

.quiz-visual-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quiz-visual-item img { width: 100%; height: 100%; object-fit: cover; }
.quiz-visual-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.9);
    text-align: center;
    font-weight: 600;
    color: var(--charcoal);
}

/* Quiz Cards (Step 2) */
.quiz-cards-vertical { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.quiz-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.quiz-card:hover, .quiz-card.selected {
    border-color: var(--primary);
    background-color: #fffaf0;
    box-shadow: var(--shadow-sm);
}

.quiz-card-icon { font-size: 2rem; color: var(--primary); margin-right: 1.5rem; width: 40px; text-align: center; }
.quiz-card-text h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.quiz-card-text p { margin: 0; font-size: 0.9rem; color: var(--gray); }

/* Room Circles (Step 3) */
.room-circles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; justify-items: center; margin-bottom: 30px; width: 100%; }
.room-item-wrapper { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; min-height: 170px; justify-content: flex-start; }
.room-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.room-circle:hover { border-color: var(--primary); transform: translateY(-2px); }
.room-circle.selected { background-color: #FDF6E9; border-color: var(--primary); border-width: 2px; }
.room-circle i { font-size: 24px; color: var(--gray); margin-bottom: 6px; transition: color 0.2s; }
.room-circle.selected i { color: var(--primary); }
.room-circle span { font-size: 13px; color: var(--charcoal); font-weight: 500; text-align: center; line-height: 1.2; }

.room-counter-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
}

.room-circle.selected + .room-counter-controls { visibility: visible; opacity: 1; }

.counter-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--gray);
    font-size: 14px;
    transition: all 0.2s;
}

.counter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fffaf0;
}

.room-count {
    font-weight: 600;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
    color: var(--primary-dark);
}

/* Vertical Options */
.quiz-options-vertical { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.quiz-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    background: white;
    text-align: left;
    width: 100%;
}

.quiz-option-row:hover { border-color: var(--primary); }
.quiz-option-row h4 { margin: 0; font-size: 1.1rem; }

/* Quiz Forms */
.quiz-form-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    text-align: left;
}

.quiz-input-line {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    font-size: 1.8rem;
    padding: 0.5rem 0;
    outline: none;
    color: var(--charcoal);
    border-radius: 0;
    text-align: center;
}

.quiz-input-line:focus { border-bottom-color: var(--primary); }
.quiz-form-container label { font-size: 0.9rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Quiz Buttons & Actions */
.quiz-actions, .quiz-footer-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.quiz-skip-btn {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1rem;
    text-decoration: underline;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(139, 115, 85, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.full-width { width: 100%; }

/* Quiz Footer Layout */
.split-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    width: 100%;
}

.total-rooms-text {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Full Screen Centered (Loading/Match) */
.split-full {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white);
}

.designer-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-light);
}

.match-text { font-size: 1.2rem; margin-bottom: 2rem; }
.quiz-loading { text-align: center; }

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--cream);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.quiz-match-container { max-width: 600px; }

/* ===== 12. SHOP PAGE STYLES ===== */
.shop-page-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    padding: 2rem 0;
    gap: 2rem;
    transition: grid-template-columns 0.4s var(--ease-out);
}

.shop-sidebar {
    width: 280px;
    display: block;
    transition: all 0.4s var(--ease-out);
    transform: translateX(0);
}

.shop-page-container:not(.filters-open) .shop-sidebar {
    transform: translateX(-100%);
    width: 0;
    opacity: 0;
    visibility: hidden;
}

.shop-page-container:not(.filters-open) { grid-template-columns: 0px 1fr; gap: 0; }

.filter-toggle-btn {
    width: auto;
    height: 40px;
    padding: 0 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-light);
    cursor: pointer;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    background-color: var(--white);
    gap: 0.5rem;
}

.shop-page-container.filters-open .filter-toggle-btn { display: none; }

.filter-wrapper { border-right: 1px solid #e2e8f0; padding-right: 1rem; }
.filter-header { margin-bottom: 1rem; border-bottom: 2px solid #e2e8f0; padding-bottom: 0.5rem; display: flex; justify-content: space-between; align-items: center; }
.mobile-only { display: none; }

.filter-group { border-bottom: 1px solid #e2e8f0; padding: 1rem 0; }
.filter-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group-icon { font-size: 1.5rem; font-weight: 300; color: var(--primary); }
.filter-options-list { padding-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.filter-options-list label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.95rem; color: var(--gray); }

.shop-header { display: none; margin-bottom: 1rem; }
.view-results-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 2rem;
    transition: background-color 0.3s;
}

.view-results-btn:hover { background: var(--primary-dark); }

/* ===== 13. BUTTON STYLES ===== */
.cta {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.cta span {
    padding-bottom: 7px;
    letter-spacing: 4px;
    font-size: 14px;
    padding-right: 15px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-dark);
}

.cta svg {
    transform: translateX(-8px);
    transition: all 0.3s ease;
    fill: var(--primary-dark);
}

.cta:hover svg { transform: translateX(0); }
.cta:active svg { transform: scale(0.9); }

.hover-underline-animation {
    position: relative;
    padding-bottom: 20px;
}

.hover-underline-animation:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-dark);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.fancy {
    background-color: transparent;
    border: 2px solid #000;
    border-radius: 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
    outline: none;
    overflow: visible;
    padding: 1.25em 2em;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    transition: all 0.3s ease-in-out;
    user-select: none;
    font-size: 13px;
    width: 100%;
    background: var(--primary);
    border-color: var(--primary);
}

.fancy::before {
    content: " ";
    width: 1.5625rem;
    height: 2px;
    background: var(--white);
    top: 50%;
    left: 1.5em;
    position: absolute;
    transform: translateY(-50%);
    transform-origin: center;
    transition: background 0.3s linear, width 0.3s linear;
}

.fancy .text {
    font-size: 1.125em;
    line-height: 1.33333em;
    padding-left: 2em;
    display: block;
    text-align: left;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
}

.fancy .top-key {
    height: 2px;
    width: 1.5625rem;
    top: -2px;
    left: 0.625rem;
    position: absolute;
    background: #e8e8e8;
    transition: width 0.5s ease-out, left 0.3s ease-out;
}

.fancy .bottom-key-1 {
    height: 2px;
    width: 1.5625rem;
    right: 1.875rem;
    bottom: -2px;
    position: absolute;
    background: #e8e8e8;
    transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy .bottom-key-2 {
    height: 2px;
    width: 0.625rem;
    right: 0.625rem;
    bottom: -2px;
    position: absolute;
    background: #e8e8e8;
    transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy:hover {
    color: white;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.fancy:hover::before { width: 0.9375rem; background: white; }
.fancy:hover .text { color: white; padding-left: 1.5em; }
.fancy:hover .top-key { left: -2px; width: 0px; }
.fancy:hover .bottom-key-1, .fancy:hover .bottom-key-2 { right: 0; width: 0; }

/* ===== 14. BEFORE/AFTER SLIDER ===== */
.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    --exposure: 14%;
}

.slider-image-before, .slider-image-after {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
}

.slider-image-after-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--exposure);
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.slider-image-after { width: 100%; height: 100%; max-width: none; }
.slider-image-before { position: absolute; top: 0; left: 0; z-index: 1; }

.slider-control {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    cursor: ew-resize;
}

.slider-handle-line {
    position: absolute;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--white);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 5;
    left: var(--exposure);
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-handle-grip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    box-shadow: var(--shadow-md);
}

.slider-handle-grip i { font-size: 0.8rem; }
.slider-handle-grip i:first-child { padding-right: 3px; }
.slider-handle-grip i:last-child { padding-left: 3px; }

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--charcoal);
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Business Slider Fixes */
.business-visual-col {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.business-visual-col .before-after-slider {
    position: relative;
    width: 100%;
    height: 100%;
    --exposure: 50%;
    overflow: hidden;
}

.business-visual-col .slider-control {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 100;
    cursor: ew-resize;
    margin: 0;
}

.business-visual-col .slider-handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--exposure);
    width: 0;
    z-index: 5;
    pointer-events: none;
}

.business-visual-col .slider-handle-grip {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: #333;
}

/* ===== 15. FOOTER ===== */
.footer {
    background: var(--charcoal);
    color: var(--gray);
    padding: 3rem 0;
}

.footer-content { margin-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.footer-gallery-card {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out);
    border: 2px solid var(--primary-dark);
}

.footer-gallery-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
    border-color: var(--gold);
}

.card-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s var(--ease-out);
}

.footer-gallery-card:hover .card-bg-image { transform: scale(1.1); }

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 55, 72, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    transition: background 0.3s;
}

.footer-gallery-card:hover .card-overlay { background: rgba(45, 55, 72, 0.85); }

.card-overlay i { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
.card-overlay h4 { font-size: 1.25rem; font-weight: 600; color: var(--white); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

/* ===== 16. MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.modal-overlay.visible { display: block; opacity: 1; }

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 600px;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.modal-overlay.visible .modal-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header, .modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-footer {
    border-top: 1px solid #e2e8f0;
    border-bottom: none;
    background: var(--cream);
    border-radius: 0 0 12px 12px;
}

.btn-close { background: none; border: none; font-size: 2rem; cursor: pointer; padding: 0; }
.modal-body { padding: 1.5rem; overflow-y: auto; flex-grow: 1; }

/* Request Modal */
.request-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 2001;
    padding: 3rem 2rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
}

.btn-close-request {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

.request-header h2 {
    font-family: 'MainTitleFont', serif;
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2D3748;
    letter-spacing: 1px;
}

.request-header p {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.profile-selector {
    text-align: left;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.selector-label {
    font-size: 0.8rem;
    color: #666;
    display: block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.radio-group { display: flex; gap: 2rem; }
.custom-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
}

.custom-radio input { display: none; }
.radio-dot {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.custom-radio input:checked + .radio-dot { border-color: black; }
.custom-radio input:checked + .radio-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: black;
    border-radius: 50%;
}

.form-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.form-row.single { display: block; }

.req-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    background: #fcfcfc;
    font-size: 0.9rem;
    color: #333;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.req-input::placeholder { color: #aaa; }
.req-input:focus { border-color: #8B7355; background: #fff; }

.btn-get-price {
    width: 100%;
    background: black;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-get-price:hover { background: #4a4a4a; }
.privacy-note {
    font-size: 0.7rem;
    color: #999;
    margin-top: 1rem;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Photo Upload Area */
.photo-upload-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}

.photo-upload-area:hover {
    border-color: var(--primary);
    background: #fdfdfd;
}

.req-input[type="textarea"] {
    resize: vertical;
    min-height: 80px;
}

/* ===== 17. LIVE CHAT & SOCIAL WIDGETS ===== */
/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 0;
    right: 2rem;
    width: 320px;
    z-index: 9999;
    background: var(--white);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    font-family: 'Inter', sans-serif;
}

.chat-header {
    padding: 1rem;
    background: var(--primary);
    color: white;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.chat-body {
    padding: 1.5rem;
    border: 1px solid #eee;
    border-top: none;
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.chat-body textarea {
    width: 100%;
    height: 100px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.8rem;
    resize: none;
    font-family: inherit;
    margin-bottom: 1rem;
}

.chat-body p { margin-bottom: 1rem; color: var(--gray); font-size: 0.95rem; }

/* Sticky Social Sidebar */
#sticky-social {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: none;
}

@media (min-width: 1025px) {
    #sticky-social { display: block; }
}

#sticky-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#sticky-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--white);
    color: var(--charcoal);
    border: 1px solid #e2e8f0;
    border-left: none;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border-radius: 0 4px 4px 0;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}

#sticky-social li a:hover {
    background-color: var(--primary);
    color: var(--white);
    width: 55px;
    border-color: var(--primary);
}

/* Mobile Menu Socials */
.mobile-nav-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
}

.mobile-nav-socials a {
    color: var(--gray);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.mobile-nav-socials a:hover { color: var(--primary); }

/* ===== 18. BURGER MENU & MOBILE NAV ===== */
/* Burger Button */
.burger {
    position: relative;
    width: 40px;
    height: 30px;
    background: transparent;
    cursor: pointer;
    display: none;
    margin-left: 1rem;
}

.burger input { display: none; }

.burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--charcoal);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}

.burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
}

.burger input:checked ~ span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 5px;
}

.burger input:checked ~ span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 28px;
    left: 5px;
}

/* Mobile Navigation Dropdown */
.mobile-nav-menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99999;
    padding: 1rem 0 2rem;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: var(--shadow-lg);
}

.mobile-nav-menu.open {
    display: flex;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
    display: block;
    padding: 1rem 2rem;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid #f7f7f7;
    font-weight: 500;
}

.mobile-nav-link:hover {
    background: var(--cream);
    color: var(--primary);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

/* ===== 19. RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1024px) {
    .secondary-nav-bar { display: none; }
    .main-nav-tiles {
        display: none;
    }

/* Show Mobile Controls */
    .burger { display: block; }
    
    .mobile-logo {
        display: block;
        margin-right: auto; 
    }
    
    .top-bar-content {
        justify-content: space-between; /* Ensures Logo Left, Burger Right */
    }

    /* --- NEW: MOBILE CATEGORY BAR (Sticky) --- */
    .mobile-category-bar {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        background: #ffffff;
        padding: 12px 0;
        border-bottom: 1px solid #e2e8f0;
        
        /* Sticky Magic */
        position: sticky;
        top: 56px; /* Adjust if your top-bar height changes */
        z-index: 990;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .mob-cat-link {
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--charcoal);
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        flex: 1;
        text-align: center;
        letter-spacing: 0.5px;
    }

    .mob-cat-link i {
        font-size: 1.2rem;
        color: var(--primary);
    }

    .mob-cat-link:active {
        background-color: #f9f9f9;
        color: var(--primary);
    }

    /* Adjust header actions to fit logo */
    .header-actions {
        width: auto;
        gap: 15px;
    }
    
    /* Layout Adjustments */
    .quiz-step.active { flex-direction: column; }
    .split-left { width: 100%; padding: 2rem; border-right: none; border-bottom: 1px solid #eee; }
    .split-right { width: 100%; padding: 2rem; }
    
    /* Grid Adjustments */
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .offerings-grid, .gallery-clean-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .room-circles-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* About Page */
    .about-grid-v2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .image-frame-premium, .about-stats-grid-v2 { transform: none; }
    .about-visual-col { max-width: 500px; margin: 0 auto; }
    .about-lead-text { font-size: 1.5rem; text-align: center; }
    
    /* Business & How It Works Rows */
    .business-row, .business-row:nth-child(even),
    .how-row, .how-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .business-visual-col { height: 300px; width: 100%; }
    .how-number { font-size: 5rem; margin-bottom: 1rem; }
    .how-text { margin: 0 auto; }
    
    /* Footer Cards */
    .footer-gallery-card { height: 200px; }
}

@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-content {
        flex-direction: row !important; /* Force horizontal alignment */
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 5px; /* Minimal gap between items */
    }

    .header-actions {
        width: auto;
        gap: 5px;
        justify-content: flex-end;
    }
    
    /* Search Bar */
.container-ia-chat {
        width: auto; 
        flex-grow: 0;
    }

    /* Override the large margins and width from desktop styles */
    .input-text {
        width: 120px !important; /* Much smaller fixed width */
        max-width: 120px;
        margin-left: 0 !important; /* Remove the massive left margin */
        padding: 6px 10px 6px 30px; /* Compact padding */
        font-size: 13px;
        background-color: #f5f5f5; /* Slightly distinct background */
    }

    /* Adjust the search icon position for the smaller bar */
    .label-text {
        right: auto;
        left: 5px; /* Move icon to the left inside input */
        width: 25px;
        height: 25px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        box-shadow: none;
        color: #888;
        pointer-events: none; /* Let clicks pass through to input */
        opacity: 1;
        visibility: visible;
    }
    
    /* Hide the flashy expand animations on mobile to prevent breaking layout */
    .input-text:focus-within, 
    .input-text:valid {
        width: 140px !important; /* Only expand slightly */
        margin-left: 0;
    }
    
    /* Language Selector */
.language-dropdown-v6 {
        padding: 5px 8px;
        border-radius: 6px;
        align-self: center;
        margin: 0;
    }
    
    .language-dropdown-v6 summary {
        font-size: 0.8rem;
    }
    
    /* Hide the globe icon on very small screens to save space */
    .language-dropdown-v6 summary i.fa-globe {
        display: none;
    }
    
    /* Hero Sections */
    .slogan { font-size: 2.5rem; }
    
    /* Navigation Cards */
    .main-nav-tiles .nav-container {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .card-container {
        width: 90%;
        max-width: 300px;
        height: 200px;
        flex: none;
    }
    
    /* Grid Adjustments */
    .offerings-grid, .gallery-clean-grid, .benefits-grid { grid-template-columns: 1fr; }
    .shop-grid { grid-template-columns: 1fr; }
    
    /* Shop Page */
    .shop-page-container { grid-template-columns: 1fr; gap: 0; }
    .shop-sidebar {
        display: none;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        background: var(--white);
        z-index: 2000;
        padding: 1rem;
        overflow-y: auto;
    }
    
    .shop-sidebar.is-open { display: block; }
    
    /* Form Adjustments */
    .form-row, .radio-group { flex-direction: column; gap: 1rem; }
    
    /* Request Modal */
    .request-modal-content { padding: 2rem 1.5rem; width: 95%; }
    
    /* Quiz Visual Grid */
    .quiz-visual-grid { grid-template-columns: 1fr; }
    
    /* Footer Layout */
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    /* Further mobile optimizations */
    .room-circles-grid { grid-template-columns: 1fr; }
    .split-footer { flex-direction: column; gap: 15px; align-items: stretch; text-align: center; }
    .btn-nav-login, .btn-nav-get-started { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
    .header-actions { gap: 1rem; }
}

/* ===== 20. IMAGE ASPECT RATIOS ===== */
.product-card-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 713;
    object-fit: cover;
}

.gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 713;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* --- SMOOTH BUSINESS ACCORDION --- */
.business-details-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother easing */
    border-left: 2px solid var(--primary); /* Thinner line */
    background: #fdfbf7; /* Very subtle warm tint */
    margin-top: 0;
    opacity: 0; /* Fade effect */
}

.business-details-content {
    padding: 1.5rem 2rem; /* More breathing room */
}

.business-details-content ul {
    margin: 0;
    padding-left: 1rem;
}

.business-details-content li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
}

.business-details-wrapper.open {
    max-height: 600px;
    margin-top: 1rem;
    margin-bottom: 2rem; /* Add space below it so buttons don't jam up */
    opacity: 1;
}

/* The button */
.business-expand-btn {
    cursor: pointer;
    color: var(--primary-dark);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}
.business-expand-btn:hover { color: var(--primary); }
.business-expand-btn i { transition: transform 0.3s; }
.business-expand-btn.active i { transform: rotate(180deg); }


/* --- PHOTO UPLOAD MODAL --- */
.photo-upload-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}
.photo-upload-area:hover {
    border-color: var(--primary);
    background: #fdfdfd;
}
.req-input[type="textarea"] {
    resize: vertical;
    min-height: 80px;
}

.hiw-tags {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.hiw-tags span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--cream);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* SOCIAL PROOF WIDGETS */
.social-stats {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.85);
    padding: 5px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 5;
    font-size: 0.8rem;
    color: var(--charcoal);
    font-weight: 600;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: default;
}

.stat-item.views { color: var(--gray); }

.stat-item.likes { 
    cursor: pointer; 
    transition: transform 0.2s;
}

.stat-item.likes:hover { transform: scale(1.1); }

/* Active Like State */
.stat-item.likes.active { color: #e74c3c; } /* Красное сердце */
.stat-item.likes.active i { color: #e74c3c; }

/* Styles for secondary buttons (Send Photos / Visualizer) */
.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--charcoal);
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px; /* Add spacing between buttons */
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ===== VISIBLE LANGUAGE SWITCHER ===== */

.language-dropdown-v6 {
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.language-dropdown-v6:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.language-dropdown-v6 summary {
    font-weight: 700;
    color: var(--charcoal);
    font-size: 0.95rem;
    text-transform: uppercase;
}

.language-dropdown-v6 summary i.fa-globe {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Выпадающий список делаем больше и чище */
.lang-dropdown-content-v6 {
    min-width: 140px;
    padding: 10px 0;
    border: 1px solid var(--primary-light);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    margin-top: 10px;
}

.lang-option-v6 {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
}

.lang-option-v6:hover {
    background-color: var(--cream);
    color: var(--primary);
    padding-left: 25px;
}

/* ===== MOBILE MENU SOCIAL ICONS FIX ===== */
.mobile-menu-socials {
    display: flex;
    justify-content: center; /* Centers items horizontally */
    align-items: center;
    gap: 25px; /* Adds space between icons so they aren't squashed */
    padding: 20px 0 30px; /* Vertical breathing room */
    margin-top: auto; /* Pushes it to the bottom of the menu */
    border-top: 1px solid #f0f0f0; /* Subtle separator line */
    width: 100%;
    background: var(--white);
}

.mobile-menu-socials a {
    color: var(--charcoal); /* Dark color by default */
    font-size: 1.6rem; /* Make them BIGGER (26px) for touch targets */
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Ensure clickable area is large enough */
    height: 40px;
}

.mobile-menu-socials a:hover {
    color: var(--primary); /* Gold on hover */
    transform: scale(1.2); /* Fun pop effect */
}

/* ========================================= */
/* 21. INTRO BLOBS ANIMATION (PREMIUM)       */
/* ========================================= */

.intro-blobs-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background: var(--cream);
    z-index: 1; /* Базовый слой */
}

.blobs-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Используем золотые оттенки с прозрачностью */
    background-image: 
        radial-gradient(ellipse 62px 59px at 50% 50%, rgba(212, 175, 55, 0.25) 0%, transparent 100%), 
        radial-gradient(ellipse 96px 64px at 50% 50%, rgba(193, 154, 107, 0.25) 0%, transparent 100%), 
        radial-gradient(ellipse 91px 66px at 50% 50%, rgba(212, 175, 55, 0.2) 0%, transparent 100%), 
        radial-gradient(ellipse 67px 50px at 50% 50%, rgba(139, 115, 85, 0.2) 0%, transparent 100%), 
        radial-gradient(ellipse 81px 63px at 50% 50%, rgba(212, 175, 55, 0.25) 0%, transparent 100%), 
        radial-gradient(ellipse 72px 65px at 50% 50%, rgba(193, 154, 107, 0.25) 0%, transparent 100%), 
        radial-gradient(ellipse 55px 58px at 50% 50%, rgba(212, 175, 55, 0.3) 0%, transparent 100%);
    background-size: 1164px 581px, 879px 398px, 835px 1144px, 907px 586px, 639px 854px, 1159px 932px, 767px 492px;
    animation: blobs-flow 120s linear infinite;
    z-index: -2; /* Уводим на самый задний план */
    opacity: 0.8;
    will-change: transform;
    transform: translateZ(0);
}

.blobs-bg-over {
    position: absolute;
    inset: 0;
    z-index: -1; /* Поверх пятен, но под текстом */
    /* Текстура шума */
    background-image: radial-gradient(circle at 50% 50%, transparent 0, transparent 2px, rgba(250, 249, 246, 0.2) 2px);
    background-size: 8px 8px;
    /* Размытие для эффекта "матового стекла" */
    -webkit-backdrop-filter: blur(60px); 
    backdrop-filter: blur(60px);
}

.blobs-content {
    position: relative;
    z-index: 10; /* Текст должен быть поверх всего */
}

@keyframes blobs-flow {
    0% { background-position: 895px 98px, 872px 234px, 321px 579px, 30px 530px, 80px 766px, 114px 415px, 393px 476px; }
    100% { background-position: -16565px 12299px, 18452px 6602px, -13039px 9731px, 12728px -12362px, 13499px -2650px, 15181px 18123px, -18015px 11300px; }
}

/* Стили для сетки Intro */
.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 { 
    font-size: 3.5rem; 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    color: var(--charcoal); 
}

.intro-text p { 
    font-size: 1.2rem; 
    color: var(--charcoal); 
    margin-bottom: 2rem; 
    opacity: 0.9; 
}

.intro-stats-box {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.intro-stat { 
    margin-bottom: 1.5rem; 
    border-bottom: 1px solid rgba(0,0,0,0.05); 
    padding-bottom: 1rem; 
}

.intro-stat:last-child { margin-bottom: 0; border: none; }

.intro-stat strong { 
    font-size: 2rem; 
    color: var(--primary); 
    display: block; 
    margin-bottom: 0.2rem;
}

.intro-stat span { 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--gray); 
}

/* Мобильная адаптация */
@media (max-width: 900px) {
    .intro-grid { grid-template-columns: 1fr; }
    .intro-text h2 { font-size: 2.5rem; }
    .intro-blobs-section { padding: 4rem 0; }
}

/* ===== МОБИЛЬНЫЕ СОЦСЕТИ (ИСПРАВЛЕНИЕ) ===== */

/* 1. Контейнер для иконок */
.mobile-menu-socials {
    display: flex;
    justify-content: center; /* Выравниваем по центру */
    align-items: center;
    gap: 30px; /* Большой отступ между иконками */
    padding: 30px 0; /* Воздух сверху и снизу */
    margin-top: auto; /* Прижимаем к самому низу меню */
    border-top: 1px solid #eee; /* Тонкая линия-разделитель сверху */
    width: 100%;
    background: #fff; /* Белый фон */
}

/* 2. Сами иконки */
.mobile-menu-socials a {
    color: #2D3748; /* Темно-серый (Charcoal), а не фиолетовый! */
    font-size: 1.8rem; /* КРУПНЫЕ иконки (около 28px) */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; /* Минимальная зона клика для пальца */
    height: 44px;
    transition: transform 0.2s, color 0.2s;
}

/* 3. Эффект при нажатии/наведении */
.mobile-menu-socials a:hover {
    color: #D4AF37; /* Золотой при касании */
    transform: scale(1.2);
}

/* ДОПОЛНИТЕЛЬНО: Центрируем текст ссылок меню для красоты */
.mobile-nav-link {
    text-align: center; /* Текст меню по центру выглядит премиальнее */
    font-size: 1.2rem;
}

/* =========================================
   FINAL UI POLISH FIXES (Dec 2024)
   ========================================= */

/* --- 1. GLOBAL SCALING (Fixes "Everything is too big") --- */
html {
    /* Default is usually 16px. 
       Setting to 14.5px scales the whole site down by ~10% on desktop.
    */
    font-size: 14.5px; 
}

/* On mobile, we keep it readable */
@media (max-width: 768px) {
    html { font-size: 16px; }
}

/* --- 2. STOP SEARCH ZOOM & HORIZONTAL SCROLL --- */
input, textarea, select {
    /* Prevents iOS from zooming in when you click search */
    font-size: 16px !important; 
}

body, html {
    /* Prevents the whole page from wobbling left/right */
    overflow-x: hidden !important; 
    width: 100%;
}

/* Allow scroll ONLY on the category tabs */
.gallery-tabs-nav, 
.mobile-category-bar,
.category-tabs {
    overflow-x: auto !important;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px; /* Hides scrollbar on some browsers */
}

/* --- 3. MOBILE CHAT WIDGET (Fixes "Too Big") --- */
@media (max-width: 768px) {
    .live-chat-widget {
        width: 60px !important;
        height: 60px !important;
        bottom: 20px !important;
        right: 20px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: var(--primary) !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    }

    .chat-header {
        padding: 0 !important;
        background: transparent !important;
        justify-content: center !important;
        height: 100% !important;
    }

    .chat-header span { 
        display: none !important; /* Hides the text "Message Us" */ 
    }

    .chat-header i#chat-toggle-icon {
        display: none !important; /* Hides the arrow icon */
    }

    /* We add a specific icon via CSS for the button */
    .chat-header::after {
        content: "\f086"; /* FontAwesome Comment Icon */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 1.5rem;
        color: white;
    }

    /* When Chat is OPEN, we make it full screen or larger */
    .live-chat-widget.open {
        width: 300px !important;
        height: auto !important;
        border-radius: 12px !important;
    }
}

/* --- 4. MODAL CLOSE BUTTON (Fixes "Can't close") --- */
.btn-close-request {
    /* Ensure it is ABOVE everything else */
    z-index: 9999 !important; 
    cursor: pointer !important;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    line-height: 1;
    background: white; /* Make it visible */
    border-radius: 50%;
}

/* --- 5. JOURNAL FIXES (Fixes Overlap) --- */
.news-img-wrapper {
    position: relative;
}

.news-date {
    z-index: 5; /* Ensure date sits on top of image */
    background: rgba(255, 255, 255, 0.9) !important; /* Readable background */
    top: 10px !important;
    left: 10px !important;
    font-size: 0.75rem !important;
}

/* Fix for placeholder overlap if image is missing */
.news-img-wrapper img {
    background: #eee; /* Light gray background if image loads slowly */
}

/* FIX: Prevent "Ghost Overlay" from blocking clicks */
.modal-overlay {
    /* Default state: Invisible and Click-through */
    display: none;
    pointer-events: none !important; 
    opacity: 0;
    z-index: 9990;
}

/* Open state: Visible and Clickable */
.modal-overlay.visible {
    display: flex !important;
    pointer-events: auto !important;
    opacity: 1;
}

/* Ensure the Close Button is ALWAYS clickable above everything */
.btn-close-request {
    z-index: 10000 !important;
    cursor: pointer;
}