﻿/* =========================================================
   A-TEAM HVAC - SITE THEME
   Main editable areas:
   1. Brand colors
   2. Header / navigation
   3. Hero section
   4. Buttons
   5. Cards / services
   6. Contact form
   7. Footer
   8. Mobile responsive rules
   ========================================================= */

/* =========================================================
   1. BRAND VARIABLES
   Edit these first if you want to shift the theme colors.
   ========================================================= */
:root {
    --primary: #3BA7F0;
    --primary-dark: #1E6FB8;
    --primary-light: #E6F4FF;
    --accent: #0F172A;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-main: #FFFFFF;
    --bg-alt: #F8FBFF;
}

/* =========================================================
   2. GLOBAL RESET / BASE STYLES
   ========================================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-main);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(92%, 1150px);
    margin: 0 auto;
}

/* =========================================================
   3. HEADER / NAVIGATION
   Main editable areas:
   - .site-header
   - .nav nav
   - .nav nav a
   - .site-logo
   ========================================================= */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    color: var(--accent);
    padding: 0.5rem 0;
    border-bottom: 1px solid #dbeafe;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    min-height: 110px;
}

.logo-wrap {
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
}

.site-logo {
    height: 110px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(59, 167, 240, 0.15));
}

/* pill-style nav container */
.nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
}

    .nav nav a {
        font-weight: 700;
        font-size: 0.98rem;
        letter-spacing: 0.2px;
        color: var(--accent);
        padding: 0.65rem 0.35rem;
        position: relative;
        transition: color 0.2s ease, transform 0.2s ease;
    }

        .nav nav a:hover {
            color: var(--primary-dark);
            transform: translateY(-1px);
        }

        .nav nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0;
            height: 3px;
            border-radius: 999px;
            background: var(--primary);
            transition: width 0.22s ease;
        }

        .nav nav a:hover::after {
            width: 100%;
        }

.nav-call {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-left: 0.5rem;
    box-shadow: 0 8px 18px rgba(59, 167, 240, 0.2);
}

    .nav-call:hover {
        background: var(--primary-dark);
        color: white !important;
        transform: translateY(-1px);
    }

    .nav-call::after {
        display: none !important;
    }

/* =========================================================
   4. HERO SECTION
   Main editable areas:
   - .hero
   - .hero-layout
   - .hero-copy h1
   - .hero-text
   - .hero-card
   - .hero-points
   ========================================================= */
.hero {
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    color: var(--accent);
    padding: 4.75rem 0 4.5rem;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin: 0.4rem 0 1.25rem;
    color: var(--accent);
}

.hero-text {
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.eyebrow,
.section-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin: 0;
    opacity: 1;
    color: var(--primary-dark);
}

.hero-buttons,
.cta-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.hero-buttons {
    margin-bottom: 1rem;
}

.hero-points {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
    font-weight: 600;
    font-size: 0.9rem;
}

    .hero-points span {
        background: #ffffff;
        border: 1px solid #e0f2fe;
        padding: 0.5rem 0.75rem;
        border-radius: 999px;
        color: var(--accent);
    }

.hero-card {
    background: white;
    color: var(--text-dark);
    padding: 2.2rem;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    box-shadow: 0 18px 45px rgba(59, 167, 240, 0.18);
}

    .hero-card h2 {
        margin-top: 0;
    }

    .hero-card ul {
        padding-left: 1.2rem;
        margin: 1rem 0 1.5rem;
    }

.hero-image-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    
}

    .hero-image-card img {
        display: block;
        width: 100%;
        height: auto;
    }

    .hero-image-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.00) );
        pointer-events: none;
    }

.image-card-overlay {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #dbeafe;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    color: var(--accent);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.image-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dbeafe;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.2px;
    color: var(--accent);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    z-index: 2;
}



/* =========================================================
   5. PAGE HERO (used on inner pages)
   ========================================================= */
.page-hero {
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid #dbeafe;
}

    .page-hero h1 {
        margin: 0.35rem 0 0.75rem;
        font-size: clamp(2rem, 4vw, 3rem);
        color: #0f172a;
    }

/* =========================================================
   6. SECTION WRAPPERS / GENERIC CONTENT SPACING
   ========================================================= */
.section {
    padding: 4.5rem 0;
    background: white;
}

    .section.alt {
        background: var(--bg-alt);
    }

.section-heading {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

    .section-heading h2 {
        margin: 0.35rem 0 0.85rem;
        font-size: 2.15rem;
        color: #0f172a;
    }

    .section-heading p {
        margin: 0;
        line-height: 1.75;
        color: var(--text-dark);
    }

/* =========================================================
   7. GRID SYSTEM
   ========================================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* =========================================================
   8. GENERIC CARD STYLING
   Main editable areas:
   - .card
   - .service-card
   ========================================================= */
.card {
    background: white;
    padding: 1.6rem;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(59, 167, 240, 0.10);
    border: 1px solid #e0f2fe;
}

.service-card {
    padding: 1.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(59, 167, 240, 0.14);
        border-color: #bfe6ff;
    }

    .service-card::before {
        content: "";
        display: block;
        width: 48px;
        height: 4px;
        border-radius: 999px;
        background: var(--primary);
        margin-bottom: 1rem;
    }

    .service-card h3,
    .card h2,
    .card h3 {
        margin-top: 0;
        margin-bottom: 0.85rem;
        color: #0f172a;
    }

    .service-card p {
        margin: 0;
        line-height: 1.75;
        color: var(--text-dark);
    }

/* =========================================================
   9. TESTIMONIALS / FAQ
   ========================================================= */
.testimonial-card p {
    font-style: italic;
}

.faq-section .faq-list {
    display: grid;
    gap: 1.25rem;
}

.faq-item {
    background: white;
    padding: 1.4rem 1.5rem;
    border-radius: 14px;
    border: 1px solid #dbeafe;
    box-shadow: 0 8px 20px rgba(59, 167, 240, 0.08);
}

    .faq-item h3 {
        margin-top: 0;
        color: #0f172a;
    }

/* =========================================================
   10. CTA SECTION
   ========================================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.simple-cta {
    align-items: center;
}

.light {
    color: rgba(255,255,255,0.82);
}

/* =========================================================
   11. BUTTONS
   Main editable areas:
   - .btn-primary
   - .btn-secondary
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.85rem 1.35rem;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 18px rgba(59, 167, 240, 0.25);
}

    .btn-primary:hover {
        background: var(--primary-dark);
    }

.btn-secondary {
    background: white;
    color: var(--accent);
    border: 1px solid #dbeafe;
}

.btn-block {
    width: 100%;
}

/* =========================================================
   12. LISTS / CONTENT HELPERS
   ========================================================= */
.feature-list {
    padding-left: 1.2rem;
}

.service-list {
    display: grid;
    gap: 1.5rem;
}

.content-narrow {
    max-width: 800px;
}

/* =========================================================
   13. CONTACT / FORM SECTION
   Main editable areas:
   - .contact-grid
   - form inputs / focus state
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
}

    form label {
        margin-top: 0.8rem;
        margin-bottom: 0.35rem;
        font-weight: 700;
        color: #0f172a;
    }

    form input,
    form textarea {
        width: 100%;
        padding: 0.9rem 1rem;
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        font: inherit;
        background: #fff;
    }

        form input:focus,
        form textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(59, 167, 240, 0.15);
        }
        
    .form-success,
    .form-error {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 600;
    }

    .form-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    }

    .form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    }


/* =========================================================
   TRUST / PROOF SECTION
   ========================================================= */
.proof-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.proof-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.proof-copy h2 {
    margin: 0.4rem 0 1rem;
    font-size: 2rem;
    color: var(--accent);
}

.proof-copy p {
    line-height: 1.75;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.proof-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.8rem;
}

    .proof-list li {
        background: white;
        border: 1px solid #dbeafe;
        border-radius: 14px;
        padding: 0.85rem 1rem;
        font-weight: 600;
        color: var(--accent);
        box-shadow: 0 6px 16px rgba(59, 167, 240, 0.06);
    }

/* =========================================================
   FINAL CTA SECTION
   ========================================================= */
.cta-final {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.cta-final-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-final-text h2 {
    margin: 0.4rem 0 0.8rem;
    font-size: 2.2rem;
}

.cta-final-text p {
    max-width: 600px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.cta-final-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================================
   14. FOOTER
   ========================================================= */
.site-footer {
    background: var(--accent);
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
}

.site-footer a {
    display: block;
    margin: 0.25rem 0;
}

    .site-footer a:hover {
        color: white;
    }
.site-footer p {
    margin: 0.4rem 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* =========================================================
   15. TABLET / SMALLER DESKTOP
   ========================================================= */
@media (max-width: 900px) {
    .hero-layout,
    .grid,
    .three-col,
    .contact-grid,
    .footer-grid,
    .cta-box {
        grid-template-columns: 1fr;
        display: grid;
    }

    .cta-box {
        align-items: start;
    }

    .hero-image-card {
        min-height: 260px;
    }

    .proof-section {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   16. MOBILE
   Main editable areas:
   - .site-logo
   - .nav
   - heading sizes
   ========================================================= */
@media (max-width: 768px) {
    .site-logo {
        height: 100px;
        width: auto;
    }
    
    .logo-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0.25rem 0;
    }

    .nav {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        min-height: auto;
    }
    
    .nav nav {
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 1rem;
        align-items: center;
    }

    .hero {
        padding: 4rem 0;
    }
    
    .hero-image-card {
        min-height: 260px;
    }
    
    .section {
        padding: 3.5rem 0;
    }

    .hero-copy h1 {
        font-size: 2.2rem;
    }

    .page-hero h1,
    .section-heading h2 {
        font-size: 1.8rem;
    }

    .cta-final-box {
        flex-direction: column;
        align-items: flex-start;
    }
}
