/* Ductless Mini Splits Gulf Breeze FL - Main Stylesheet */
@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;
    --cta-red: #dc3545;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #666;
    --border-color: #e0e0e0;
}

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

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

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

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

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

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

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

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

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

.nav-menu li {
    position: relative;
}

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

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

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

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--dark-gray);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.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: white;
    font-size: 24px;
    cursor: pointer;
}

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

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

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

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

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

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

.cta-button {
    display: inline-block;
    background: var(--cta-red);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    margin: 10px;
}

.cta-button:hover {
    background: #b02a37;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    text-decoration: none;
    color: white;
}

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

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

/* Main Content */
main {
    margin-top: 80px;
}

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

.section {
    padding: 80px 0;
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 50px;
    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: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

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

.service-card a {
    color: var(--cta-red);
    text-decoration: none;
    font-weight: 600;
}

.service-card a:hover {
    text-decoration: underline;
}

/* Features Section */
.features {
    background: var(--light-gray);
}

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

.feature {
    text-align: center;
}

.feature-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: 2rem;
    color: var(--primary-purple);
}

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

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

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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Emergency Banner */
.emergency-banner {
    background: var(--cta-red);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.emergency-banner .phone {
    color: var(--accent-yellow);
    font-weight: 800;
    font-size: 1.3rem;
}

/* Quote Form */
.quote-form {
    background: var(--primary-purple);
    color: white;
    padding: 60px 0;
}

.quote-form .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.quote-form h2 {
    color: var(--accent-yellow);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.quote-form p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Reviews Section */
.reviews {
    background: var(--light-gray);
}

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

.review-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.review-stars {
    color: var(--accent-yellow);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
}

.reviewer-name {
    font-weight: 600;
    color: var(--primary-purple);
}

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

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

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

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

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

.footer-section ul li a {
    color: 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 #4a0066;
    padding-top: 20px;
    text-align: center;
}

/* Location Pages Specific */
.location-hero {
    background: var(--primary-purple);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.location-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.map-section {
    padding: 50px 0;
    background: var(--light-gray);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

/* Service Pages Specific */
.service-hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #2d0052 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-content {
    padding: 80px 0;
}

.service-content h2 {
    color: var(--primary-purple);
    font-size: 2rem;
    margin: 40px 0 20px;
    font-weight: 600;
}

.service-content h3 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    font-weight: 600;
}

.service-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.service-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

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

/* 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: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quote-form .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .floating-phone {
        bottom: 10px;
        right: 10px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .location-hero h1,
    .service-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
