/* Diamond Heating & Air — HVAC Lead Gen Site */
/* Boise, ID | Professional Local SEO Template */

:root {
    --primary: #1a56db;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --success: #10b981;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font);
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s;
}

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

/* CTA Bar */
.cta-bar {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-text strong {
    color: var(--accent);
}

.cta-button {
    background: var(--accent);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.cta-button:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px);
}

/* Navigation */
.nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-300);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    color: var(--dark);
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text strong {
    color: var(--primary);
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: 8px 0;
    min-width: 180px;
    z-index: 100;
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

.nav-links .dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    border-bottom: none;
    font-size: 0.85rem;
}

.nav-links .dropdown-menu li a:hover {
    background: var(--gray-100);
    border-bottom: none;
}

.nav-phone {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav-phone:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero-sub {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.9;
}

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

.section-sub {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

section h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

/* Services */
.services {
    padding: 80px 20px;
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    color: var(--gray-700);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Why Us */
.why-us {
    padding: 80px 20px;
}

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

.why-item {
    padding: 24px;
    border-left: 4px solid var(--primary);
    background: var(--gray-100);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.why-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.why-item p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Service Areas */
.service-areas {
    padding: 80px 20px;
    background: var(--gray-100);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.area-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    color: var(--gray-700);
    border: 2px solid transparent;
}

.area-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.area-card strong {
    display: block;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.area-card span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.area-primary {
    background: var(--primary);
    color: var(--white) !important;
    border-color: var(--primary-dark);
}

.area-primary strong {
    color: var(--white);
}

.area-primary span {
    color: rgba(255,255,255,0.8);
}

/* Testimonials */
.testimonials {
    padding: 80px 20px;
}

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

.testimonial {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 32px 24px;
    position: relative;
}

.stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial p {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

.author {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    padding: 80px 20px;
    background: var(--gray-100);
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--gray-300);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-phone {
    margin-top: 12px;
    font-size: 1.1rem;
}

.footer-phone a {
    color: var(--accent);
    font-weight: 700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--gray-300);
    text-decoration: underline;
}

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

.disclaimer {
    margin-top: 8px;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    section h2 {
        font-size: 1.75rem;
    }

    .trust-badges {
        gap: 12px;
    }

    .trust-badges span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 16px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .cta-bar {
        flex-direction: column;
        gap: 8px;
    }
}