/* Maids That Amaze - Website Styles */
/* Colors from business card: Light Blue, Dark Blue, Red, Yellow, White */

:root {
    --light-blue: #87CEEB;
    --dark-blue: #003366;
    --red: #DC143C;
    --yellow: #FFD700;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --text-gray: #555555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
}

/* Header Styles */
header {
    background: linear-gradient(to bottom, var(--light-blue), var(--dark-blue));
    padding: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo-container {
    flex: 0 0 auto;
}

.logo-container a {
    display: inline-block;
}

.logo {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    flex-wrap: nowrap;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--red);
    color: var(--white);
}

/* Main Content */
main {
    flex: 1;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #B8122F;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--yellow);
    color: var(--dark-gray);
}

.btn-secondary:hover {
    background-color: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
}

.btn-outline:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background-color: var(--light-gray);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-gray);
}

/* Services Preview */
.services-preview {
    padding: 4rem 2rem;
    background-color: var(--white);
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

.services-list {
    max-width: 600px;
    margin: 0 auto 2rem;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.service-bullet {
    color: var(--dark-blue);
    font-weight: bold;
    font-size: 1.5rem;
}

.sparkle {
    margin-left: auto;
    font-size: 1.2rem;
}

.services-preview .btn {
    display: block;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Services Detail Page */
.services-detail {
    padding: 4rem 2rem;
}

.service-category {
    margin-bottom: 4rem;
}

.service-category h2 {
    color: var(--dark-blue);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-category > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--red);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
}

.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
}

.additional-services {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.additional-services li {
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    color: var(--dark-gray);
    font-weight: 500;
}

.cta-box {
    background: linear-gradient(135deg, var(--red) 0%, #B8122F 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
}

.cta-box h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* About Page */
.about-content {
    padding: 4rem 2rem;
}

.about-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.about-intro h2 {
    color: var(--dark-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

.about-story,
.about-values,
.about-area,
.about-cta {
    margin-bottom: 3rem;
}

.about-story h3,
.about-values h3,
.about-area h3,
.about-cta h3 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-item h4 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-gray);
}

.about-cta {
    text-align: center;
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
}

.about-cta h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

/* Contact Page */
.contact-content {
    padding: 4rem 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-text h3 {
    color: var(--dark-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.contact-text a {
    color: var(--red);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

.estimate-box {
    background: linear-gradient(135deg, var(--yellow) 0%, #FFC700 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: var(--dark-gray);
}

.estimate-box h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.estimate-box p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.estimate-note {
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 0.5rem;
}

.contact-form-container {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form-container h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.success-message {
    background-color: #4CAF50;
    color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    align-self: flex-start;
}

/* Footer */
footer {
    background: linear-gradient(to top, var(--dark-blue), var(--light-blue));
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-section a {
    color: var(--yellow);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Laptop/Tablet landscape - prevent navigation wrapping */
    .main-nav ul {
        gap: 1rem;
    }
    
    .main-nav a {
        font-size: 0.95rem;
        padding: 0.5rem 0.65rem;
    }
}

@media (max-width: 768px) {
    /* Header adjustments */
    header {
        padding: 1rem 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        position: relative;
    }

    .logo {
        max-height: 60px;
    }

    /* Hamburger menu */
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(to bottom, var(--dark-blue), var(--light-blue));
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        max-height: 600px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        text-align: left;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background-color: var(--red);
        color: var(--white);
    }

    /* Container padding */
    .container {
        padding: 0 1rem;
    }

    /* Hero section */
    .hero {
        padding: 2.5rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.5rem;
        text-align: center;
    }

    /* Page headers */
    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    /* Sections */
    .features,
    .services-preview,
    .cta-section,
    .services-detail,
    .about-content,
    .contact-content {
        padding: 2.5rem 1rem;
    }

    .features h2,
    .services-preview h2,
    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Grid layouts */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid,
    .service-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Services list */
    .services-list {
        padding: 1.5rem;
    }

    .service-item {
        font-size: 1.1rem;
        padding: 0.625rem 0;
    }

    /* Additional services */
    .additional-services {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* CTA box */
    .cta-box {
        padding: 2rem 1.5rem;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

    /* About page */
    .about-intro h2 {
        font-size: 2rem;
    }

    .about-story h3,
    .about-values h3,
    .about-area h3,
    .about-cta h3 {
        font-size: 1.75rem;
    }

    .about-cta {
        padding: 2rem 1.5rem;
    }

    /* Contact page */
    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.75rem;
    }

    .contact-item {
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        font-size: 1.75rem;
    }

    .estimate-box {
        padding: 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    /* Footer */
    footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    header {
        padding: 0.75rem 0;
    }

    .header-container {
        padding: 0 0.75rem;
    }

    .logo {
        max-height: 50px;
    }

    .main-nav a {
        font-size: 0.95rem;
        padding: 0.875rem 1.25rem;
    }

    /* Hero */
    .hero {
        padding: 2rem 0.75rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        align-items: center;
    }

    .btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
        text-align: center;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    /* Page headers */
    .page-header {
        padding: 1.5rem 0.75rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    /* Sections */
    .features,
    .services-preview,
    .cta-section,
    .services-detail,
    .about-content,
    .contact-content {
        padding: 2rem 0.75rem;
    }

    .features h2,
    .services-preview h2,
    .cta-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* Cards */
    .feature-card,
    .service-card,
    .value-item {
        padding: 1.25rem;
    }

    .feature-card h3,
    .service-card h3 {
        font-size: 1.2rem;
    }

    /* Services */
    .services-list {
        padding: 1.25rem;
    }

    .service-item {
        font-size: 1rem;
    }

    /* Service category */
    .service-category h2 {
        font-size: 1.75rem;
    }

    /* Contact form */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem;
        width: 100%;
    }

    /* Ensure all inputs are full width on mobile */
    .form-group {
        width: 100%;
    }

    .contact-form-container {
        padding: 1.25rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem 0.75rem 0.75rem;
    }

    .footer-section {
        margin-bottom: 1rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* For touch devices */
    .btn {
        min-height: 44px; /* Minimum touch target size */
    }

    .main-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-text a,
    .footer-section a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

