:root {
    --primary: #0a4b75;
    --primary-light: #1672b1;
    --primary-dark: #06314f;
    --accent: #ff6b35;
    --accent-hover: #e85a28;
    --text-main: #333333;
    --text-light: #555555;
    --bg-light: #f4f8fb;
    --white: #ffffff;
    --nav-height: 80px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
    border-bottom: 6px solid #06314f;
}
.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-right: auto; }
.nav-links { display: flex; gap: 30px; align-items: center; margin-right: 30px; }
.nav-links a { font-weight: 600; color: #06314f; font-size: 1.05rem; transition: color 0.3s; }
.nav-links a:hover { color: #e24933; }
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 280px;
    display: none;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
}
.dropdown:hover .dropdown-menu { display: flex; }
.dropdown-menu a { padding: 12px 20px; border-bottom: 1px solid #eee; }
.dropdown-menu a:hover { background: var(--bg-light); }
.header-phone {
    background: #e24933;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(226, 73, 51, 0.3);
    transition: all 0.3s;
}
.header-phone:hover { background: #c13925; color: var(--white); transform: translateY(-2px); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* Hero */
.hero {
    background: linear-gradient(rgba(10, 75, 117, 0.8), rgba(10, 75, 117, 0.9)), url('/images/passaic-leak-detection.webp') center/cover;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.25rem; margin-bottom: 30px; max-width: 800px; margin-inline: auto; }
.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 16px 32px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.3s;
}
.cta-button:hover { background: var(--accent-hover); }

/* Main Content */
main { flex-grow: 1; }
section { padding: 60px 0; }
.bg-light { background-color: var(--bg-light); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.text-content h2 { font-size: 2rem; color: var(--primary); margin-bottom: 20px; }
.text-content p { margin-bottom: 16px; color: var(--text-light); }
.text-content ul { margin-left: 20px; margin-bottom: 16px; color: var(--text-light); }
.text-content li { margin-bottom: 8px; }

/* Call Box */
.call-box {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    margin: 40px 0;
}
.call-box h3 { font-size: 1.75rem; margin-bottom: 16px; }
.call-box p { margin-bottom: 24px; font-size: 1.1rem; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 30px;
    transition: transform 0.3s;
    border-top: 4px solid var(--primary);
}
.service-card:hover { transform: translateY(-5px); }
.service-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 16px; }
.service-card p { color: var(--text-light); margin-bottom: 20px; }
.service-card a { font-weight: 600; color: var(--accent); }

/* Footer */
footer { background: var(--primary-dark); color: var(--white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 20px; color: var(--white); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #ccc; transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #aaa; font-size: 0.9rem; }

/* Sticky Mobile Call Bar */
.mobile-call-bar { display: none; }

/* FAQs */
.faq-item { margin-bottom: 20px; border-bottom: 1px solid #ddd; padding-bottom: 20px; }
.faq-item h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 10px; }
.faq-item p { color: var(--text-light); }

/* Contact Page Specific */
.contact-hero { padding: 60px 0; background: var(--bg-light); text-align: center; }
.contact-hero h1 { color: var(--primary); font-size: 2.5rem; margin-bottom: 16px; }
.contact-details { max-width: 600px; margin: 0 auto; background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.contact-item { margin-bottom: 24px; text-align: left; }
.contact-item strong { display: block; font-size: 1.1rem; color: var(--primary); margin-bottom: 8px; }

/* Responsive */
@media (max-width: 992px) {
    .content-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        gap: 15px;
    }
    .nav-links.active { display: flex; }
    .dropdown-menu { position: static; box-shadow: none; display: none; padding-left: 20px; }
    .dropdown.active .dropdown-menu { display: flex; }
    .mobile-toggle { display: block; }
    .header-phone { display: none; }
    
    .mobile-call-bar {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--accent);
        color: var(--white);
        padding: 16px;
        font-weight: 700;
        font-size: 1.1rem;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    }
    footer { padding-bottom: 80px; }
}
