/* ========================================
   Henderson Pipe & Leak Specialist
   Color Scheme E - Amber Gold
   Font Pairing: Outfit + Inter
   ======================================== */

:root {
    /* Color Scheme E - Amber Gold */
    --primary: #B45309;
    --primary-dark: #92400E;
    --primary-light: #F59E0B;
    --accent: #FBBF24;
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #fafaf9;
    --light-gray: #f5f5f4;
    --gray: #78716c;
    --dark-gray: #44403c;
    --black: #1c1917;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1280px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-call {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    transition: var(--transition-base);
}

.btn-call:hover {
    background-color: var(--primary-dark);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* ========================================
   Header
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-top {
    background-color: var(--primary-dark);
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-info {
    display: flex;
    gap: var(--spacing-md);
    color: var(--white);
    font-size: 0.875rem;
}

.location-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-link {
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
}

.phone-link:hover {
    color: var(--accent);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-gray);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-base);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    transition: var(--transition-base);
}

/* ========================================
   Hero Section - Illustration Style
   ======================================== */

.hero-illustration {
    padding-top: 160px;
    padding-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(180, 83, 9, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--black);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.hero-illustration-svg {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-illustration-svg svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.pulse-dot {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   About Section
   ======================================== */

.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.about-text {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-item {
    display: flex;
    gap: var(--spacing-sm);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ========================================
   Services Section - Horizontal Scroll
   ======================================== */

.services-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--off-white);
    overflow: hidden;
}

.services-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--spacing-md) 0;
}

.services-scroll::-webkit-scrollbar {
    display: none;
}

.services-wrapper {
    display: flex;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-md);
    min-width: max-content;
}

.service-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 320px;
    flex-shrink: 0;
    transition: var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
    animation: staggerIn 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }
.service-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========================================
   Why Choose Us Section
   ======================================== */

.why-choose-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.why-choose-card {
    background-color: var(--off-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
    animation: staggerIn 0.6s ease forwards;
}

.why-choose-card:nth-child(1) { animation-delay: 0.1s; }
.why-choose-card:nth-child(2) { animation-delay: 0.2s; }
.why-choose-card:nth-child(3) { animation-delay: 0.3s; }
.why-choose-card:nth-child(4) { animation-delay: 0.4s; }

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-choose-number {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.why-choose-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.why-choose-text {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========================================
   Locations Section - List with Thumbnails
   ======================================== */

.locations-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--off-white);
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.location-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--spacing-md);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

.location-card:nth-child(1) { animation-delay: 0.1s; }
.location-card:nth-child(2) { animation-delay: 0.15s; }
.location-card:nth-child(3) { animation-delay: 0.2s; }
.location-card:nth-child(4) { animation-delay: 0.25s; }
.location-card:nth-child(5) { animation-delay: 0.3s; }
.location-card:nth-child(6) { animation-delay: 0.35s; }
.location-card:nth-child(7) { animation-delay: 0.4s; }
.location-card:nth-child(8) { animation-delay: 0.45s; }
.location-card:nth-child(9) { animation-delay: 0.5s; }
.location-card:nth-child(10) { animation-delay: 0.55s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.location-image {
    width: 200px;
    height: 150px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-info {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.location-description {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========================================
   Common Problems Section
   ======================================== */

.problems-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.problem-card {
    background-color: var(--off-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
    animation: staggerIn 0.6s ease forwards;
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.15s; }
.problem-card:nth-child(3) { animation-delay: 0.2s; }
.problem-card:nth-child(4) { animation-delay: 0.25s; }
.problem-card:nth-child(5) { animation-delay: 0.3s; }
.problem-card:nth-child(6) { animation-delay: 0.35s; }

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

.problem-description {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--off-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition-base);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-item {
    padding: var(--spacing-md);
    background-color: var(--off-white);
    border-radius: var(--radius-md);
}

.contact-label {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text {
    color: var(--dark-gray);
    font-size: 1rem;
}

.contact-text a {
    color: var(--primary);
    font-weight: 600;
}

.contact-text a:hover {
    color: var(--primary-dark);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: var(--black);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-about {
    padding-right: var(--spacing-lg);
}

.footer-logo {
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-sm);
}

.footer-description {
    color: var(--gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.footer-phone {
    display: inline-block;
    color: var(--primary-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
}

.footer-phone:hover {
    color: var(--accent);
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--dark-gray);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.copyright {
    color: var(--gray);
    margin-bottom: var(--spacing-sm);
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--gray);
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   Mobile Call Button
   ======================================== */

.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.mobile-call-btn a {
    display: block;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: var(--shadow-xl); }
    50% { box-shadow: 0 0 0 10px rgba(180, 83, 9, 0.3); }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1100px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-illustration-svg {
        order: -1;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .location-card {
        grid-template-columns: 1fr;
    }
    
    .location-image {
        width: 100%;
        height: 200px;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-call-btn {
        display: block;
    }
    
    .header-top {
        display: none;
    }
    
    .hero-illustration {
        padding-top: 100px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        width: 280px;
    }
}
