/* ============================================
   COMFORT HOME SERVICES - STYLES
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0d2b6e;
    --accent: #e8591a;
    --background: #ffffff;
    --light-bg: #f5f7fa;
    --text-dark: #1a1a2a;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --success: #27ae60;
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.6;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

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

.nav-desktop {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-desktop a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--light-bg);
    padding: 20px;
    gap: 15px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
}

.nav-mobile a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
}

.nav-mobile a:hover {
    color: var(--accent);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: #d4460a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 89, 26, 0.3);
}

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

.btn-secondary:hover {
    background-color: #052044;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 43, 110, 0.3);
}

/* ============================================
   SEASONAL BANNER
   ============================================ */

.seasonal-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1a4fa0 100%);
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.seasonal-banner.cooling {
    background: linear-gradient(135deg, #0080b3 0%, #00bfff 100%);
}

.seasonal-banner.spring {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.seasonal-banner.fall {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.seasonal-banner.heating {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a4fa0 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.hero.cooling {
    background: linear-gradient(135deg, #0080b3 0%, #00bfff 100%);
}

.hero.spring {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.hero.fall {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.hero.heating {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

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

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 80px 20px;
    background-color: var(--background);
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

.service-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
    background: rgba(232, 89, 26, 0.05);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.warranty-badge {
    background: linear-gradient(135deg, rgba(13, 43, 110, 0.1) 0%, rgba(232, 89, 26, 0.1) 100%);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: var(--text-dark);
    margin-top: 20px;
}


/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose-us {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.why-choose-us h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature {
    background: var(--background);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================
   BOOKING SECTION
   ============================================ */

.booking {
    padding: 80px 20px;
    background-color: var(--background);
}

.booking h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 600px;
    margin: 0 auto;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 89, 26, 0.1);
}


.booking-calendly {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-calendly h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.calendly-placeholder {
    background: var(--light-bg);
    padding: 60px 30px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--text-light);
}

.calendly-placeholder p {
    margin: 10px 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f9f9f9;
    border-color: var(--accent);
}

.faq-question.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.faq-answer {
    display: none;
    padding: 20px;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    color: var(--text-light);
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   SERVICE AREA SECTION
   ============================================ */

.service-area {
    padding: 80px 20px;
    background-color: var(--background);
}

.service-area h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-area > .container > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
}

.area-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.area-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.area-list li {
    background: var(--light-bg);
    padding: 12px 20px;
    border-radius: var(--radius);
    color: var(--text-dark);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

.testimonial-card {
    background: var(--background);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-card .stars {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.customer-name {
    font-weight: 600;
    color: var(--text-dark);
    font-style: normal;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 80px 20px;
    background-color: var(--background);
}

.about h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-values {
    margin-top: 30px;
}

.about-values h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.about-values ul {
    list-style: none;
}

.about-values li {
    padding: 8px 0;
    color: var(--text-light);
}

.about-badge {
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-box {
    background: linear-gradient(135deg, var(--primary) 0%, #1a4fa0 100%);
    color: white;
    padding: 50px 40px;
    border-radius: var(--radius);
    text-align: center;
}

.badge-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.badge-box p {
    font-size: 16px;
    opacity: 0.95;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-desktop,
    .header-actions {
        display: none;
    }

    .nav-mobile.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-badges {
        flex-direction: column;
        gap: 15px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .services h2,
    .why-choose-us h2,
    .faq h2,
    .service-area h2,
    .testimonials h2,
    .about h2,
    .contact h2,
    .booking h2 {
        font-size: 28px;
    }

    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .booking-content,
    .about-content,
    .contact-content,
    .area-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .area-list ul {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .services-grid,
    .features-grid {
        gap: 20px;
    }

    .service-card,
    .feature {
        padding: 25px 20px;
    }

    .hero {
        padding: 60px 20px;
    }

    .services,
    .why-choose-us,
    .booking,
    .faq,
    .service-area,
    .testimonials,
    .about,
    .contact {
        padding: 50px 20px;
    }
}
