/* 
  Mel Fowers Heating & Air Conditioning
  Theme: Bold Editorial | Deep Navy (#0B1F3C) & Warm Gold (#C5A059)
*/

:root {
    --color-navy: #0B1F3C;
    --color-navy-light: #162F52;
    --color-gold: #C5A059;
    --color-gold-light: #D4AF66;
    --color-text-dark: #1F2937;
    --color-text-light: #6B7280;
    --color-bg-light: #F9FAFB;
    --color-white: #FFFFFF;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --spacing-section: 6rem;
    --spacing-container: 5%;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

.text-gold {
    color: var(--color-gold);
}

.section {
    padding: var(--spacing-section) 0;
}

.section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
}

.body-text {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-navy);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid var(--color-gold);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-gold-light);
    border-color: var(--color-gold-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-gold);
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: 4px;
    border: 2px solid var(--color-gold);
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--color-white);
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: 4px;
    border: 2px solid var(--color-white);
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.full-width {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 31, 60, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.logo-icon {
    color: var(--color-gold);
}

.logo-accent {
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-phone:hover {
    color: var(--color-gold-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero */
.hero-wrap {
    background-color: var(--color-navy);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    color: var(--color-white);
    padding: 0 5%;
}

.hero-headline {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-sub {
    color: var(--color-gold);
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero-desc {
    font-family: var(--font-sans);
    font-weight: 300;
    color: #E5E7EB;
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-img-wrap {
    position: relative;
    height: 700px;
    width: 100%;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-navy) 0%, transparent 30%);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* Services */
.services-section {
    background-color: var(--color-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-desc {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 31, 60, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-gold);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.process-img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 4px;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* CTA */
.cta-section {
    background-color: var(--color-navy);
    padding: 5rem 0;
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-desc {
    color: #E5E7EB;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item .icon {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-navy);
}

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

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

.contact-item a:hover {
    color: var(--color-gold);
}

.contact-form-wrap {
    background-color: var(--color-bg-light);
    padding: 3rem;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success svg {
    margin: 0 auto 1rem;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--color-text-light);
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: #9CA3AF;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #9CA3AF;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #6B7280;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: #6B7280;
}

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

/* Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-headline {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-img-wrap {
        height: 500px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 4rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-navy);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(197, 160, 89, 0.2);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-img-wrap {
        height: 400px;
    }
    
    .hero-img-overlay {
        background: linear-gradient(180deg, var(--color-navy) 0%, transparent 30%);
    }
    
    .about-grid,
    .services-grid,
    .process-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-img,
    .process-img {
        height: 400px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.875rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons a {
        width: 100%;
        text-align: center;
    }
}
