/* ================================================
   EVERYDAY GENIE - HOMEPAGE STYLES
   ================================================ */

/* ================================================
   HERO SECTION
   ================================================ */

.hero {
    position: relative;
    background: var(--gradient-hero);
    padding: 50px var(--spacing-lg) 20px;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: var(--font-size-5xl);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-content h1 span {
    color: var(--accent);
    display: block;
}

.hero-content p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: 35px;
    line-height: 1.7;
    animation: fadeInUp 1s ease;
}

/* Service Area Box */
.service-area {
    background: rgba(26, 140, 168, 0.1);
    padding: var(--spacing-md) 25px;
    border-radius: var(--radius-lg);
    margin-bottom: 25px;
    border-left: 4px solid var(--accent);
    animation: fadeInUp 0.9s ease;
}

.service-area p {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: var(--font-size-md);
}

.service-area p strong {
    color: var(--accent);
}

/* Coverage Zones */
.coverage-zones {
    background: var(--accent-light);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    margin-top: 15px;
    font-size: 0.95rem;
}

.coverage-zones ul {
    list-style: none;
    margin-top: 10px;
}

.coverage-zones li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.coverage-zones li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
}

/* Contact Float Badge */
.contact-float {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-md) 25px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(26, 140, 168, 0.4);
    animation: floatContact 3s ease-in-out infinite;
}

/* ================================================
   HOW WE WORK SECTION
   ================================================ */

.how-we-work {
    padding: var(--spacing-4xl) var(--spacing-lg);
    background: var(--white);
    text-align: center;
    position: relative;
}

.process-steps {
    max-width: var(--container-max);
    margin: var(--spacing-3xl) auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-3xl);
}

.step {
    text-align: center;
    transition: transform var(--transition-base);
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #d4eef5 100%);
    border-radius: var(--radius-circle);
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary);
    transition: var(--transition-base);
    box-shadow: 0 10px 30px rgba(26, 140, 168, 0.15);
}

.step:hover .step-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(26, 140, 168, 0.25);
}

.step h3 {
    color: var(--accent);
    margin-bottom: 18px;
    font-size: var(--font-size-xl);
}

.step p {
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    font-size: var(--font-size-md);
}

/* ================================================
   WHY CHOOSE US SECTION
   ================================================ */

.why-choose-us {
    padding: var(--spacing-4xl) var(--spacing-lg);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.why-choose-grid {
    max-width: var(--container-max);
    margin: var(--spacing-3xl) auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    position: relative;
    z-index: 2;
}

/* ================================================
   CTA SECTION
   ================================================ */

.cta-section {
    background: var(--gradient-cta);
    padding: var(--spacing-3xl) var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    padding: var(--spacing-md) 35px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    color: var(--white);
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
    cursor: pointer;
    text-decoration: none;
}

.cta-phone:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.cta-phone::before {
    content: '📞';
    font-size: 1.3rem;
}

/* ================================================
   TESTIMONIALS SECTION
   ================================================ */

.testimonials {
    padding: var(--spacing-4xl) var(--spacing-lg);
    background: var(--white);
    text-align: center;
}

.testimonials-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: var(--spacing-3xl);
}

/* ================================================
   CONTACT SECTION WITH MAP
   ================================================ */

.contact-large {
    padding: var(--spacing-4xl) var(--spacing-lg);
    background: var(--gradient-hero);
}

.contact-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Map Container */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 500px;
}

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

/* Contact Details */
.contact-details {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-details h2 {
    color: var(--primary-dark);
    font-size: var(--font-size-3xl);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 30px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info h4 {
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-info p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: var(--spacing-xl);
}

.cta-buttons .btn {
    flex: 1;
}

/* Service Areas List */
.service-areas-list {
    background: rgba(26, 140, 168, 0.05);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-top: 25px;
}

.service-areas-list h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.service-areas-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-areas-list li {
    color: var(--gray-600);
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.service-areas-list li::before {
    content: '📍';
    position: absolute;
    left: 0;
}

/* ================================================
   RESPONSIVE HOMEPAGE STYLES
   ================================================ */

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-float {
        position: static;
        margin-top: var(--spacing-lg);
        display: inline-flex;
    }
    
    .map-container {
        height: 350px;
    }
    
    .service-areas-list ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: var(--spacing-3xl) var(--spacing-lg);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .how-we-work,
    .testimonials,
    .why-choose-us,
    .contact-large {
        padding: var(--spacing-3xl) var(--spacing-lg);
    }
    
    .bubble:nth-child(4),
    .bubble:nth-child(5) {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
