/* Maid In Town - Compact & Impactful Design */

/* CSS Variables - Official Brand Colors */
:root {
    --primary-green: #54BD12;
    --dark-green: #155525;
    --light-green: #D5E3AE;
    --background-cream: #F5F8EA;
    --olive-green: #6B7C32;
    --accent-green: #4CAF50;
    --bright-green: #66BB6A;
    --yellow-star: #FFD700;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--background-cream);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-green);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Header Coupon (using inline styles from HTML for specificity) */
.header-coupon {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Call Button */
.btn-call {
    background: var(--primary-green);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(84, 189, 18, 0.3);
    transition: all 0.3s ease;
    border: none;
}
.btn-call:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 189, 18, 0.4);
}
.btn-call i {
    width: 16px;
    height: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F5E8 100%);
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--medium-gray);
    font-size: 14px;
}
.trust-item i {
    color: var(--primary-green);
}

/* General Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}
.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
}
.btn-secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}
.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
}
.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Section Styles */
.section {
    padding: 80px 0;
}
.section-alt {
    background-color: var(--white);
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 10px;
}
.community-message {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 600;
}

/* Services Section */
.services-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.service-card-compact {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.service-card-compact:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(84, 189, 18, 0.15);
    border-color: #54BD12;
}
.service-icon-compact {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #54BD12 0%, #4CAF50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}
.service-icon-compact i {
    width: 28px;
    height: 28px;
}
.service-title-compact {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.service-description-compact {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 20px;
}
.service-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}
.service-link:hover {
    color: var(--dark-green);
}

/* Benefits (Why Choose Us) Section */
.benefits-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.benefit-item-compact {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: var(--background-cream);
    border-radius: 15px;
    transition: all 0.3s ease;
}
.benefit-item-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.benefit-icon-compact {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #54BD12 0%, #4CAF50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}
.benefit-icon-compact i {
    width: 24px;
    height: 24px;
}
.benefit-content-compact h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.benefit-content-compact p {
    color: var(--medium-gray);
}

/* Coupon + Guarantee Wrapper (using inline styles from HTML) */
.coupon-guarantee-wrapper {
    margin: 80px auto 60px;
    padding: 0 20px;
}

/* Final CTA Section (using inline styles from HTML) */
.final-cta {
    background: #F5F8EA !important;
}

/* Footer (using inline styles from HTML) */
.footer {
    background: #D5E3AE !important;
    color: #155525 !important;
}

/* Social Proof Popup */
#socialProofPopup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    border: 1px solid #E9ECEF;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 8px 25px var(--shadow);
    z-index: 1000;
    max-width: 320px;
    animation: slideUp 0.5s ease-out;
}
.popup-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.popup-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}
.popup-icon i {
    width: 20px;
    height: 20px;
}
.popup-text {
    font-size: 14px;
    line-height: 1.4;
}
.popup-time {
    font-size: 12px;
    color: var(--medium-gray);
    margin-top: 2px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/*
==============================================
    RESPONSIVE STYLES
==============================================
*/

/* -- Tablets (landscape) and small desktops -- */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

/* -- Tablets (portrait) -- */
@media (max-width: 992px) {
    .services-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits-grid-compact {
        grid-template-columns: 1fr;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-image {
        order: -1; /* Move image above text */
        margin-bottom: 30px;
    }
    .hero-image img {
        max-height: 300px;
        margin: 0 auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .trust-indicators {
        justify-content: center;
    }
}

/* -- Mobile phones and small tablets -- */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    .section {
        padding: 60px 0;
    }

    h1, h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    /* Header */
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    .logo-link {
        text-align: center;
    }
    .logo {
        height: 50px;
        margin: 0 auto;
    }
    .header-right {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }
    .header-coupon {
        width: 90%;
        max-width: 300px;
    }

    /* Coupon & Guarantee Section */
    .coupon-guarantee-wrapper {
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
      gap: 50px !important;
    }

    /* Footer */
    div.contact-info {
        flex-direction: column !important;
        gap: 25px !important;
    }
}

/* -- Small mobile phones -- */
@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    .services-grid-compact {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .benefits-grid-compact {
        gap: 20px;
    }
    .benefit-item-compact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Hero */
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    
    /* CTA */
    .cta-content h2, h2.guarantee-title, h2.coupon-title {
        font-size: 1.8rem;
    }
    .cta-content p, p.guarantee-text, p.coupon-text {
        font-size: 1rem;
    }
    div.cta-content {
        padding: 40px 20px !important;
    }


    /* Social Proof */
    #socialProofPopup {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
        padding: 15px;
    }
    .popup-content {
        text-align: center;
        flex-direction: column;
    }
}