/* Google Fonts loaded via <link> in HTML — do not duplicate here */

/* Hoosier Plumbing - Elite Local Service Theme */

:root {
    --clr-navy: #0A365C;
    --clr-navy-dark: #051A2E;
    --clr-red: #D32F2F;
    --clr-red-hover: #B71C1C;
    --clr-white: #FFFFFF;
    --clr-bg: #F4F7F9; /* 70% White base, light gray depth */
    --clr-text-dark: #1F2937;
    --clr-text-light: #4B5563;
    --clr-border: #E5E7EB;

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text-dark);
    line-height: 1.5;
    background-color: var(--clr-bg);
    padding-bottom: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Animations */
/* ============================================
   Premium Image Wrappers
   ============================================ */
.premium-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: var(--clr-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.premium-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.service-card:hover .premium-image-wrapper img,
.gallery-item:hover .premium-image-wrapper img,
.premium-image-wrapper:hover img {
    transform: scale(1.05);
}

@keyframes pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(211, 47, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

.cta-pulse {
    animation: pulse-shadow 2s infinite;
}

.cta-pulse:hover {
    animation: none;
}

/* Icons */
.lucide {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

/* Top Bar (Command Center) */
.top-bar {
    background-color: var(--clr-navy-dark);
    color: var(--clr-white);
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar i {
    color: var(--clr-red);
}

/* Header */
.header {
    background-color: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

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

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

.desktop-nav {
    display: none;
    gap: 2rem;
    align-items: center;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--clr-text-light);
    transition: color 0.2s;
}

.desktop-nav a:hover {
    color: var(--clr-navy);
}

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

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    background-color: var(--clr-white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--clr-bg);
}

@media (max-width: 767px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
        border-left: 2px solid var(--clr-border);
        margin-left: 1rem;
        margin-top: 0.5rem;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-navy);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--clr-red);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-red-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-white);
    border: 2px solid var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-navy);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Elite Hero Section */
.hero-elite {
    position: relative;
    padding: 4rem 0; /* Fallback padding */
    min-height: calc(100vh - 120px); /* Adjusts for header height to perfectly center on any screen */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--clr-white);
    text-align: center;
    overflow: hidden;
    clip-path: inset(0); /* Enables parallax for fixed children */
}

.hero-bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100vh;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 54, 92, 0.85); /* Navy Overlay */
    z-index: 1;
}

.hero-elite .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--clr-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

/* Trust Banner */
.trust-banner {
    background-color: var(--clr-white);
    padding: 2rem 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 10;
}

.trust-banner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 700;
    color: var(--clr-navy);
    font-size: 1.1rem;
}

.trust-item i {
    color: var(--clr-red);
    width: 2rem;
    height: 2rem;
}

/* Infinite Marquee */
.marquee-section {
    background-color: var(--clr-navy);
    color: var(--clr-white);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
}
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content {
    display: inline-block;
    animation: scroll-marquee 30s linear infinite;
}
.marquee-content:hover {
    animation-play-state: paused;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-right: 3rem;
}
.marquee-item i {
    color: var(--clr-red);
}
@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Before / After Slider */
.ba-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: #000;
}
.ba-image-after, .ba-image-before {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.ba-image-before {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
}
.ba-slider-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
}
.ba-label {
    position: absolute;
    bottom: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
    border-radius: 4px;
    pointer-events: none;
}
.ba-label-before { left: 1rem; z-index: 3; }
.ba-label-after { right: 1rem; z-index: 1; }
.ba-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 4;
    opacity: 0;
    cursor: ew-resize;
}
.ba-slider-line {
    position: absolute;
    top: 0; left: 50%;
    width: 4px; height: 100%;
    background: var(--clr-white);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}
.ba-slider-button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    background: var(--clr-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-navy);
    box-shadow: var(--shadow-md);
}

/* Meet the Owner / About Home */
.owner-section {
    padding: 5rem 0;
    background-color: var(--clr-bg);
}

.owner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.owner-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.owner-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Elite Service Cards */
.services-section {
    padding: 5rem 0;
    background-color: var(--clr-white);
}

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

.section-subtitle {
    color: var(--clr-red);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    color: var(--clr-navy);
    font-weight: 800;
}

.services-grid-elite {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card-elite {
    position: relative;
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.service-card-elite img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.service-card-elite:hover img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10, 54, 92, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--clr-white);
    transition: background 0.3s ease;
}

.service-card-elite:hover .service-overlay {
    background: linear-gradient(to top, rgba(211, 47, 47, 0.95), rgba(10, 54, 92, 0.5));
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.95rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .service-desc {
        opacity: 0;
        transform: translateY(10px);
    }
    .service-card-elite:hover .service-desc {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Why Choose Us Section */
.why-us-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    margin-top: 3rem;
}

.why-card {
    background-color: var(--clr-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--clr-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--clr-red);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.why-card h3 {
    font-size: 1.25rem;
    color: var(--clr-navy);
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--clr-bg);
}

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

.testimonial-card {
    background-color: var(--clr-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial-card .stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #F59E0B;
    fill: #F59E0B;
}

.review-text {
    font-size: 1rem;
    color: var(--clr-text-dark);
    font-style: italic;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 700;
    color: var(--clr-navy);
}

/* Full Width CTA Banner */
.cta-banner {
    background-color: var(--clr-navy);
    padding: 5rem 0;
    text-align: center;
    color: var(--clr-white);
}

.cta-banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-banner-desc {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Internal Page Headers */
.page-header {
    background-color: var(--clr-navy);
    color: var(--clr-white);
    padding: 5rem 0; /* Changed from 120px 0 60px to center the text vertically */
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 5rem 0;
    background-color: var(--clr-white);
}

/* Footer */
.footer {
    background-color: var(--clr-navy-dark);
    color: var(--clr-white);
    padding: 4rem 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: block;
    max-width: 220px;
    height: auto;
    width: 100%;
    margin-bottom: 1rem;
    background-color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    object-fit: contain;
}

.footer h4 {
    color: var(--clr-white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links h3, .footer-contact h3 {
    color: var(--clr-white);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.footer-links a {
    color: #9CA3AF;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--clr-white);
}

.social-hover {
    transition: transform 0.2s ease, color 0.2s ease;
}
.social-hover:hover {
    transform: translateY(-2px);
    color: var(--clr-primary);
}

.contact-info {
    color: #9CA3AF;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    color: #9CA3AF;
    font-size: 0.875rem;
    text-align: center;
}

.flex-between {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Mobile CTA Bar */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background-color: var(--clr-white);
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.w-full {
    width: 100%;
}

.desktop-hide {
    display: block;
}

.desktop-only {
    display: none;
}

/* Skip to Content */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 1rem;
    background-color: var(--clr-red);
    color: var(--clr-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 1rem;
}

/* Focus Visible */
*:focus-visible {
    outline: 3px solid var(--clr-red);
    outline-offset: 2px;
}

/* Media Queries */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }

    .desktop-only {
        display: inline-block;
    }

    .top-bar.desktop-only {
        display: block;
    }

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

    .hero-title {
        font-size: 4rem;
    }

    .hero-cta {
        flex-direction: row;
    }

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

    .owner-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .flex-between {
        flex-direction: row;
        justify-content: space-between;
    }
    
    body {
        padding-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .services-grid-elite {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--clr-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--clr-border);
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-navy);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    color: var(--clr-red);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--clr-text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Mobile Floating Action Button */
.mobile-fab {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--clr-red);
    color: var(--clr-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(185, 28, 28, 0.6);
    color: var(--clr-white);
}

.mobile-fab:active {
    transform: translateY(0) scale(0.95);
}

@media (max-width: 767px) {
    .mobile-fab {
        display: flex;
    }
}

/* ============================================
   Service Cards (services.html)
   ============================================ */
.service-link-card {
    text-decoration: none;
    display: block;
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-link-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-link-card .card-body {
    padding: 2rem;
}

.service-link-card h2 {
    color: var(--clr-navy);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link-card h2 i {
    color: var(--clr-red);
}

.service-link-card p {
    color: var(--clr-text-light);
    line-height: 1.6;
}

.service-link-card .learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--clr-red);
    font-weight: bold;
}

/* ============================================
   Review Cards (testimonials.html, index.html)
   ============================================ */
.review-card {
    background: var(--clr-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-card .review-source {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.review-card .review-source img {
    width: 20px;
    height: 20px;
}

.review-card .review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-card .review-avatar {
    width: 40px;
    height: 40px;
    background: #1E3A8A;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.review-card .review-name {
    margin: 0;
    color: var(--clr-navy);
}

.review-card .review-stars {
    color: #FBBC05;
    display: flex;
    height: 16px;
}

.review-card .review-stars i {
    width: 14px;
    height: 14px;
    fill: #FBBC05;
}

.review-card .review-text {
    color: var(--clr-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   Gallery Grid (gallery.html)
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* ============================================
   Content Grid
   ============================================ */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ============================================
   Offer Cards (index.html)
   ============================================ */
.offer-card {
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.offer-card--navy {
    background: linear-gradient(135deg, var(--clr-navy) 0%, #1a365d 100%);
    color: white;
}

.offer-card--light {
    background: linear-gradient(135deg, var(--clr-white) 0%, #f8fafc 100%);
    border: 2px solid var(--clr-border);
}

.offer-card--red {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
}

.offer-card .offer-bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    color: rgba(255,255,255,0.1);
}

.offer-card .offer-bg-icon i {
    width: 150px;
    height: 150px;
}

.offer-card .offer-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.offer-card .offer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.offer-card .offer-desc {
    margin-bottom: 2rem;
}

/* ============================================
   Why Choose Us Icons (index.html)
   ============================================ */
.why-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    object-fit: cover;
    display: block;
    border: 3px solid var(--clr-white);
}

/* ============================================
   Location Page Styles
   ============================================ */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.locations-heading {
    font-size: 2rem;
    color: var(--clr-navy);
    margin-bottom: 2rem;
}

.locations-intro {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.locations-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.locations-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.locations-list li i {
    color: var(--clr-red);
}

.map-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #E5E7EB;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    border: 0;
    filter: grayscale(20%) contrast(1.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

@media (max-width: 767px) {
    .location-cards {
        grid-template-columns: 1fr;
    }
}

.location-card {
    padding: 2rem;
}

.location-card i {
    color: var(--clr-red);
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.location-card h3 {
    color: var(--clr-navy);
    font-size: 1.25rem;
}

.area-cta {
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--clr-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
}

.area-cta h3 {
    color: var(--clr-navy);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.area-cta p {
    color: var(--clr-text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ============================================
   Tips/Blog Page Styles
   ============================================ */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tip-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tip-card .card-body {
    padding: 2rem;
}

.tip-card .tip-category {
    display: inline-block;
    background: var(--clr-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.tip-card h2 {
    color: var(--clr-navy);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tip-card p {
    color: var(--clr-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tip-card .learn-more {
    display: inline-block;
    color: var(--clr-red);
    font-weight: bold;
}

/* ============================================
   Common Section Styles
   ============================================ */
.section-centered {
    max-width: 800px;
    margin: 0 auto;
}

.section-centered h2 {
    color: var(--clr-navy);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.section-centered p {
    color: var(--clr-text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ============================================
   Nav Dropdown Link & Chevron Icon
   ============================================ */
.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chevron-icon {
    width: 16px;
    height: 16px;
}

/* ============================================
   Service Detail Page Header (Hero Variant)
   ============================================ */
.page-header--hero {
    background-size: cover;
    background-position: center;
    color: var(--clr-white);
    padding: 6rem 0;
    text-align: center;
}

.page-header--hero .page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header--hero .page-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   Service Detail Content Styles
   ============================================ */
.service-detail-content {
    padding: 5rem 0;
}

.service-detail-intro {
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-heading {
    color: var(--clr-navy);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-subheading {
    color: var(--clr-navy);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.service-detail-text {
    color: var(--clr-text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Info Box (accent-left variant for leak-detection & diagnosis) */
.service-info-box {
    background-color: var(--clr-bg);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 3rem;
}

.service-info-box--accent-left {
    border-left: 4px solid var(--clr-red);
}

.service-info-box-title {
    color: var(--clr-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-info-list {
    color: var(--clr-text-light);
    line-height: 1.8;
    margin-left: 1.5rem;
}

/* Service Type Grid (water-heaters & drain-cleaning side-by-side cards) */
.service-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-type-card {
    background-color: var(--clr-bg);
    padding: 2rem;
    border-radius: var(--radius-md);
}

.service-type-card--navy {
    border-top: 4px solid var(--clr-navy);
}

.service-type-card--red {
    border-top: 4px solid var(--clr-red);
}

.service-type-card-title {
    color: var(--clr-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-type-card-text {
    color: var(--clr-text-light);
    line-height: 1.6;
}

/* ============================================
   Related Services Section
   ============================================ */
.related-services-section {
    background-color: var(--clr-bg);
}

.related-services-header {
    text-align: center;
    margin-bottom: 2rem;
}

.related-services-grid {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   CTA Banner Alt Button (White on Navy)
   ============================================ */
.cta-banner-btn-alt {
    background-color: var(--clr-white);
    color: var(--clr-navy);
}

.cta-banner-btn-alt:hover {
    background-color: var(--clr-bg);
    color: var(--clr-navy);
}

/* ============================================
   Footer Shared Styles
   ============================================ */
.license-info {
    color: #9CA3AF;
    font-size: 0.875rem;
}

.footer-credit-link {
    color: inherit;
    text-decoration: underline;
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-cta-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--clr-white);
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-cta-icon {
    width: 4rem;
    height: 4rem;
    color: var(--clr-red);
    margin-bottom: 2rem;
}

.contact-cta-title {
    color: var(--clr-navy);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-cta-text {
    color: var(--clr-text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-cta-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.contact-details {
    text-align: left;
    border-top: 1px solid var(--clr-border);
    padding-top: 2rem;
    display: grid;
    gap: 1rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--clr-text-dark);
    font-size: 1.1rem;
}

.contact-detail-icon {
    color: var(--clr-red);
}

.contact-email-link {
    color: inherit;
    text-decoration: underline;
}

.map-section {
    line-height: 0;
}

.map-section iframe {
    border: 0;
    filter: grayscale(20%) contrast(1.1);
}

.nav-active {
    color: var(--clr-navy);
    font-weight: 700;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .marquee-content {
        animation: none;
    }
}
