@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --primary-purple: #1a0033;
    --accent-yellow: #FFD700;
    --cta-red: #dc3545;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Header Styles */
.header {
    background: var(--primary-purple);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.top-bar {
    background: var(--accent-yellow);
    color: var(--primary-purple);
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
}

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

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.emergency-text {
    font-weight: 700;
}

.phone-header {
    font-weight: 700;
    font-size: 16px;
}

.main-nav {
    padding: 15px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-yellow);
}

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

.nav-menu li {
    position: relative;
    margin: 0 15px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: block;
}

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

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-hover);
    border-radius: 5px;
    z-index: 1001;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--primary-purple);
    padding: 12px 20px;
    font-weight: 400;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background: var(--light-gray);
    color: var(--cta-red);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #2a0a4a 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 120px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/minisplit1.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-highlight {
    color: var(--accent-yellow);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

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

.btn-primary:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-yellow);
    border: 2px solid var(--accent-yellow);
}

.btn-secondary:hover {
    background: var(--accent-yellow);
    color: var(--primary-purple);
}

/* Floating Phone CTA */
.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--cta-red);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-hover);
    z-index: 1000;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-phone:hover {
    background: #c82333;
    transform: scale(1.05);
    color: var(--white);
    text-decoration: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Main Content Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    color: var(--primary-purple);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 20px;
    line-height: 1.6;
}

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

/* Trust Signals */
.trust-signals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.trust-item h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Location Features */
.location-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    background: var(--accent-yellow);
    color: var(--primary-purple);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-content h3 {
    color: var(--primary-purple);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Contact Forms */
.contact-section {
    background: var(--primary-purple);
    color: var(--white);
}

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

.contact-info h3 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    background: var(--accent-yellow);
    color: var(--primary-purple);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--primary-purple);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

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

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

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

/* Images */
.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 20px 0;
}

.image-left {
    float: left;
    margin: 0 30px 20px 0;
    max-width: 400px;
}

.image-right {
    float: right;
    margin: 0 0 20px 30px;
    max-width: 400px;
}

.image-center {
    display: block;
    margin: 30px auto;
    max-width: 600px;
}

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

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-purple);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

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

    .nav-menu li {
        margin: 10px 0;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: block;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 10px;
        border-radius: 5px;
    }

    .hero {
        margin-top: 100px;
        min-height: 80vh;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .floating-phone {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .image-left,
    .image-right {
        float: none;
        margin: 20px auto;
        display: block;
        max-width: 100%;
    }

    .section {
        padding: 60px 0;
    }

    .top-bar-content {
        justify-content: center;
        text-align: center;
    }

    .top-bar-content > div {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .trust-signals {
        grid-template-columns: 1fr;
    }

    .location-features {
        grid-template-columns: 1fr;
    }

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

    .hero p {
        font-size: 1rem;
    }
}

/* Map Styles */
.map-container {
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Form Styles */
.quote-form-container {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 40px 0;
}

.quote-form-container h3 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

/* SEO Content Styles */
.seo-content {
    margin: 40px 0;
    line-height: 1.8;
}

.seo-content h2 {
    color: var(--primary-purple);
    margin: 30px 0 15px;
    font-weight: 600;
}

.seo-content h3 {
    color: var(--primary-purple);
    margin: 25px 0 12px;
    font-weight: 600;
}

.seo-content p {
    margin-bottom: 15px;
}

.seo-content ul {
    margin: 15px 0 15px 30px;
}

.seo-content li {
    margin-bottom: 8px;
}

/* Highlight boxes */
.highlight-box {
    background: var(--accent-yellow);
    color: var(--primary-purple);
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    font-weight: 600;
    text-align: center;
}

.emergency-highlight {
    background: var(--cta-red);
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
}
