/* ========================
   1. Variables & Reset
   ======================== */
   :root {
    /* DEFAULT THEME: POWERWASHING (Green/Blue) */
    --color-primary-dark: #2A4D14;   /* Deep Forest Green */
    --color-primary-light: #317B22;  /* Vibrant Green */
    --color-bbb-blue: #005A8B;       /* BBB Logo Blue */
    --color-accent: #40798C;         /* Teal/Blue-Grey */
    --color-discount: #5B9BD5;       /* Light Blue for Discount text */
    --color-border: #CCCCCC;         /* Light Grey */
    --color-bg: #F2F2F2;             /* Off-White Background */
    --color-white: #ffffff;
    
    /* Typography & Effects */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-card: 0 10px 30px rgba(42, 77, 20, 0.08);
    --shadow-hover: 0 15px 35px rgba(42, 77, 20, 0.15);
    --radius: 12px;
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* THEME: RENOVATIONS (Red/Black) */
body.theme-renovations {
    --color-primary-dark: #2B2828;   /* Dark Charcoal */
    --color-primary-light: #AB2222;  /* Deep Red */
    --color-bbb-blue: #AB2222;       /* Text badges turn Red */
    --color-accent: #868784;         /* Industrial Grey */
    --color-discount: #5B9BD5;       /* Light Blue stays consistent across themes */
    
    --shadow-card: 0 10px 30px rgba(43, 40, 40, 0.15);
    --shadow-hover: 0 15px 35px rgba(43, 40, 40, 0.25);
}

/* =========================================
   CONTENT FILTERING LOGIC
   ========================================= */

/* DEFAULT (Powerwashing Active): Hide Reno Content */
.category-reno {
    display: none !important;
}
.category-power {
    display: block !important;
}

/* RENOVATIONS ACTIVE: Hide Power Content, Show Reno */
body.theme-renovations .category-power {
    display: none !important;
}
body.theme-renovations .category-reno {
    display: block !important;
}

/* ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg);
    color: var(--color-primary-dark);
    font-family: var(--font-body);
    line-height: 1.7;
    width: 100%;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body.no-scroll {
    overflow: hidden;
}

/* ========================
   2. Utilities
   ======================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding { padding: 100px 0; }
.bg-alt { background-color: var(--color-white); }
.bg-dark { background-color: var(--color-primary-dark); color: var(--color-white); transition: background-color 0.5s ease; }
.bg-light-green { background-color: #e8f5e9; }

body.theme-renovations .bg-light-green { background-color: #f4eeee; }

.text-white { color: var(--color-white) !important; }
.text-light-grey { color: #f0f0f0 !important; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 2.5rem; color: var(--color-primary-dark); margin-bottom: 15px; }
.section-subtitle { font-size: 1.1rem; color: var(--color-accent); }
.title-underline {
    width: 60px; height: 4px; background: var(--color-primary-light);
    margin: 0 auto 20px; border-radius: 2px;
}
.title-underline.bg-white { background: var(--color-white); }

/* Scroll Animation Class */
.hidden { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.show { opacity: 1; transform: translateY(0); }

/* ========================
   3. Navigation & Logo Switcher
   ======================== */
header {
    position: fixed;
    top: 0; 
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    padding: 15px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* Logo Toggles (Left Side) */
.logo-toggles {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Circular Logo Container */
.brand-circle {
    width: 110px;  
    height: 110px;
    border-radius: 50%;
    background: transparent; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: visible; 
    border: 4px solid transparent; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.6; 
    filter: grayscale(80%);
}

.brand-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    padding: 0; 
    transition: transform 0.3s ease;
}

.brand-circle:hover {
    opacity: 0.9;
    filter: grayscale(0%);
}

.brand-circle:hover img {
    transform: scale(1.1); 
}

/* When header shrinks, shrink logos slightly */
header.scrolled .brand-circle {
    width: 90px;
    height: 90px;
}

/* ACTIVE STATE: POWERWASHING */
#trigger-power.active {
    opacity: 1;
    filter: grayscale(0%);
    border-color: #317B22;
    filter: drop-shadow(0 0 10px rgba(49, 123, 34, 0.4));
}

/* ACTIVE STATE: RENOVATIONS */
#trigger-reno.active {
    opacity: 1;
    filter: grayscale(0%);
    border-color: #AB2222;
    filter: drop-shadow(0 0 10px rgba(171, 34, 34, 0.4));
}

.nav-links { list-style: none; display: flex; align-items: center; gap: 30px; }

.nav-links a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

header.scrolled .nav-links a { color: var(--color-primary-dark); }
.nav-links a:hover { color: var(--color-primary-light); }

.btn-nav {
    background-color: var(--color-primary-light);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
}

.btn-nav:hover { background-color: var(--color-accent); transform: translateY(-2px); }

/* Hamburger Menu Styling */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    margin: 6px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

header.scrolled .hamburger div { background-color: var(--color-primary-dark); }
.hamburger.toggle div { background-color: var(--color-white) !important; }


/* ========================
   4. Hero Section
   ======================== */
.hero {
    min-height: 100vh;
    height: auto;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-top: 220px;
    padding-bottom: 100px;
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    transition: background 0.5s ease;
}

body.theme-renovations .hero {
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(42, 77, 20, 0.85), rgba(64, 121, 140, 0.75));
    transition: background 0.5s ease;
}

body.theme-renovations .hero-overlay {
    background: linear-gradient(135deg, rgba(43, 40, 40, 0.9), rgba(171, 34, 34, 0.7));
}

.hero-content { position: relative; z-index: 2; color: var(--color-white); max-width: 800px; }

.tagline {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    color: #aed581;
}

body.theme-renovations .tagline { color: #f5a0a0; }

.hero-text h2 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; }
.hero-text p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

.hero-badges { display: flex; gap: 15px; margin-bottom: 40px; align-items: center;}

.badge, .bbb-badge-container {
    background: rgba(225, 225, 225, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 8px 15px;
    border-radius: 8px;
    display: flex; align-items: center; gap: 8px; 
    font-weight: 700; font-size: 0.9rem;
    color: var(--color-bbb-blue);
}

.badge i {
    color: var(--color-bbb-blue);
    font-size: 1.1rem;
}

.bbb-img {
    height: 35px;
    width: auto;
    display: block;
}

.hero-buttons { display: flex; gap: 20px; }

.btn-primary {
    background-color: var(--color-primary-light);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary:hover { background-color: var(--color-accent); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 15px 35px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.btn-secondary:hover { background-color: white; color: var(--color-primary-dark); }

/* ========================
   5. Helpful Facts / Comparison
   ======================== */
.comparison-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.comparison-col {
    flex: 1;
    min-width: 300px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.2);
}

.comparison-col h3 {
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    color: #e0e0e0;
    font-size: 0.95rem;
}

.comparison-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--color-primary-light);
}

.col-power .comparison-list li::before {
    color: #ffd700;
}

/* Gutter Section */
.gutter-section {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius);
    margin-top: 60px;
    box-shadow: var(--shadow-card);
}

.gutter-section h3 {
    color: var(--color-primary-dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.gutter-content p {
    margin-bottom: 15px;
    color: #555;
}

/* ========================
   5. Helpful Facts
   ======================== */
.facts-gradient {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-accent) 100%);
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.fact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 30px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.fact-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.fact-icon i {
    color: var(--color-white);
}

.fact-card h4 {
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 15px;
}

.fact-card p {
    color: #e0e0e0;
    font-weight: 300;
}

/* ========================
   6. Services Cards
   ======================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--color-bg);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: var(--color-primary-light); transform: scaleX(0); transform-origin: left; transition: var(--transition);
}

.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.service-card:hover::before { transform: scaleX(1); }

.icon-box {
    width: 60px; height: 60px; background: rgba(64, 121, 140, 0.1);
    color: var(--color-accent); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px; transition: var(--transition);
}

.service-card:hover .icon-box { background: var(--color-primary-light); color: white; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--color-primary-dark); }
.service-card p { color: #666; font-size: 0.95rem; margin-bottom: 15px; }

.text-link { color: var(--color-primary-light); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.text-link:hover { text-decoration: underline; }

/* ========================
   7. Gallery
   ======================== */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}

.gallery-item {
    position: relative; border-radius: var(--radius); overflow: hidden; height: 250px; cursor: pointer;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.gallery-item .overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(42, 77, 20, 0.8);
    opacity: 0; display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-family: var(--font-heading); font-size: 1.2rem; transition: var(--transition);
    pointer-events: none;
}

body.theme-renovations .gallery-item .overlay {
    background: rgba(43, 40, 40, 0.85);
}

.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .overlay { opacity: 1; }

/* VIDEO GALLERY ITEMS */
.gallery-item.video-item {
    background: #000;
    height: 300px;
}

.gallery-item.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    border-radius: var(--radius);
}

.gallery-item.video-item:hover video {
    opacity: 0.95;
}

.gallery-item.video-item .overlay {
    display: none;
}

.gallery-item.video-item::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-heading);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item.video-item:hover::after {
    opacity: 1;
}

.gallery-item.video-item::before {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding-left: 4px;
    z-index: 5;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item.video-item:hover::before {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-primary-light);
    color: white;
}

.gallery-item.video-item.playing::before {
    opacity: 0;
}

/* ========================
   CATEGORY CARDS
   ======================== */
.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card .cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    color: white;
    text-align: center;
    transition: var(--transition);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.category-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-card:hover img {
    transform: scale(1.05);
}

/* ========================
   LIGHTBOX / CATEGORY MODAL
   ======================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 95vw;
    height: 90vh;
    background: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.modal-header {
    background: var(--color-white);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 20;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.modal-close-btn {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--color-accent);
    cursor: pointer;
    transition: all 0.2s;
}
.modal-close-btn:hover { color: var(--color-primary-light); transform: scale(1.1); }

.modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.split-view-container {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.split-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
    border-right: 1px solid rgba(0,0,0,0.05);
    transition: background 0.3s;
}
.split-col:last-child { border-right: none; }

.split-col:first-child { background: #fffcfc; }
.split-col:last-child { background: #fcffff; }

.general-view-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #ffffff;
    min-height: 0;
}

.col-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
    width: 100%;
}

.header-before {
    color: #d32f2f;
    border-bottom: 3px solid #d32f2f;
    background: rgba(255, 252, 252, 0.95);
}
.header-after {
    color: #2e7d32;
    border-bottom: 3px solid #2e7d32;
    background: rgba(252, 255, 255, 0.95);
}
.header-general {
    color: var(--color-primary-dark);
    border-bottom: 3px solid var(--color-primary-dark);
    background: rgba(255, 255, 255, 0.95);
}

.img-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.modal-media-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #e0e0e0;
    cursor: zoom-in;
    position: relative;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-media-item::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: var(--color-primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 1;
}

@keyframes spin { to { transform: rotate(360deg); } }

.modal-media-item.loaded {
    background: transparent;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.modal-media-item.loaded::after {
    display: none;
}

.modal-media-item img, .modal-media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 2;
}

.modal-media-item.loaded img, .modal-media-item.loaded video {
    opacity: 1;
    transform: scale(1);
}

.modal-media-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.detail-view {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.98);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.detail-view.active {
    opacity: 1;
    pointer-events: all;
}

.detail-content {
    max-width: 95%;
    max-height: 90%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-content img, .detail-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.detail-close {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.detail-close:hover {
    background: #e53935;
    border-color: #e53935;
    transform: rotate(90deg);
}

/* Hide legacy split/general containers (replaced by pairs system v8.0) */
#split-view-container,
#general-view-container {
    display: none;
}

.split-col::-webkit-scrollbar,
.general-view-container::-webkit-scrollbar {
  width: 8px;
}
.split-col::-webkit-scrollbar-track,
.general-view-container::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.02);
}
.split-col::-webkit-scrollbar-thumb,
.general-view-container::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.1);
  border-radius: 4px;
}
.split-col::-webkit-scrollbar-thumb:hover,
.general-view-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.2);
}

/* ========================
   8. Reviews
   ======================== */
.reviews-container { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }

.review-card {
    background: var(--color-white); flex: 1 1 300px; max-width: 400px;
    padding: 30px; border-radius: var(--radius); border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.quote-icon { color: var(--color-border); font-size: 2rem; margin-bottom: 15px; }
.review-card p { font-style: italic; color: #555; margin-bottom: 20px; }

.review-author { display: flex; align-items: center; gap: 15px; }
.avatar {
    width: 45px; height: 45px; background: var(--color-primary-light); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold;
}
.author-info h4 { font-size: 1rem; color: var(--color-primary-dark); margin-bottom: 0; }
.author-info span { font-size: 0.8rem; color: var(--color-accent); }

/* ========================
   9. Contact Section
   ======================== */
.contact-wrapper { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.contact-text { flex: 1; min-width: 300px; color: var(--color-primary-dark); }
.contact-text h2 { font-size: 3rem; margin-bottom: 20px; }

/* Discount Box — White bg, light blue text (consistent with site badges) */
.discount-box {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-discount);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(91, 155, 213, 0.15);
    border: 1px solid rgba(91, 155, 213, 0.3);
    line-height: 1.4;
}

.discount-box i {
    color: var(--color-discount);
    margin-right: 4px;
}

.discount-box strong {
    color: var(--color-discount);
}

.referral-box {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-discount);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(91, 155, 213, 0.15);
    border: 1px solid rgba(91, 155, 213, 0.3);
}

.referral-box i {
    color: var(--color-discount);
    margin-right: 4px;
}

.contact-direct { margin: 20px 0; display: flex; flex-direction: column; gap: 20px; }
.info-row { display: flex; align-items: center; gap: 15px; }
.icon-circle {
    width: 40px; height: 40px; background: var(--color-primary-light); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white;
}
.info-row h5 { margin: 0; font-size: 0.9rem; color: var(--color-accent); text-transform: uppercase; letter-spacing: 1px; }
.info-row p { margin: 0; font-size: 1.1rem; color: var(--color-primary-dark); font-weight: 600; }

.contact-details-badges { margin-top: 30px; display: flex; gap: 30px; }
.detail-item { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.detail-item i { color: var(--color-primary-light); font-size: 1.2rem; }

.contact-form-card {
    flex: 1; min-width: 320px; background: var(--color-white); padding: 40px;
    border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    color: var(--color-primary-dark);
}

.contact-form-card h3 { margin-bottom: 25px; color: var(--color-primary-dark); }

.input-group { position: relative; margin-bottom: 25px; }

.input-group input, .input-group select, .input-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid var(--color-border);
    border-radius: 8px; background: var(--color-bg); font-family: var(--font-body); outline: none; transition: var(--transition);
}

.input-group label {
    position: absolute; left: 15px; top: 12px; color: #888; pointer-events: none;
    transition: var(--transition); font-size: 0.9rem;
}

.input-group input:focus, .input-group textarea:focus { border-color: var(--color-primary-light); background: white; }
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
    top: -22px; left: 0; font-size: 0.8rem; color: var(--color-primary-light); font-weight: 600;
}

.btn-full { width: 100%; padding: 15px; background: var(--color-primary-dark); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.btn-full:hover { background: var(--color-primary-light); }

/* ========================
   10. Footer & Responsive
   ======================== */
footer { background: #1a330c; padding: 50px 0 20px; color: #ccc; text-align: center; transition: background-color 0.5s ease; }

body.theme-renovations footer { background: #1a1818; }

.footer-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.social-links { margin-top: 10px; }
.social-links a { color: white; margin: 0 10px; font-size: 1.2rem; transition: var(--transition); }
.social-links a:hover { color: var(--color-primary-light); }

.footer-links { margin: 25px 0 15px; }
.footer-links a { color: white; margin: 0 15px; text-decoration: none; opacity: 0.8; transition: var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--color-primary-light); }

/* Footer Discount Line — White bg, light blue text */
.footer-discount {
    margin: 15px auto;
    padding: 10px 20px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(91, 155, 213, 0.3);
    border-radius: 50px;
    color: var(--color-discount);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(91, 155, 213, 0.15);
}

.footer-discount i {
    color: var(--color-discount);
    margin-right: 6px;
}

.footer-discount strong {
    color: var(--color-discount);
}

.footer-contact { margin-bottom: 25px; font-size: 0.9rem; }
.footer-contact p { margin: 5px 0; }
.footer-contact i { color: var(--color-primary-light); margin-right: 8px; }

.copyright { font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* ========================
   INTERACTIVE HOUSE MAP
   ======================== */
.interactive-map-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 60px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: #000;
}

.map-wrapper {
    position: relative;
    width: 100%;
}

.interactive-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s;
}

/* Hotspot Styling */
.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.spot-dot {
    width: 15px;
    height: 15px;
    background-color: var(--color-white);
    border: 3px solid var(--color-primary-light);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    margin-bottom: 5px;
    animation: pulse 2s infinite;
}

.spot-label {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 
        2px 2px 0 #000,
        -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    white-space: nowrap;
    opacity: 0.9;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.3);
    padding: 2px 8px;
    border-radius: 4px;
}

.hotspot:hover {
    z-index: 20;
    transform: translate(-50%, -50%) scale(1.15);
}

.hotspot:hover .spot-dot {
    background-color: var(--color-primary-light);
    border-color: white;
}

.hotspot:hover .spot-label {
    color: var(--color-primary-light);
    background: rgba(0,0,0,0.8);
    opacity: 1;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Info Popup */
.service-info-popup {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-left: 5px solid var(--color-primary-light);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 50;
    text-align: center;
}

.service-info-popup.active {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.popup-content h4 {
    color: var(--color-primary-dark);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.popup-content p {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
}

#close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
}
#close-popup:hover { color: var(--color-primary-light); }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .spot-label {
        font-size: 0.7rem;
        padding: 1px 4px;
    }
    .spot-dot {
        width: 10px;
        height: 10px;
    }
}

/* ========================
   MOBILE RESPONSIVE MENU & LAYOUT
   ======================== */
@media (max-width: 991px) {
    /* 1. Global Container */
    .container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* 2. Header & Nav */
    header {
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }

    .brand-circle {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .hamburger {
        display: block;
        margin-left: auto;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background: linear-gradient(180deg, var(--color-primary-dark) 0%, #1a1a1a 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        padding-top: 60px;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: white !important;
        font-weight: 600;
    }

    /* 3. Hero Section */
    .hero {
        padding-top: 160px;
        padding-bottom: 60px;
        text-align: center;
        min-height: auto;
        align-items: center;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
    }

    /* TYPOGRAPHY FIXES */
    h1, h2, h3 {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    .hero-text h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        justify-content: center;
    }
    
    .bbb-badge-container { grid-column: span 2; justify-content: center; }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        display: block;
        padding: 15px 0;
    }

    /* 4. Grids & Cards (Force 1 Column) */
    .comparison-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .comparison-col {
        min-width: 100%;
        margin-bottom: 0;
    }

    .facts-grid, 
    .services-grid, 
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .category-card {
        height: 260px;
    }

    /* 5. Contact Form */
    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form-card {
        padding: 30px 20px;
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .input-group {
        margin-bottom: 20px;
    }

    /* Discount & Referral Boxes Mobile */
    .discount-box,
    .referral-box {
        display: block;
        text-align: center;
        border-radius: 12px;
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    /* 6. Modal / Lightbox */
    .lightbox-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    .modal-body {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .split-view-container {
        flex-direction: column;
        flex: 1;
        height: auto;
    }

    .split-col {
        height: auto;
        flex: 1;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 10px;
    }

    .img-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .detail-close {
        top: 15px; right: 15px;
        background: rgba(0,0,0,0.5);
    }
}

/* Toggle Animation Classes */
.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

/* Form Row Layout (Default Desktop) */
.form-row { display: flex; gap: 15px; }

/* Animations */
@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ========================
   Reviews Stats Bar
   ======================== */
.reviews-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent));
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Review Work Tag */
.review-work-tag {
    display: inline-block;
    background: rgba(64, 121, 140, 0.1);
    color: var(--color-accent);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(64, 121, 140, 0.2);
}

.review-work-tag i {
    margin-right: 5px;
    font-size: 0.75rem;
}

/* Review Rating Stars */
.review-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 20px;
}

.review-rating i {
    color: #f9a825;
    font-size: 1rem;
}

.review-rating span {
    margin-left: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary-dark);
}

/* Mobile Stats */
@media (max-width: 991px) {
    .reviews-stats {
        gap: 20px;
        padding: 25px 15px;
    }

    .stat-item {
        min-width: 120px;
        flex: 1 1 40%;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}
/* ========================
   BEFORE / AFTER PAIR SYSTEM (v8.0)
   ======================== */
.pairs-container {
    flex: 1;
    overflow-y: auto;
    padding: 30px 20px;
    background: #f8f9fa;
}

.ba-pair-row {
    max-width: 1000px;
    margin: 0 auto 10px;
}

.ba-pair-label {
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-primary-dark);
    margin-bottom: 15px;
    padding: 8px 20px;
    background: var(--color-white);
    border-radius: 50px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

.ba-pair-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.05);
}

.ba-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ba-tag {
    display: block;
    text-align: center;
    padding: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ba-tag-before {
    background: #ffebee;
    color: #c62828;
    border-bottom: 3px solid #ef5350;
}

.ba-tag-after {
    background: #e8f5e9;
    color: #2e7d32;
    border-bottom: 3px solid #66bb6a;
}

.ba-img-wrap {
    flex: 1;
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    background: #e0e0e0;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading spinner for images */
.ba-img-wrap::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0,0,0,0.1);
    border-top-color: var(--color-primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 1;
}

.ba-img-wrap.loaded {
    background: transparent;
}

.ba-img-wrap.loaded::after {
    display: none;
}

.ba-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.ba-img-wrap.loaded img {
    opacity: 1;
    transform: scale(1);
}

.ba-img-wrap:hover img {
    transform: scale(1.05);
}

/* Zoom icon on hover */
.ba-img-wrap::before {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.95);
    color: var(--color-primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 5;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
}

.ba-img-wrap:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Arrow between columns */
.ba-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    min-width: 50px;
    background: linear-gradient(180deg, #f5f5f5 0%, #eeeeee 100%);
    color: var(--color-primary-light);
    font-size: 1.5rem;
    border-left: 1px solid rgba(0,0,0,0.05);
    border-right: 1px solid rgba(0,0,0,0.05);
}

.ba-arrow i {
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(5px); opacity: 1; }
}

/* Divider between pairs */
.ba-pair-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
    margin: 35px auto;
    max-width: 600px;
}

/* Scrollbar for pairs container */
.pairs-container::-webkit-scrollbar { width: 8px; }
.pairs-container::-webkit-scrollbar-track { background: rgba(0,0,0,0.02); }
.pairs-container::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 4px; }
.pairs-container::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.2); }

/* ========================
   BEFORE / AFTER — MOBILE
   ======================== */
@media (max-width: 991px) {
    .ba-pair-grid {
        flex-direction: column;
    }

    .ba-arrow {
        width: 100%;
        min-width: unset;
        height: 40px;
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(0,0,0,0.05);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .ba-arrow i {
        transform: rotate(90deg);
        animation: arrowPulseMobile 2s ease-in-out infinite;
    }

    @keyframes arrowPulseMobile {
        0%, 100% { transform: rotate(90deg) translateX(0); opacity: 0.6; }
        50% { transform: rotate(90deg) translateX(5px); opacity: 1; }
    }

    .ba-img-wrap {
        min-height: 200px;
    }

    .ba-pair-label {
        font-size: 1rem;
        padding: 6px 16px;
    }

    .pairs-container {
        padding: 20px 10px;
    }
}