/* Freeman Heating & Air Custom Styles */

:root {
    --burgundy: #8A2D2F;
    --charcoal: #2E2E2E;
    --warm-cream: #F7F2EA;
    --accent-gray: #8F9691;
    --burgundy-light: #A64549;
    --text-light: rgba(255, 255, 255, 0.9);
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
}

.section-title,
.hero-headline,
.logo-text {
    font-family: 'Cinzel', serif;
}

/* Utility Classes */
.bg-burgundy {
    background-color: var(--burgundy) !important;
}

.bg-charcoal {
    background-color: var(--charcoal) !important;
}

.bg-cream {
    background-color: var(--warm-cream) !important;
}

.bg-accent-gray {
    background-color: var(--accent-gray) !important;
}

.text-burgundy {
    color: var(--burgundy) !important;
}

.text-charcoal {
    color: var(--charcoal) !important;
}

.text-burgundy-light {
    color: var(--burgundy-light) !important;
}

.btn-burgundy {
    background-color: var(--burgundy);
    border-color: var(--burgundy);
    color: white;
    font-weight: 500;
}

.btn-burgundy:hover {
    background-color: var(--burgundy-light);
    border-color: var(--burgundy-light);
    color: white;
}

.btn-outline-burgundy {
    border-color: var(--burgundy);
    color: var(--burgundy);
    font-weight: 500;
}

.btn-outline-burgundy:hover {
    background-color: var(--burgundy);
    border-color: var(--burgundy);
    color: white;
}

/* Contact Strip */
.contact-strip {
    font-size: 0.9rem;
}

.contact-strip a:hover {
    opacity: 0.8;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.mobile-contact-bar .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

.nav-link {
    font-weight: 500;
    color: var(--charcoal) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--burgundy) !important;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-headline {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.service-ribbon {
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-ctas .btn {
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
}

.badge-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.badge-card:hover {
    transform: translateY(-2px);
}

.hero-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Comfort Club */
.benefit-item {
    font-size: 1.1rem;
    font-weight: 500;
}

.price-text {
    font-size: 1.2rem;
}

.club-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Financing */
.financing-card {
    border-radius: 1rem;
}

.financing-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Coupons */
.coupon-card {
    border-radius: 1rem;
    border: 2px dashed var(--accent-gray);
    position: relative;
}

.coupon-scissors {
    font-size: 1.5rem;
}

/* Reviews */
.review-card {
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
}

.stars {
    font-size: 1.2rem;
}

/* About */
.highlight-item {
    font-size: 1rem;
}

.family-photo-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Map */
.map-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Contact */
.contact-card {
    border-radius: 1rem;
}

.form-label {
    font-weight: 500;
    color: var(--charcoal);
}

.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 0.2rem rgba(138, 45, 47, 0.25);
}

/* Footer */
.social-icons a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--burgundy-light) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    scroll-margin-top: 100px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.2rem;
    }
    
    .service-ribbon {
        font-size: 0.9rem;
        padding: 0.5rem 1rem !important;
    }
    
    .hero-ctas .btn {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .mobile-contact-bar {
        display: flex;
        align-items: center;
    }
    
    .contact-strip {
        display: none !important;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-placeholder,
    .club-card,
    .family-photo-placeholder,
    .map-placeholder {
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .hero-headline {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mobile-contact-bar .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .contact-strip,
    .mobile-contact-bar {
        display: none !important;
    }
    
    .hero-section {
        padding: 1rem 0;
    }
    
    .btn {
        display: none !important;
    }
}

/* Accessibility Improvements */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--burgundy);
    outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--burgundy);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .badge-card,
    .review-card,
    .contact-card {
        border: 2px solid var(--charcoal);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .badge-card,
    .review-card {
        transition: none;
    }
    
    .fade-in-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--burgundy);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
