/* GOMEZ Air Conditioning & Heating - Premium Styles */

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

:root {
    /* HVAC Color Theme */
    --ac-blue: #0077be;
    --ac-light-blue: #4da6d4;
    --heat-orange: #ff6b35;
    --heat-light-orange: #ff8c61;
    --emergency-red: #dc143c;
    --dark-bg: #1a1a1a;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-700: #495057;
    --white: #ffffff;
    --text-dark: #2c3e50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ac-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 0.85rem;
    color: var(--heat-orange);
    font-weight: 600;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--ac-blue);
}

.emergency-nav-btn {
    background: var(--emergency-red);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse-emergency 2s infinite;
}

@keyframes pulse-emergency {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 20, 60, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(220, 20, 60, 0); }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--ac-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--ac-blue) 0%, var(--heat-orange) 100%);
    padding: 100px 0 80px;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.emergency-badge {
    display: inline-block;
    background: var(--emergency-red);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
    animation: pulse-badge 3s infinite;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--emergency-red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.btn-primary:hover {
    background: #b8112f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.5);
}

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

.btn-secondary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.trust-item i {
    font-size: 1.5rem;
    color: #ffd700;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-700);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    text-align: center;
}

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

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

.service-card.ac .service-icon {
    color: var(--ac-blue);
}

.service-card.heating .service-icon {
    color: var(--heat-orange);
}

.service-card.emergency .service-icon {
    color: var(--emergency-red);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.service-card ul {
    text-align: left;
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ac-blue);
    font-weight: 700;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--ac-blue);
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-box p {
    color: var(--gray-700);
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.review-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.review-author {
    font-weight: 600;
    color: var(--text-dark);
}

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

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--heat-orange);
}

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

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--ac-light-blue);
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--ac-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-200);
}

/* Service Areas Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.area-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--ac-blue);
}

.area-item h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--gray-200);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

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

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .trust-indicators {
        gap: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* License Badge */
.license-badge {
    display: inline-block;
    background: var(--white);
    color: var(--ac-blue);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    margin: 1rem 0;
    border: 2px solid var(--ac-blue);
}
