/* DECORPROJECT STYLESHEET - OPTIMIZED VERSION */

/* ===== 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;
    
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; 
    width: 100%;
    
    /* --- VERTICAL CENTERING FIX --- */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Puts content in the middle of the empty space */
}

.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;
        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;
    /* Speed set to 80s. Increase to 120s if you want it slower */
    animation: scroll-v6 130s linear infinite;
}

.v6-marquee-track:hover { animation-play-state: paused; }

.v6-slide-img {
    height: 250px;      /* Fixed Height */
    width: 350px;       /* Fixed Width (This makes them all the same size) */
    margin: 0 15px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    flex-shrink: 0;
    background: #f9f9f9;
}

a.v6-slide-img {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

a.v6-slide-img:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.v6-slide-img img {
    height: 100%;
    width: 100%;        /* Forces image to fill the 350px box */
    object-fit: cover;  /* Crops edges slightly to fit perfectly */
    display: block;
}

@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; }

/* ===== 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 (PREMIUM LAYOUT - NO STATS) ===== */
.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 Only) */
.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; }

/* 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; }

/* Responsive Adjustments */
@media (max-width: 900px) {
    .about-grid-v2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .image-frame-premium {
        max-width: 400px;
        margin: 0 auto;
        transform: rotate(0deg); /* Reset rotation on mobile for cleaner look */
    }
}

/* ===== 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; }

/* ===== 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; }

/* 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-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;
    max-height: 90vh;
    overflow-y: auto;
}

.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; }

/* ROTATE ARROW WHEN CHAT IS OPEN */
.chat-header.active #chat-toggle-icon {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* 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) {
    /* 1. HIDE Desktop Navigation Text */
    .secondary-nav-bar { display: none; }

    /* 2. 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 */
    }

    .about-grid-v2 { grid-template-columns: 1fr; gap: 3rem; }
    .image-frame-premium { max-width: 400px; margin: 0 auto; transform: none; }
    .business-row { flex-direction: column; text-align: center; }

/* 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;
    }
      
    /* 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: 13.5px; }
}

/* --- 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 --- */
@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;
}

/* --- 2. HIDE PRICES GLOBALLY --- */
.price-tag, .product-price, .old-price {
    display: none !important;
}

/* --- 3. MODAL IMAGE PREVIEW --- */
#modal-preview-img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
    display: none; /* Hidden by default */
    background: #f9f9f9;
}

/* --- 4. BUTTON HOVER TEXTS (Tooltip style) --- */
.btn-hover-info {
    position: relative;
}
.btn-hover-info:hover::after {
    content: attr(data-hover-text);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* --- 1. MASONRY GRID LAYOUT --- */
.gallery-grid {
    display: block; /* Disables standard grid to allow columns */
    column-count: 3; /* Creates 3 vertical columns */
    column-gap: 25px; /* Space between columns */
}

/* Responsive Columns */
@media (max-width: 1024px) {
    .gallery-grid { column-count: 2; }
}
@media (max-width: 600px) {
    .gallery-grid { column-count: 1; }
}

.gallery-card, 
.gallery-clean-card {
    break-inside: avoid; /* Prevents card from being cut between columns */
    margin-bottom: 25px; /* Space between items vertically */
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    display: inline-block; /* Necessary for column layout stability */
    width: 100%;
}

/* --- 2. NATURAL IMAGE SHAPE (No Crop, No Borders) --- */
.watermark-container,
.clean-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto !important; /* Let height grow naturally based on image */
    border-radius: 8px; /* Soft corners */
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* REMOVED: aspect-ratio and background-color */
}

.watermark-container img,
.clean-image-wrapper img {
    width: 100%;
    height: auto; /* Maintains original photo ratio */
    display: block;
    object-fit: cover; /* Ensures it fills width perfectly */
}

/* Hover Effect */
.gallery-card:hover .watermark-container,
.gallery-clean-card:hover .clean-image-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* --- 4. MODAL FIXES (Show Full Image) --- */
#modal-img-container {
    width: 100%;
    max-width: 400px; /* Limit width on desktop so it fits */
    height: auto;
    margin: 0 auto 20px;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

#modal-img-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* --- 5. CLEAN UP --- */
.price-tag, .product-price, .old-price, .clean-price {
    display: none !important;
}

/* --- NEW BUSINESS STRATEGY SECTION --- */
.business-new-section {
    padding: 20px 0;
}

.bus-intro {
    text-align: center;
    margin-bottom: 60px;
}

.bus-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.bus-feat-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.bus-feat-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.bus-advantages {
    margin-bottom: 60px;
}

.bus-advantages h3 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.adv-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border-left: 3px solid #d4af37;
}

.adv-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.adv-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.bus-collab-savings {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.collab-box {
    flex: 1;
    min-width: 300px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.collab-box h3 {
    margin-bottom: 20px;
    color: #333;
}

.collab-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.collab-box ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #555;
}

.collab-box ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.savings-box {
    flex: 2;
    min-width: 300px;
}

.savings-box h3 {
    margin-bottom: 5px;
}

.savings-box h4 {
    margin-bottom: 20px;
    color: #d4af37;
    font-weight: 500;
}

.savings-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.save-col h5 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 700;
}

.save-col p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

.sust-footer {
    background: #fff;
    border: 1px solid #eee;
    border-left: 5px solid #d4af37;
    padding: 20px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .bus-collab-savings {
        flex-direction: column;
    }
}

/* Gallery Grid Uniform Squares */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.gallery-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

/* Force container to be square */
.card-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f8f8f8; /* Light gray to fill empty space */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ensure full image is visible (no cropping) */
.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.card-details {
    padding: 15px;
    text-align: center;
}

.card-details h3:empty {
    display: none;
}

/* 1. The Missing Button Style */
.btn-primary {
    background-color: var(--primary); /* Uses your Gold/Brown var */
    color: #fff;
    border: 2px solid var(--primary);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* 2. Spacing in About Section */

.about-cta-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
}

/* Mobile Alignment Fix */
@media (max-width: 768px) {
    .about-cta-container {
        align-items: center; /* Center on mobile */
    }
}

/* ===== PERSONAL PAGE LAYOUT (2 Top / 3 Bottom) ===== */

.personal-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columns */
    gap: 30px;
    margin-bottom: 30px;
    max-width: 900px; /* Limits width so the 2 cards don't look huge */
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

.personal-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 30px;
}

/* Make sure the text inside cards looks consistent */
.card-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal);
}

/* Responsive: Stack everything on mobile */
@media (max-width: 768px) {
    .personal-row-2, 
    .personal-row-3 {
        grid-template-columns: 1fr; /* Stack vertically */
        max-width: 100%;
    }
}

/* ===== FIX IMAGE SIZES (Paste below your Personal Page Layout) ===== */

/* 1. Force the image container to be a perfect square */
.personal-row-2 .watermark-container,
.personal-row-3 .watermark-container {
    width: 100%;
    aspect-ratio: 1 / 1;       /* Forces square shape */
    height: auto !important;   /* Overrides any old height settings */
    position: relative;        /* needed for the image alignment */
}

/* 2. Crop the image to fit the square */
.personal-row-2 .watermark-container img,
.personal-row-3 .watermark-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zooms in to fill the square without stretching */
}

/* =========================================
   FINAL FIX V17 (Compact Mobile & Desktop Clean)
   ========================================= */

/* 1. GLOBAL RESET: Hide X button by default */
#mobile-close-btn, 
.mobile-chat-close-btn {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 2. DESKTOP (Strictly Hide X Button, Restore Header) */
@media (min-width: 769px) {
    #mobile-close-btn,
    .mobile-chat-close-btn {
        display: none !important; 
    }
    
    .live-chat-widget.open .chat-header {
        height: auto !important;
        padding: 1rem !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .live-chat-widget.open .chat-header span,
    .live-chat-widget.open .chat-header i#chat-toggle-icon {
        display: inline-block !important;
    }
}

/* 3. MOBILE (Compact Layout & Chat Fixes) */
@media (max-width: 768px) {
    
    /* --- A. COMPACT SLIDESHOW --- */
    .v6-slide-img {
        height: 150px !important;   /* Reduced from 250px */
        width: 200px !important;    /* Proportional width */
        margin: 0 5px !important;
    }
    
    .v6-marquee-slideshow {
        padding: 10px 0 !important; /* Less whitespace */
    }

    /* --- B. CARDS: 3-IN-A-ROW (No Slider) --- */
    .main-nav-tiles {
        background: #ffffff !important;
        box-shadow: none !important;
        border: none !important;
        padding-top: 5px !important;
    }

    .main-nav-tiles .nav-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;    /* DISABLE SLIDER/SCROLL */
        justify-content: space-between !important;
        gap: 5px !important;            /* Tight gap */
        padding: 0 10px !important;
        background: transparent !important;
    }

    .card-container {
        flex: 1 1 0px !important;       /* Split width equally */
        width: auto !important;
        min-width: 0 !important;
        height: 100px !important;       /* Small square cards */
        margin: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Kill the Brown Shadow/Glow */
    .card-container::before {
        display: none !important;
        background: none !important;
    }

    /* Small Text & Icons */
    .card .img-content i {
        font-size: 1.2rem !important;
        margin-bottom: 2px !important;
    }
    
    .card-title-overlay {
        font-size: 0.6rem !important;
        white-space: nowrap !important; /* Prevent text wrapping */
    }

    /* --- C. CHAT X BUTTON (Top Right) --- */
    /* Target BOTH ID and Class to be safe */
    .live-chat-widget.open #mobile-close-btn,
    .live-chat-widget.open .mobile-chat-close-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute !important;
        top: -15px !important;    
        right: -5px !important;   
        left: auto !important;
        width: 40px; height: 40px;
        background: #2D3748; color: white;
        border: 2px solid white; border-radius: 50%;
        font-size: 1.5rem; line-height: 1; cursor: pointer;
        z-index: 999999 !important; pointer-events: auto !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        opacity: 1 !important; 
    }

    .live-chat-widget.open .chat-header {
        height: 0 !important; padding: 0 !important; border: none !important;
        opacity: 0 !important; pointer-events: none !important;
    }
    
    .live-chat-widget.open { overflow: visible !important; }
}

/* =========================================
   22. BUSINESS CARDS: PREMIUM (GHOST NUMBERS)
   ========================================= */

.bus-advantages h3 {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'MainTitleFont', serif; /* Use Premium Font */
    font-size: 2.5rem;
    color: var(--charcoal);
}

.adv-grid {
    display: grid;
    /* Force 4 columns on Desktop */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-bottom: 60px;
}

.adv-item {
    position: relative;
    background: #fff;
    border-radius: 4px; /* Sharper corners = More corporate/premium */
    height: 260px; 
    padding: 2rem;
    
    /* Subtle Border instead of heavy shadow */
    border: 1px solid rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--gold); /* Gold accent on bottom */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    cursor: default;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

/* --- GHOST NUMBERS (AUTO-GENERATED) --- */
/* This adds 01, 02, 03, 04 behind the text automatically */
.adv-grid .adv-item:nth-child(1)::before { content: "01"; }
.adv-grid .adv-item:nth-child(2)::before { content: "02"; }
.adv-grid .adv-item:nth-child(3)::before { content: "03"; }
.adv-grid .adv-item:nth-child(4)::before { content: "04"; }

.adv-item::before {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    font-family: 'MainTitleFont', serif;
    color: rgba(0,0,0,0.03); /* Very faint ghost text */
    z-index: 0;
    transition: all 0.5s ease;
    line-height: 1;
}

/* --- SCROLL ANIMATION (WATERFALL) --- */
.scroll-trigger {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-trigger.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays are handled in HTML, but we ensure smooth transition here */

/* --- HOVER EFFECTS --- */
.adv-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); /* Soft, expensive shadow */
    border-color: transparent;
}

/* Move Ghost Number on Hover */
.adv-item:hover::before {
    transform: translateY(-10px) scale(1.1);
    color: rgba(212, 175, 55, 0.1); /* Turns faint gold */
}

.adv-content {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
    width: 100%;
}

.adv-item h4 {
    color: var(--charcoal);
    font-family: 'MainTitleFont', serif; /* Premium Font */
    font-size: 1.4rem; 
    margin: 0;
    transition: all 0.4s ease;
    line-height: 1.2;
}

.adv-item p {
    font-size: 0.95rem;
    color: #666;
    margin-top: 15px;
    line-height: 1.6;
    
    /* VISUAL LOGIC: Fade in nicely */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    
    /* Absolute positioning to keep Title perfectly centered initially */
    position: absolute; 
    left: 0; right: 0;
}

/* HOVER STATE ACTION */
.adv-item:hover h4 {
    transform: translateY(-40px); /* Slide title up */
    color: var(--gold);
}

.adv-item:hover p {
    opacity: 1;
    transform: translateY(0);
    position: relative; /* Returns to flow */
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .adv-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
        max-width: 700px;
        margin: 0 auto 40px;
    }
}

@media (max-width: 600px) {
    .adv-grid {
        grid-template-columns: 1fr; /* Stack */
    }
    .adv-item {
        height: auto;
        padding: 2rem;
        align-items: flex-start; /* Align text left on mobile */
        text-align: left;
    }
    .adv-item h4 { transform: none !important; color: var(--gold); }
    .adv-item p { opacity: 1; transform: none; position: relative; margin-top: 10px; }
    .adv-item::before { font-size: 5rem; top: 10px; right: 10px; }
}

/* =========================================
   23. PREMIUM STRATEGY SECTION (DASHBOARD LOOK)
   ========================================= */

.premium-strategy-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Left side smaller, Right side wider */
    gap: 60px;
    align-items: stretch;
    margin-bottom: 80px;
}

/* --- LEFT SIDE: DARK CARD --- */
.strategy-card.dark {
    background: var(--charcoal);
    color: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(45, 55, 72, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Subtle Gold Gradient overlay */
.strategy-card.dark::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--gold), #fbf5e6);
}

.strategy-card-header {
    margin-bottom: 2rem;
}

.strategy-card-header i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.strategy-card-header h3 {
    font-family: 'MainTitleFont', serif;
    font-size: 2rem;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}

.strategy-list {
    margin-bottom: 2rem;
}

.s-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.s-dot {
    min-width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    margin-top: 8px;
    margin-right: 15px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.s-item p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.strategy-highlight {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

.strategy-highlight p {
    font-weight: 600;
    color: #fff;
    font-size: 1.05rem;
    margin: 0;
    font-style: italic;
}

/* --- RIGHT SIDE: VALUE GRID --- */
.strategy-values {
    padding: 1rem 0;
}

.val-header h3 {
    font-family: 'MainTitleFont', serif;
    font-size: 2.2rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.val-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
}

.val-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.val-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.val-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-light);
}

.val-icon {
    width: 50px;
    height: 50px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.val-card h5 {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 5px;
    font-weight: 700;
}

.val-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* Bottom Banner */
.sust-banner {
    background: #fdfbf7; /* Very subtle gold tint */
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sb-icon {
    font-size: 2rem;
    color: var(--gold);
}

.sb-text h5 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.sb-text p {
    font-size: 0.9rem;
    color: var(--charcoal);
    margin: 0;
}

/* --- RESPONSIVE STRATEGY --- */
@media (max-width: 1024px) {
    .premium-strategy-container {
        grid-template-columns: 1fr; /* Stack vertically on tablet */
        gap: 40px;
    }
    .strategy-card.dark {
        padding: 2rem;
    }
}

/* =========================================
   24. PREMIUM PROBLEMS SECTION (DARK MODE)
   ========================================= */

.premium-problems-section {
    padding: 6rem 0;
    background: var(--charcoal); /* Dark contrast section */
    color: #fff;
    position: relative;
    overflow: hidden;
    /* Optional decorative top border */
    border-top: 4px solid var(--gold);
}

/* Background Texture for Depth */
.premium-problems-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.prob-header {
    text-align: center;
    margin-bottom: 4rem;
}

.premium-tag {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.prob-header h2 {
    color: #fff;
    font-family: 'MainTitleFont', serif;
    font-size: 3rem;
    margin: 0;
}

/* --- GRID LAYOUT --- */
.prob-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- CARD DESIGN --- */
.prob-card {
    background: rgba(255, 255, 255, 0.03); /* Glassy Dark Effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hover Effect: Glow & Lift */
.prob-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.prob-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
    
    /* Circle background for icon */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prob-card:hover .prob-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gold);
    color: var(--charcoal);
}

.prob-content h4 {
    font-family: 'MainTitleFont', serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prob-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .prob-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Tablet */
    }
}

@media (max-width: 768px) {
    .prob-grid {
        grid-template-columns: 1fr; /* 1 Column on Mobile */
        gap: 20px;
    }
    .prob-header h2 {
        font-size: 2.2rem;
    }
}