/* Lewisville NC Ductless Mini Splits - Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-purple: #1a0033;
    --accent-yellow: #FFD700;
    --white: #ffffff;
    --cta-red: #dc3545;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --text-dark: #212529;
}

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

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

/* Header Styles */
.header {
    background: var(--primary-purple);
    color: var(--white);
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.emergency-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.nav-menu li {
    position: relative;
}

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

.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: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 10px 0;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

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

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

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-purple) 0%, rgba(26, 0, 51, 0.8) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

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

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

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 400;
}

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

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

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

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

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

.btn-secondary:hover {
    background: var(--white);
    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;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
    z-index: 1000;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-phone:hover {
    background: #c82333;
    transform: scale(1.05);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(220, 53, 69, 0.8); }
    100% { box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4); }
}

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

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: 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: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--primary-purple);
}

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

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

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

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Trust Signals */
.trust-signals {
    background: var(--light-gray);
    padding: 60px 0;
}

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

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

.trust-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--white);
    font-size: 24px;
}

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

/* CTA Section */
.cta-section {
    background: var(--primary-purple);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

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

.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 #555;
    padding-top: 20px;
    text-align: center;
    color: var(--dark-gray);
}

/* Quote Form */
.quote-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 30px 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-purple);
        flex-direction: column;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .floating-phone {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .floating-phone span {
        display: none;
    }
}

/* Page Content Styles */
.page-header {
    background: var(--primary-purple);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.main-content {
    line-height: 1.8;
}

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

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

.main-content p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.main-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

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

.sidebar {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
}

.sidebar h3 {
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.service-list {
    list-style: none;
    margin-bottom: 30px;
}

.service-list li {
    margin-bottom: 10px;
}

.service-list a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-list a:hover {
    color: var(--cta-red);
}

/* Image Styles */
.content-image {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Map Container */
.map-container {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .image-left,
    .image-right {
        float: none;
        margin: 20px auto;
        display: block;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .main-content h2 {
        font-size: 24px;
    }
}
