/* Florida Air Heating & Cooling - Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base); /* Phase 2: 18px for 35+ readability */
    line-height: 1.7; /* Phase 1: Improved from 1.6 for better readability */
    color: var(--text-medium); /* Phase 1: Better contrast (9.73:1 ratio) */
    background: var(--background-white);
    font-display: swap;
}

/* Phase 2B: Enforce font families consistently */
body, p, li, span, a, button, input, textarea, select,
.body-font {
    font-family: var(--font-body);
}

/* Headings - Consistent Typography Scale */
h1, h2, h3, h4, h5, h6,
.heading-font {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.25em; /* Phase 2: More breathing room */
}

h1 {
    font-size: var(--text-3xl); /* 40px desktop */
    font-weight: 700;
}

h2 {
    font-size: var(--text-2xl); /* 32px */
    font-weight: 600;
}

h3 {
    font-size: var(--text-xl); /* 24px */
}

h4 {
    font-size: var(--text-lg); /* 20px */
}

/* Phase 2C: Line Height & Spacing for 35+ Demographic */
p {
    line-height: 1.7; /* Phase 2C: Improved from 1.6 for aging eyes */
    margin-bottom: 1.5em; /* Phase 2C: Better paragraph spacing */
}

/* Lead paragraphs for emphasis */
.lead-text,
.hero-lead {
    font-size: var(--text-lg); /* 20px */
    font-weight: 400;
    line-height: 1.6;
}

/* Hero-specific typography */
.hero-h1 {
    font-size: var(--text-4xl); /* 48px desktop, 32px mobile */
    line-height: 1.1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100001; /* Above mobile menu (99999) so call button stays visible */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Fix anchor link scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 30px;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
}

/* Florida Air Color Scheme - Phase 1: WCAG AAA Compliant */
:root {
    --primary-orange: #d7613c;
    --primary-dark: #c05530;
    --primary-light: #e07a53;
    --accent-orange: #d7613c;
    --dark-orange: #c05530;

    /* Brand Teal (from logo) */
    --primary-teal: #9DC5BB;    /* Light teal from logo background */
    --dark-teal: #7AA99E;       /* Darker teal for hovers/accents */
    --teal-dark: #5A8B81;       /* Even darker for better contrast */

    /* Phase 1: Improved text colors for WCAG AAA compliance */
    --text-dark: #1a1a1a;       /* 16.83:1 ratio - Perfect contrast */
    --text-medium: #4a4a4a;     /* 9.73:1 ratio - AAA compliant */
    --text-light: #5a5a5a;      /* 7.77:1 ratio - AAA compliant */
    --text-muted: #6b6b6b;      /* 6.21:1 ratio - AA large text */

    --background-light: #f5f5f5;
    --background-white: #ffffff;

    /* Phase 2: Typography Scale (2025 Standard for 35+ readability) */
    --text-xs: 0.875rem;    /* 14px - Fine print, disclaimers */
    --text-sm: 1rem;        /* 16px - Small text, minimum for 35+ */
    --text-base: 1.125rem;  /* 18px - Body text (preferred for 35+) */
    --text-lg: 1.25rem;     /* 20px - Lead paragraphs, emphasis */
    --text-xl: 1.5rem;      /* 24px - H3 headings */
    --text-2xl: 2rem;       /* 32px - H2 headings */
    --text-3xl: 2.5rem;     /* 40px - H1 headings (desktop) */
    --text-4xl: 3rem;       /* 48px - Hero H1 (desktop) */

    /* Font families */
    --font-heading: 'Barlow Semi Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav li {
    position: relative;
    white-space: nowrap; /* Prevent text wrapping */
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    /* Issue 6: Touch Target Sizes */
    min-height: 44px;
    padding: 12px 0;
    white-space: nowrap; /* Prevent text wrapping in navigation */
}

nav a:hover {
    color: var(--primary-orange);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-orange);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 400;
    border-bottom: none;
    transition: all 0.3s;
    /* Issue 6: Touch Target Sizes */
    min-height: 44px;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-left: 2rem;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow,
.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* ===== PHASE 1: COMPREHENSIVE BUTTON SYSTEM ===== */

/* Button Base - All buttons share these properties */
.cta-button {
    font-family: 'Barlow Semi Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px; /* Pill shape - consistent across all buttons */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    line-height: 1.2;
    box-sizing: border-box;
    text-align: center;
    /* Issue 6: Touch Target Sizes (WCAG 2.5.5 & Apple Guidelines) */
    min-height: 44px;
    min-width: 44px;
}

/* Primary CTA - Orange background, white text (for phone calls) */
.cta-primary {
    background: var(--primary-orange); /* Orange background */
    color: white; /* White text */
    box-shadow: 0 4px 12px rgba(215, 97, 60, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(215, 97, 60, 0.4);
    background: var(--primary-dark); /* Darker orange on hover */
}

/* Secondary CTA - Dark orange background (for schedule/forms) */
.cta-secondary {
    background: var(--primary-dark); /* #c05530 */
    color: white;
    box-shadow: 0 4px 12px rgba(192, 85, 48, 0.3);
}

.cta-secondary:hover {
    transform: translateY(-2px);
    background: #a84826;
    box-shadow: 0 6px 20px rgba(192, 85, 48, 0.4);
}

/* Brand Teal CTA - For schedule/book service actions (matches logo) */
.cta-green {
    background: var(--teal-dark); /* #5A8B81 - Darker teal for better contrast */
    color: white;
    box-shadow: 0 4px 12px rgba(90, 139, 129, 0.3);
}

.cta-green:hover {
    transform: translateY(-2px);
    background: #4A7A71; /* Even darker on hover */
    box-shadow: 0 6px 20px rgba(90, 139, 129, 0.4);
}

/* Tertiary CTA - Outlined style */
.cta-outlined {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.cta-outlined:hover {
    background: var(--primary-orange);
    color: white;
}

/* Button Sizes */
.cta-lg {
    font-size: 1.25rem; /* 20px */
    padding: 18px 40px;
    min-width: 280px; /* Ensure consistent button width */
}

.cta-sm {
    font-size: 1rem; /* 16px */
    padding: 12px 24px;
}

/* ===== ISSUE 6: TOUCH TARGET SIZES (WCAG 2.5.5 & APPLE GUIDELINES) ===== */

/* All phone/email links need proper touch targets */
a[href^="tel:"],
a[href^="mailto:"],
button:not(.mobile-hamburger):not(.cta-button) {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Ensure all interactive elements have minimum touch targets */
input[type="submit"],
input[type="button"] {
    min-height: 44px;
    padding: 12px 20px;
}

/* ===== PHASE 2: MOBILE RESPONSIVE TYPOGRAPHY & BUTTONS ===== */
@media (max-width: 768px) {
    /* Responsive typography - smaller sizes for mobile readability */
    :root {
        --text-3xl: 1.75rem;  /* 28px - H1 mobile */
        --text-4xl: 2rem;     /* 32px - Hero H1 mobile */
        --text-2xl: 1.75rem;  /* 28px - H2 mobile */
    }

    body {
        font-size: var(--text-base); /* Keep 18px base on mobile */
    }

    h1 {
        font-size: var(--text-3xl); /* 28px mobile */
    }

    h2 {
        font-size: var(--text-2xl); /* 28px mobile */
    }

    /* Tighter spacing on mobile */
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 1em;
    }

    p {
        margin-bottom: 1.25em;
    }

    /* Mobile responsive buttons */
    .cta-button {
        min-height: 48px; /* Larger touch target on mobile */
        padding: 14px 28px;
    }

    .cta-lg {
        font-size: var(--text-base); /* 18px on mobile */
        padding: 16px 32px;
        width: 66%; /* 66% width on mobile for consistency */
        max-width: 66%; /* 66% Ensure it doesn't overflow */
    }

    /* Full width option for mobile */
    .cta-full-mobile {
        width: 100%;
    }

    /* Mobile Hero Section Centering */
    .hero {
        padding: 120px 0 80px 0 !important; /* Reduce padding on mobile */
    }

    .hero > div {
        padding-left: 20px !important; /* Reset desktop left padding */
        padding-right: 20px !important;
    }

    .hero-content {
        max-width: 100% !important;
        text-align: center !important; /* Center text on mobile */
        margin: 0 auto !important; /* Center the content block */
    }

    .hero-content .hero-h1,
    .hero-content .hero-lead {
        text-align: center !important;
    }

    /* Center hero buttons on mobile */
    .hero-content > div {
        justify-content: center !important;
    }
}

/* ===== END PHASE 2 BUTTON SYSTEM ===== */

/* Mobile Menu */
.mobile-menu {
    display: none;
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-orange);
    z-index: 1001;
    height: 70px;
}

.mobile-nav-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 100%;
    width: 100%;
}

.mobile-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    background: var(--accent-orange);
    border: none;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s;
    /* Issue 6: Touch Target Sizes - Parent container is 70px tall */
    min-height: 48px;
}

.mobile-nav-button:hover {
    background: var(--dark-orange);
}

/* Brand Teal for Schedule button in mobile nav */
.mobile-nav-schedule {
    background: var(--teal-dark) !important;
}

.mobile-nav-schedule:hover {
    background: #4A7A71 !important; /* Darker teal on hover */
}

/* Hero Section with Form Overlay */
.hero {
    padding: 120px 0 60px;
    background-image: url('/public/images/residential3.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-text .service-area {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-orange);
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
}

.hero-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 3px solid var(--primary-orange);
}

.offer-badge {
    position: relative;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    border: 3px solid #fff;
    overflow: hidden;
}


.offer-badge h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    text-align: center;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.offer-badge h3 i {
    margin-right: 8px;
    color: #ffd700;
}

.offer-badge .offer-text {
    text-align: center;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1;
}

.offer-text .currency {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    vertical-align: top;
}

.offer-text .amount {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.offer-text .off-text {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    margin-left: 8px;
}

.offer-badge .qualified-text {
    color: #fff;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.offer-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.3;
}

.line {
    position: absolute;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    width: 100%;
    height: 2px;
}

.line-1 {
    top: 25%;
    animation: slide 3s linear infinite;
}

.line-2 {
    bottom: 25%;
    animation: slide 3s linear infinite reverse;
}

@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
}

.services h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
    text-align: center;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.services-text h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.services-text p {
    color: #666;
    margin-bottom: 1.5rem;
}

.services-image {
    width: 100%;
    height: 300px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Partnership Section */
.partnership {
    padding: 80px 0;
    background: var(--primary-teal);
    color: white;
}

.partnership-text h2 {
    color: white !important;
}

.partnership-text p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.partnership-logo .penntek-subtitle {
    color: white;
}

.partnership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.partnership-text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.partnership-text p {
    color: #666;
    margin-bottom: 1.5rem;
}

.partnership-logo {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.penntek-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    letter-spacing: 2px;
}

.penntek-subtitle {
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.partnership-illustration {
    text-align: center;
    margin-top: 3rem;
}

.illustration-placeholder {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.estimate-button {
    margin-top: 1rem;
    display: inline-block;
}

.contact-phone {
    font-size: 1.2rem;
}

.contact-email {
    font-size: 1.1rem;
}

.logo-innovative {
    color: var(--primary-orange);
}

.logo-coatings {
    color: #333;
}

.hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.services-image-placeholder {
    background-image: url('/public/images/residential.webp');
    background-size: cover;
    background-position: center;
}

/* Detailed Services Sections */
.service-detail {
    padding: 80px 0;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.service-text p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
    margin: 2rem 0;
}

.service-features li {
    color: #666;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-image-large {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background-size: cover;
    background-position: center;
}

/* Color Patterns Section */
.color-patterns {
    padding: 80px 0;
    background: #f8f9fa;
    color: #333;
}

.color-patterns h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.color-patterns p {
    color: #666;
}

/* Category Buttons */
.pattern-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.category-btn {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #366975;
}

.category-btn.active {
    background: linear-gradient(135deg, #366975, #4a8394);
    color: white;
    border-color: #366975;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(54, 105, 117, 0.3);
}

.category-preview {
    margin-bottom: 0.5rem;
}

.preview-dots {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

.preview-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-btn:hover .preview-dot {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.category-btn.active .preview-dot {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.category-name {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.category-btn small {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 500;
    margin: 0;
}

.category-btn.active small {
    opacity: 0.9;
}

/* Swatch Gallery */
.swatch-gallery {
    position: relative;
    min-height: 400px;
}

.swatch-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    animation: fadeIn 0.5s ease-in-out;
}

.swatch-grid.active {
    display: grid;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.swatch-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.swatch-item::before {
    content: '🔍';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.swatch-item:hover::before {
    opacity: 1;
}

.swatch-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.swatch-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
}

.swatch-name {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #333;
    background: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .pattern-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        max-width: 600px;
    }
    
    .category-btn {
        padding: 1rem 0.5rem;
    }
    
    .category-name {
        font-size: 1rem;
    }
    
    .category-btn small {
        font-size: 0.8rem;
    }
    
    .swatch-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .swatch-item img {
        height: 120px;
    }
    
    .swatch-name {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Lightbox Title */
.lightbox-title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 1000;
    text-align: center;
}

/* Finishes Showcase Section */
.finishes-showcase {
    padding: 80px 0;
    background: white;
}

.finishes-showcase h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.finishes-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.finishes-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.finishes-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.finishes-content p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.finishes-features {
    list-style: none;
    margin: 2rem 0;
}

.finishes-features li {
    color: #666;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
}

.finishes-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.residential-image {
    background-image: url('/public/images/residential.webp');
}


/* Warranty Section */
.warranty-section {
    padding: 80px 0;
    background: #fff;
}

.warranty-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.warranty-text h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.warranty-text p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.warranty-features {
    list-style: none;
    margin: 0;
}

.warranty-features li {
    color: #666;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
}

.warranty-features li::before {
    content: "🛡️";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Additional image classes for your public folder images */
.garage-image {
    background-image: url('/public/images/commercial.webp');
    background-size: cover;
    background-position: center;
}

.patio-image {
    background-image: url('/public/images/patios.webp');
    background-size: cover;
    background-position: center;
}

.driveway-image {
    background-image: url('/public/images/residential.webp');
    background-size: cover;
    background-position: center;
}

.pool-image {
    background-image: url('/public/images/pooldecks.webp');
    background-size: cover;
    background-position: center;
}

.industrial-image {
    background-image: url('/public/images/industrial.webp');
    background-size: cover;
    background-position: center;
}

.warranty-image {
    background-image: url('/public/images/Limited-Lifetime-Warranty.webp');
    background-size: cover;
    background-position: center;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.benefit-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #666;
}

/* Estimate Section */
.estimate {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.estimate h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.estimate p {
    color: #666;
    margin-bottom: 2rem;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: #fff;
}

.why-choose h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 3rem;
    text-align: center;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }
}

.reason-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
}

.reason-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.reason-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Gallery Styles */
.gallery-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
    will-change: opacity;
    border: 3px solid transparent;
    z-index: 1;
}

.gallery-slide:hover {
    cursor: pointer;
}

.gallery-slide.active {
    opacity: 1;
    border-color: rgba(255, 107, 53, 0.3);
    position: relative;
}

.gallery-slide.active:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.click-indicator {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
    font-weight: 500;
}

.gallery-slide .click-indicator {
    opacity: 0.9;
}

.gallery-slide.active .click-indicator {
    opacity: 1;
}

.gallery-slide:hover .click-indicator {
    opacity: 1;
    background: rgba(255, 107, 53, 0.9);
    transform: scale(1.05);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, transform 0.2s;
    border: 2px solid transparent;
    will-change: opacity, transform;
    position: relative;
}

.gallery-thumb::after {
    content: '👁';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.2s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumb:hover::after {
    opacity: 1;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary-orange);
    transform: scale(1.05);
}

.gallery-thumb:hover {
    opacity: 0.8;
}

/* Lightbox Styles */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    width: 95%;
    max-width: 1400px;
    height: 95%;
    margin: 2.5% auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    min-width: 400px;
    min-height: 400px;
}

/* Desktop-specific scaling for swatch images */
@media (min-width: 1024px) {
    .lightbox-image {
        min-width: 700px;
        min-height: 600px;
        width: 85vw;
        height: 85vh;
        max-width: 1200px;
        max-height: 900px;
    }
}

/* Tablet scaling */
@media (min-width: 768px) and (max-width: 1023px) {
    .lightbox-image {
        min-width: 600px;
        min-height: 500px;
        width: 80vw;
        height: 80vh;
        max-width: 800px;
        max-height: 700px;
    }
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 107, 53, 0.8);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 107, 53, 0.8);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* FAQ Section Styles */
.faq-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    color: var(--accent-orange);
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

/* Mobile-specific FAQ styling for minimal scrolling */
@media (max-width: 768px) {
    .faq-section {
        padding: 25px 0 15px 0;
        scroll-margin-top: 85px;
    }
    
    /* Progressive scroll-margin fixes for sections further down */
    #process {
        scroll-margin-top: 40px;
    }
    
    #before-after {
        scroll-margin-top: 50px;
    }
    
    #about {
        scroll-margin-top: 60px;
    }
    
    #testimonials {
        scroll-margin-top: 70px;
    }
    
    #frequently-asked-questions {
        scroll-margin-top: 85px;
    }
    
    /* FAQ page specific section fixes - early sections need more spacing */
    #pricing-faq {
        scroll-margin-top: 110px;
    }
    
    #garage-floor-faq {
        scroll-margin-top: 105px;
    }
    
    #patio-faq {
        scroll-margin-top: 100px;
    }
    
    #pool-deck-faq {
        scroll-margin-top: 95px;
    }
    
    
    #commercial-faq {
        scroll-margin-top: 90px;
    }
    
    #industrial-faq {
        scroll-margin-top: 90px;
    }
    
    .faq-section h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .faq-subtitle {
        margin-bottom: 0.5rem !important;
        font-size: 0.85rem;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
    .faq-item {
        margin-bottom: 0.1rem;
        border-radius: 3px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
}

.faq-question {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 0.4rem 0.8rem;
        border-radius: 3px;
    }
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    color: #333;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 0.9rem;
        line-height: 1.2;
    }
}

.faq-toggle {
    color: var(--accent-orange);
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .faq-toggle {
        font-size: 1.2rem;
        margin-left: 0.5rem;
    }
}

.faq-answer {
    padding: 0 1.5rem 1rem 1.5rem;
    display: none;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .faq-answer {
        padding: 0 0.8rem 0.4rem 0.8rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

.faq-item.active .faq-answer {
    display: block;
}

/* Mini-FAQ Section Styles */
.mini-faq-section {
    padding: 30px 0;
    background: #f8f9fa;
    margin: 20px 0;
}

.mini-faq-section h3 {
    text-align: center;
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.mini-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .mini-faq-grid {
        gap: 0.1rem;
    }
}

.mini-faq-section .faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mini-faq-section .faq-question h4 {
    font-size: 1.05rem;
    margin: 0;
    color: #333;
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.faq-category {
    margin-bottom: 1.5rem;
}

.faq-category h3 {
    color: var(--accent-orange);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .faq-categories {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .faq-category {
        margin-bottom: 0.4rem;
    }
    
    .faq-category h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
}

.faq-link {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
}

.faq-link a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}

.faq-link a:hover {
    text-decoration: underline;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Comparison Table Styles */
.comparison-section {
    padding: 80px 0;
    background: white;
}

.comparison-section h2 {
    text-align: center;
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    border: 2px solid #2c3e50;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: white;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 3px solid var(--accent-orange);
}

.comparison-header div {
    padding: 0.8rem 0.75rem;
    text-align: center;
    letter-spacing: 0.3px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 2px solid #ecf0f1;
    transition: background-color 0.2s ease;
}

.comparison-row:hover {
    background-color: rgba(74, 124, 126, 0.05);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-feature {
    padding: 0.6rem 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    color: #333333;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-right: 2px solid #d0d0d0;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.comparison-row .comparison-feature {
    padding: 0.6rem 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    color: #333333;
    background: linear-gradient(135deg, #f8f8f8 0%, #eeeeee 100%);
    border-right: 2px solid #d0d0d0;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
}

.comparison-option {
    padding: 0.6rem 0.75rem;
    text-align: center;
    color: #2c3e50;
    background: linear-gradient(135deg, #fef9e7 0%, #fdf2e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 500;
    min-height: 3rem;
    border-right: 1px solid #f39c12;
    box-shadow: inset 0 1px 3px rgba(243, 156, 18, 0.1);
}

.comparison-option.winner {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    color: #1e4620;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-left: 4px solid #28a745;
    border-right: none;
    box-shadow: inset 0 1px 3px rgba(40, 167, 69, 0.15);
    position: relative;
}

.comparison-option.winner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(40, 167, 69, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Process Section Styles */
.process-section {
    padding: 80px 0;
    background: var(--accent-orange);
    color: white;
}

.process-section h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--accent-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-image {
    width: 120%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 1.5rem -10%;
}

.process-step h3 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: #333;
    line-height: 1.6;
}

/* Before/After Section Styles */
.before-after-section {
    padding: 80px 0;
    background: var(--primary-teal);
    color: white;
}

.before-after-section h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.before-after-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.before-after-slider {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.before-after-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.before-after-slide.before {
    z-index: 1;
}

.before-after-slide.after {
    z-index: 2;
}

.slider-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--primary-orange);
    z-index: 10;
    transform: translateX(-50%);
    cursor: ew-resize;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border: 3px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: white;
    color: #333;
}

.slider-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Updated section backgrounds - Orange, White, Blue, White pattern */
#garage-floors { /* Garage floors - Orange */
    background: var(--accent-orange);
    color: white;
}

#garage-floors .service-text h2,
#garage-floors .service-text h3 {
    color: white;
}

#garage-floors .service-text p,
#garage-floors .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

#garage-floors .service-features li::before {
    color: white !important;
}

#garage-floors .cta-button {
    background: white !important;
    color: var(--primary-orange) !important;
    border: 2px solid var(--primary-orange) !important;
}

#garage-floors .cta-button:hover {
    background: var(--primary-orange) !important;
    color: white !important;
}

#patios { /* Patios - White */
    background: white;
    color: #333;
}

#patios .service-text h2,
#patios .service-text h3 {
    color: #333;
}

#patios .service-text p,
#patios .service-features li {
    color: #666;
}

#pool-decks { /* Pool decks - Blue */
    background: var(--primary-teal);
    color: white;
}

#pool-decks .service-text h2,
#pool-decks .service-text h3 {
    color: white;
}

#pool-decks .service-text p,
#pool-decks .service-features li {
    color: rgba(255, 255, 255, 0.9);
}


#commercial { /* Commercial - White */
    background: white;
    color: #333;
}

#commercial .service-text h2,
#commercial .service-text h3 {
    color: #333;
}

#commercial .service-text p,
#commercial .service-features li {
    color: #666;
}

#pool-decks .cta-button {
    background: white !important;
    color: var(--primary-teal) !important;
    border: 2px solid white !important;
}

#pool-decks .cta-button:hover {
    background: var(--primary-teal) !important;
    color: white !important;
    border: 2px solid white !important;
}

#industrial { /* Industrial - Orange */
    background: var(--accent-orange);
    color: white;
}

#industrial .service-text h2,
#industrial .service-text h3 {
    color: white;
}

#industrial .service-text p,
#industrial .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

#industrial .service-features li::before {
    color: white;
}

#industrial .cta-button {
    background: white !important;
    color: var(--primary-orange) !important;
    border: 2px solid white !important;
}

#industrial .cta-button:hover {
    background: var(--primary-orange) !important;
    color: white !important;
    border: 2px solid white !important;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--accent-orange);
    color: white;
}

.testimonials h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.testimonial-author strong {
    color: #333;
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--accent-orange);
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-card p {
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Facebook brand color */
.social-icon:nth-child(1) {
    background: #1877f2;
}

/* Instagram brand color (gradient) */
.social-icon:nth-child(2) {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-logo {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.contact-logo img {
    width: 150px;
    height: auto;
    border-radius: 8px;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}

/* Contact Form - Prioritized */
.contact-form {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    border: 2px solid var(--primary-orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
    scroll-margin-top: 100px;
}

.contact-form h3 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Floating Label Styles */
.floating-label {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Hero form keeps orange borders */
.hero-form .floating-label input {
    width: 100%;
    padding: 16px 16px 8px 16px;
    border: 2px solid var(--primary-orange);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fff;
}

/* All other floating-label inputs use logo color */
.floating-label input {
    width: 100%;
    padding: 16px 16px 8px 16px;
    border: 2px solid #366975;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fff;
}

.floating-label label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #999;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 4px;
}

/* Hero form focus states - keep orange */
.hero-form .floating-label input:focus,
.hero-form .floating-label input:valid,
.hero-form .floating-label input:not(:placeholder-shown) {
    border-color: var(--primary-orange);
    outline: none;
}

.hero-form .floating-label input:focus + label,
.hero-form .floating-label input:valid + label,
.hero-form .floating-label input:not(:placeholder-shown) + label {
    top: 0;
    left: 12px;
    font-size: 12px;
    color: var(--primary-orange);
    font-weight: 600;
    transform: translateY(-50%);
}

/* All other floating-label focus states - use logo color */
.floating-label input:focus,
.floating-label input:valid,
.floating-label input:not(:placeholder-shown) {
    border-color: #366975;
    outline: none;
}

.floating-label input:focus + label,
.floating-label input:valid + label,
.floating-label input:not(:placeholder-shown) + label {
    top: 0;
    left: 12px;
    font-size: 12px;
    color: #366975;
    font-weight: 600;
    transform: translateY(-50%);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

/* Hero form keeps orange borders */
.hero-form .form-group input,
.hero-form .form-group select,
.hero-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--primary-orange);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.hero-form .form-group input:focus,
.hero-form .form-group select:focus,
.hero-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

/* All other form-group elements use logo color */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #366975;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #366975;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--dark-orange) 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Footer */
footer {
    background: var(--dark-teal);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content p {
    color: #ccc;
}

.mobile-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1000;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 24px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-weight: 400;
    line-height: 1;
    box-sizing: border-box;
    /* Issue 6: Touch Target Sizes */
    min-height: 44px;
    min-width: 44px;
}

.mobile-hamburger:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Mobile Call Button - Hidden on desktop, visible on mobile */
.mobile-call-button {
    display: none;
}

/* Desktop - ensure mobile call button stays hidden */
@media (min-width: 769px) {
    .mobile-call-button {
        display: none !important;
    }
}

/* Header Form Styles */
.header-form-container {
    display: none;
    align-items: center;
    gap: 20px;
    flex: 1;
    margin-left: 20px;
}

.header-inline-form {
    flex: 1;
}

.desktop-hamburger {
    background: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 6px;
    width: 40px;
    height: 35px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.desktop-hamburger:hover {
    background: var(--dark-teal);
    transform: translateY(-1px);
}

.header-inline-form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: space-between;
    flex: 1;
}

.header-form-fields {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 0;
    max-width: none;
}

.header-form-fields input,
.header-form-fields select {
    padding: 10px 14px;
    border: 2px solid #366975;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    flex: 1;
    min-width: 100px;
    max-width: 180px;
    background: white;
}

.header-form-fields input:focus,
.header-form-fields select:focus {
    outline: none;
    border-color: #366975;
    box-shadow: 0 0 0 3px rgba(54, 105, 117, 0.1);
}

.header-form-fields select {
    cursor: pointer;
}

.header-cta-button {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 160px;
    line-height: 1;
    box-sizing: border-box;
}

.header-cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Responsive adjustments for header form */
@media (max-width: 1200px) {
    .header-form-fields input,
    .header-form-fields select {
        min-width: 90px;
        max-width: 140px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .header-cta-button {
        padding: 10px 16px;
        font-size: 12px;
        min-width: 140px;
    }
    
    .header-form-fields {
        gap: 8px;
    }
}

@media (max-width: 1000px) {
    .header-form-fields {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .header-form-fields input,
    .header-form-fields select {
        min-width: 80px;
        max-width: 120px;
    }
    
    .header-cta-button {
        min-width: 120px;
    }
}

/* Hide header form and desktop hamburger on mobile */
@media (max-width: 768px) {
    .header-form-container {
        display: none !important;
    }
    
    .desktop-hamburger {
        display: none !important;
    }
}

/* FAQ Page Styles */
.main-content {
    padding: 4rem 0;
    margin-top: 100px; /* Account for fixed header */
    background: #f8f9fa;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
}

.page-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* FAQ Navigation */
.faq-nav {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-nav h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.faq-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-nav-item {
    background: var(--primary-orange);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.faq-nav-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.faq-nav-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Back to Home */
.back-to-home {
    text-align: center;
    margin: 3rem 0;
}

.cta-button.home-button {
    background: var(--primary-orange);
}

.cta-button.quote-button {
    background: var(--primary-orange);
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button.home-button:hover {
    box-shadow: 0 10px 30px rgba(74, 124, 126, 0.3);
}

.cta-button.quote-button:hover {
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.desktop-cta {
    margin-left: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 70px;
    }

    nav ul {
        display: none;
    }

    .dropdown-menu {
        display: none;
    }

    .desktop-cta {
        display: none !important;
    }

    .mobile-hamburger {
        display: block;
        font-size: 18px;
        padding: 10px 16px;
        margin-left: 0;
    }
    
    /* Show and style mobile call button */
    .mobile-call-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--accent-orange);
        color: white;
        border: none;
        border-radius: 6px;
        padding: 14px 24px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        line-height: 1;
        box-sizing: border-box;
        transition: all 0.3s ease;
        white-space: nowrap;
        min-width: 140px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 100000; /* Higher than mobile menu (99999) */
        /* Issue 6: Touch Target Sizes */
        min-height: 44px;
    }

    .mobile-call-button:hover {
        background: var(--primary-dark);
        color: white;
        text-decoration: none;
    }
    
    /* Ensure header content maintains relative positioning for absolute child */
    .header-content {
        position: relative;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-form {
        margin-top: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 140px 0 40px;
        background-attachment: scroll;
        min-height: 70vh;
        contain-intrinsic-size: 600px;
    }

    .service-content,
    .service-content.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .service-content .service-text {
        order: 1;
    }

    .service-content .gallery-container {
        order: 2;
    }

    .service-content.reverse .service-text {
        order: 1;
    }

    .service-content.reverse .service-image-large {
        order: 2;
    }

    .service-text h2 {
        font-size: 2rem;
    }

    .service-image-large {
        height: 250px;
    }

    .patterns-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .warranty-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .warranty-text h2 {
        font-size: 1.8rem;
    }

    .services-content,
    .partnership-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
        scroll-margin-top: 80px;
    }

    .contact-form h3 {
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0.8rem;
    }

    .form-group {
        margin-bottom: 0.8rem;
    }

    .form-group label {
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;
    }

    .form-group textarea {
        height: 80px;
    }

    .submit-button {
        padding: 12px 24px;
        margin-top: 0.5rem;
    }

    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .services,
    .partnership,
    .benefits,
    .estimate,
    .why-choose,
    .testimonials,
    .contact,
    .process-section,
    .before-after-section {
        padding: 60px 0;
    }

    .gallery-main {
        height: 250px;
    }

    .gallery-thumbnails {
        gap: 8px;
    }

    .gallery-thumb {
        width: 60px;
        height: 45px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .before-after-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .before-after-slider {
        max-width: 100%;
    }

    .finishes-display {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .finishes-image {
        height: 250px;
    }

    .comparison-table {
        font-size: 0.9rem;
        margin: 0 1rem;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .comparison-header div {
        padding: 0.7rem 0.4rem;
        font-size: 0.9rem;
    }
    
    .comparison-feature {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
        min-height: 2.5rem;
    }
    
    .comparison-option {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
        text-align: center;
        justify-content: center;
        gap: 0.4rem;
        min-height: 2.5rem;
    }

    .comparison-option.winner {
        text-align: center;
        justify-content: center;
        gap: 0.4rem;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-nav-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .faq-nav-item {
        min-height: 100px;
        padding: 1rem;
    }

    .faq-nav {
        padding: 1.5rem;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .main-content {
        padding-bottom: 100px; /* Account for mobile bottom nav */
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 70px;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.mobile-menu-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-teal);
    padding: 2rem;
    border-radius: 20px 20px 0 0;
}

.mobile-menu-content ul {
    list-style: none;
}

.mobile-menu-content li {
    margin-bottom: 1rem;
}

.mobile-menu-content a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    color: white;
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 -2rem;
    padding: 0 2rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 500px;
}

.mobile-dropdown-menu a {
    padding: 8px 0 8px 1rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.mobile-dropdown-menu a:hover {
    color: white;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s;
    font-size: 14px;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

/* Combined Comparison Section */
.comparison-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.comparison-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.comparison-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.performance-videos {
    margin-bottom: 5rem;
}

.videos-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
}

/* Modern Comparison Table */
.modern-comparison {
    margin-bottom: 4rem;
}

.comparison-table-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.comparison-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-header {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    position: relative;
}

.epoxy-header {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    position: relative;
}

.epoxy-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(200, 35, 51, 0.1) 100%);
}

.polyurea-header {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-dark) 100%);
    color: white;
}

.card-header h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 2rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.winner-badge, .avoid-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0.5rem auto 0;
    display: inline-block;
    border: 2px solid #fff;
    transform: rotate(-2deg);
    animation: subtle-glow 2s ease-in-out infinite alternate;
}

.winner-badge {
    background: #366975;
    color: #fff;
    box-shadow: 0 4px 12px rgba(54, 105, 117, 0.4);
}

.avoid-badge {
    background: #dc3545;
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    transform: rotate(2deg); /* Opposite rotation for variety */
}

@keyframes subtle-glow {
    0% { box-shadow: inherit, 0 0 0 rgba(255, 255, 255, 0.8); }
    100% { box-shadow: inherit, 0 0 8px rgba(255, 255, 255, 0.6); }
}

.card-content {
    padding: 1.5rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.metric:hover {
    background: rgba(0,0,0,0.02);
}

.metric:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.metric-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    flex: 1;
}

.metric-value {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    white-space: nowrap;
}

.metric-value.bad {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.metric-value.bad::before {
    content: '❌ ';
    margin-right: 0.3rem;
}

.metric-value.good {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.metric-value.good::before {
    content: '✅ ';
    margin-right: 0.3rem;
}

/* Add subtle animation on metric hover */
.metric-value {
    transition: all 0.3s ease;
}

.metric:hover .metric-value {
    transform: translateX(-2px);
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.vs-divider span {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.comparison-cta {
    text-align: center;
    background: linear-gradient(135deg, #366975 0%, var(--primary-orange) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin: 3rem auto 0;
    max-width: 900px;
}

.comparison-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.comparison-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Removed duplicate .cta-primary definition - using unified button system from lines 224-234 */

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.video-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.video-embed-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
}

.video-embed-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-embed-container:hover .video-overlay {
    opacity: 0.8;
}

.video-embed-container.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-embed-container.autoplay-failed .video-overlay {
    background: rgba(0,0,0,0.6);
    animation: pulse 2s infinite;
}

.video-embed-container.autoplay-failed .play-button-local {
    background: rgba(255, 107, 53, 1);
    animation: bounce 1s infinite;
}

.video-embed-container {
    cursor: pointer;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Performance Video Modal */
.performance-video-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
}

.performance-video-modal-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    max-width: 1000px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.performance-video-header {
    background: linear-gradient(135deg, #366975 0%, var(--primary-orange) 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.performance-video-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.performance-video-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.performance-video-close:hover {
    background: rgba(255,255,255,0.2);
}

.performance-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.performance-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.performance-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#modalYouTubeContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.performance-video-description {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.performance-video-description p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .performance-video-modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .performance-video-header {
        padding: 1rem 1.5rem;
    }
    
    .performance-video-header h3 {
        font-size: 1.2rem;
    }
    
    .performance-video-description {
        padding: 1rem 1.5rem;
    }
}

.play-button-local {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.play-button-local:hover {
    background: var(--primary-orange);
    transform: scale(1.1);
}

.video-content {
    padding: 1.5rem;
}

.video-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.video-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-link {
    display: inline-block;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.video-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 768px) {
    .comparison-section {
        padding: 3rem 0;
    }
    
    .comparison-title {
        font-size: 2.2rem;
    }
    
    .comparison-subtitle {
        font-size: 1rem;
    }
    
    .videos-title {
        font-size: 1.5rem;
    }
    
    .comparison-table-title {
        font-size: 1.5rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .video-embed-container {
        padding-bottom: 56.25%;
    }
    
    .play-button-local {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vs-divider {
        order: 2;
        height: 60px;
    }
    
    .epoxy-card {
        order: 1;
    }
    
    .polyurea-card {
        order: 3;
    }
    
    .comparison-cta {
        padding: 2rem 1.5rem;
    }
    
    .comparison-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pattern-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.75rem 0.25rem;
        font-size: 0.9rem;
    }
    
    .category-name {
        font-size: 0.9rem;
    }
    
    .comparison-title {
        font-size: 1.8rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-content {
        padding: 1rem;
    }
    
    .video-content h4 {
        font-size: 1.1rem;
    }
    
    .video-content p {
        font-size: 0.9rem;
    }
    
    .comparison-grid {
        gap: 1rem;
    }
    
    .card-header {
        padding: 1.5rem 1rem 0.5rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .metric {
        padding: 1rem 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .metric-value {
        font-size: 0.85rem;
        align-self: stretch;
        text-align: center;
    }
    
    .comparison-cta {
        padding: 1.5rem 1rem;
    }
    
    .comparison-cta h3 {
        font-size: 1.3rem;
    }
    
    .comparison-cta p {
        font-size: 1rem;
    }
}

/* Revolutionary Performance Metrics Section */
.performance-metrics {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.performance-metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(54, 105, 117, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.metrics-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.metrics-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #366975;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.metrics-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Stats Showcase Grid */
.stats-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.durability-stat {
    border-left-color: #366975;
}

.warranty-stat {
    border-left-color: #059669;
}

.speed-stat {
    border-left-color: #dc2626;
}

.protection-stat {
    border-left-color: #7c3aed;
}

.uv-stat {
    border-left-color: #f59e0b;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: white;
}

.durability-stat .stat-icon {
    background: #366975;
}

.warranty-stat .stat-icon {
    background: #059669;
}

.speed-stat .stat-icon {
    background: #dc2626;
}

.protection-stat .stat-icon {
    background: #7c3aed;
}

.uv-stat .stat-icon {
    background: #f59e0b;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.counter {
    color: #1f2937;
}

.unit {
    font-size: 1.8rem;
    color: #6b7280;
    font-weight: 600;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.stat-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.stat-fill {
    height: 100%;
    border-radius: 10px;
    width: 0%;
    transition: width 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.durability-stat .stat-fill {
    background: linear-gradient(90deg, #366975, #4a8394);
}

.warranty-stat .stat-fill {
    background: linear-gradient(90deg, #059669, #10b981);
}

.speed-stat .stat-fill {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.protection-stat .stat-fill {
    background: linear-gradient(90deg, #7c3aed, #a855f7);
}

.uv-stat .stat-fill {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* Battle Arena */
.battle-arena {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.arena-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
    position: relative;
}

.arena-title::after {
    content: '⚔️';
    font-size: 1.5rem;
    margin-left: 1rem;
}

.fighters-container {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.fighter {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.fighter.winner {
    border: 2px solid #059669;
    background: linear-gradient(to bottom, #ffffff, #f0fdf4);
}

.fighter.loser {
    border: 2px solid #dc2626;
    background: linear-gradient(to bottom, #ffffff, #fef2f2);
}

.fighter-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
}

.fighter.winner .fighter-avatar {
    background: #059669;
    color: white;
}

.fighter.loser .fighter-avatar {
    background: #dc2626;
    color: white;
}

.fighter-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.fighter-description {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.health-bar {
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.health-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 2s ease;
}

.fighter.winner .health-fill {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    width: 100%;
}

.fighter.loser .health-fill {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    width: 25%;
}

.performance-metrics-list {
    margin-top: 1.5rem;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.metric-item:last-child {
    border-bottom: none;
}

.metric-score {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

.metric-score.poor {
    background: #fee2e2;
    color: #dc2626;
}

.metric-score.excellent {
    background: #dcfce7;
    color: #059669;
}


/* Battle Arena Layout */
.arena-header h4 {
    text-align: center;
    font-size: 2rem;
    color: #366975;
    margin-bottom: 2rem;
    font-weight: 700;
}

.battle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.battle-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.test-name {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
    min-width: 120px;
}

.progress-battle {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin: 0 1rem;
    position: relative;
    overflow: hidden;
}

.progress-epoxy,
.progress-polyurea {
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 4px;
    transition: width 2s ease;
}

.progress-epoxy {
    left: 0;
    background: #dc2626;
    width: 30%;
}

.progress-polyurea {
    right: 0;
    background: #366975;
    width: 100%;
}

.winner-label {
    font-weight: 700;
    color: #366975;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: right;
}

.battle-verdict {
    text-align: center;
    margin-top: 3rem;
}

.verdict-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.verdict-badge i {
    font-size: 1.5rem;
}

.verdict-text {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.verdict-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Performance Categories */
.performance-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.category {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-label {
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 80px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 2s ease;
}

.polyurea-progress {
    background: #366975;
}

.epoxy-progress {
    background: #dc2626;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .performance-metrics {
        padding: 4rem 0;
    }
    
    .metrics-title {
        font-size: 2.5rem;
    }
    
    .metrics-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .stats-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .battle-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .fighters-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vs-indicator {
        order: 2;
        font-size: 2rem;
    }
    
    .fighter:first-child {
        order: 1;
    }
    
    .fighter:last-child {
        order: 3;
    }
    
    .arena-title {
        font-size: 2rem;
    }
    
    .performance-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    
    .arena-header h4 {
        font-size: 1.5rem;
    }
    
    .verdict-badge {
        padding: 0.75rem 1.5rem;
        gap: 0.5rem;
    }
    
    .verdict-text {
        font-size: 1.1rem;
    }
    
    .verdict-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .metrics-title {
        font-size: 2rem;
    }
}
/* ===== PHASE 3: UTILITY CLASSES - Issue 3 (Inline Styles Reduction) ===== */

/* Section Padding Utilities */
.section-padding {
    padding: 80px 0; /* Standard section padding */
}

.section-padding-lg {
    padding: 100px 0; /* Large section padding */
}

.section-padding-sm {
    padding: 60px 0; /* Small section padding */
}

.section-padding-xs {
    padding: 40px 0; /* Extra small section padding */
}

/* Background Color Utilities */
.bg-white {
    background: white;
}

.bg-light {
    background: #f5f5f5; /* Light gray background */
}

.bg-lighter {
    background: #f9f9f9; /* Lighter gray background */
}

.bg-dark {
    background: #1a1a1a; /* Dark background */
}

.bg-orange {
    background: var(--primary-orange);
}

.bg-orange-dark {
    background: var(--primary-dark);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-dark) 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Card/Box Padding Utilities */
.card-padding {
    padding: 40px; /* Standard card padding */
}

.card-padding-lg {
    padding: 60px; /* Large card padding */
}

.card-padding-sm {
    padding: 30px; /* Small card padding */
}

.card-padding-xs {
    padding: 20px; /* Extra small card padding */
}

/* Box Shadow Utilities */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.shadow {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.shadow-lg {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Border Radius Utilities */
.rounded {
    border-radius: 8px;
}

.rounded-lg {
    border-radius: 12px;
}

.rounded-xl {
    border-radius: 16px;
}

.rounded-pill {
    border-radius: 50px;
}

/* Text Alignment Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Color Utilities */
.text-white {
    color: white;
}

.text-dark {
    color: var(--text-dark);
}

.text-medium {
    color: var(--text-medium);
}

.text-light {
    color: var(--text-light);
}

.text-orange {
    color: var(--primary-orange);
}

/* Margin Utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Display Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.gap-5 { gap: 3rem; }

/* Grid Utilities */
.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-auto {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Width Utilities */
.w-full {
    width: 100%;
}

.max-w-content {
    max-width: 800px;
    margin: 0 auto;
}

.max-w-wide {
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile Responsive Utilities */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-padding-lg {
        padding: 80px 0;
    }
    
    .section-padding-sm {
        padding: 40px 0;
    }
    
    .card-padding {
        padding: 30px;
    }
    
    .card-padding-lg {
        padding: 40px;
    }
    
    .card-padding-sm {
        padding: 20px;
    }
    
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* ===== END PHASE 3 UTILITY CLASSES ===== */

/* ===== PHASE 3: ADDITIONAL LAYOUT UTILITIES ===== */

/* Common Grid Patterns from Homepage */
.grid-auto-300 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-auto-280 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

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

.grid-auto-320 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.75rem; /* 60px */
}

.grid-2-cols-md {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem; /* 40px */
}

/* Flex Utilities */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-gap-1 { gap: 1rem; }
.flex-gap-2 { gap: 1.25rem; }
.flex-gap-3 { gap: 2rem; }
.flex-gap-4 { gap: 3.125rem; }

/* Container Width Utilities */
.container-narrow {
    max-width: 1100px;
    margin: 0 auto;
}

/* Mobile Responsive Grids */
@media (max-width: 768px) {
    .grid-2-cols,
    .grid-2-cols-md {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .grid-auto-300,
    .grid-auto-280,
    .grid-auto-250,
    .grid-auto-320 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===== END PHASE 3 ADDITIONAL UTILITIES ===== */

/* ===== ISSUE 5: MOBILE MENU (No !important) ===== */

/* Responsive Header Logo */
.logo-mobile {
    display: none;
}

@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }
    .logo-mobile {
        display: block;
    }
}

/* Florida Air Mobile Menu - Proper Specificity */
.florida-air-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 99999;
    overflow-y: auto;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.florida-air-mobile-menu.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.florida-air-mobile-menu .florida-air-menu-wrapper {
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.florida-air-mobile-menu .florida-air-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #d7613c;
}

.florida-air-mobile-menu .florida-air-menu-logo {
    height: 70px;
    width: 70px;
}

.florida-air-mobile-menu .florida-air-close-btn {
    background: #d7613c;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.florida-air-mobile-menu .florida-air-menu-nav {
    flex: 1;
    display: block;
    visibility: visible;
    opacity: 1;
}

.florida-air-mobile-menu .florida-air-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    visibility: visible;
    opacity: 1;
}

.florida-air-mobile-menu .florida-air-menu-item {
    margin-bottom: 8px;
    display: block;
    visibility: visible;
    opacity: 1;
}

.florida-air-mobile-menu .florida-air-menu-link {
    display: block;
    padding: 20px 15px;
    color: #2c3e50;
    background: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    border-bottom: 2px solid #e0e0e0;
    transition: background 0.2s;
    visibility: visible;
    opacity: 1;
    /* Issue 6: Touch Target Sizes */
    min-height: 44px;
    /* Center menu items */
    text-align: center;
}

.florida-air-mobile-menu .florida-air-menu-toggle {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: white;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.3rem;
    cursor: pointer;
    text-align: center;
    visibility: visible;
    opacity: 1;
}

.florida-air-mobile-menu .florida-air-menu-arrow {
    transition: transform 0.3s;
    font-size: 1.2rem;
    color: #2c3e50;
}

.florida-air-mobile-menu .florida-air-submenu {
    display: none;
    background: #f9f9f9;
    padding: 10px 0;
}

.florida-air-mobile-menu .florida-air-submenu.active {
    display: block;
}

.florida-air-mobile-menu .florida-air-submenu-link {
    display: block;
    padding: 15px 30px;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid #e0e0e0;
    /* Issue 6: Touch Target Sizes */
    min-height: 44px;
    /* Center submenu items */
    text-align: center;
}

.florida-air-mobile-menu .florida-air-menu-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.florida-air-mobile-menu .florida-air-call-btn {
    display: block;
    background: #d7613c;
    color: white;
    padding: 22px;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(215, 97, 60, 0.3);
}

.florida-air-mobile-menu .florida-air-schedule-btn {
    display: block;
    background: var(--teal-dark);
    color: white;
    padding: 22px;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(90, 139, 129, 0.3);
}

/* ===== END ISSUE 5 MOBILE MENU ===== */
