/* Maid On Call - CSS Styles */
/* Color Palette: Teal, Dark Blue, White */

:root {
    --teal: #008080;
    --teal-light: #40a0a0;
    --teal-dark: #006666;
    --dark-blue: #1a3a5c;
    --dark-blue-light: #2a4a7c;
    --dark-blue-dark: #0d2438;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-light: #e9ecef;
    --gray: #6c757d;
    --gray-dark: #343a40;
}

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
}

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

/* Header */
.header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.logo h1 span {
    color: var(--teal-light);
    font-weight: 400;
}

.logo .tagline {
    font-size: 0.85rem;
    color: var(--teal-light);
    margin-top: -5px;
    font-weight: 300;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle-active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: block;
}

.nav a:hover {
    color: var(--teal-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    width: 100%;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background-color: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

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

/* Pricing Section */
.pricing {
    background-color: var(--white);
    padding: 4rem 0;
}

.pricing-table-wrapper {
    max-width: 800px;
    margin: 3rem auto 0;
}

.pricing-table {
    background-color: var(--white);
    border: 2px solid var(--teal);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 128, 128, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-table:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 128, 128, 0.2);
}

.pricing-table h3 {
    color: var(--dark-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 128, 128, 0.3);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.pricing-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: var(--off-white);
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.pricing-item:hover {
    background-color: rgba(0, 128, 128, 0.1);
    transform: translateY(-2px);
}

.pricing-item .duration {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.price-old {
    font-size: 1rem;
    color: var(--gray);
    text-decoration: line-through;
    opacity: 0.7;
    line-height: 1;
}

.price-new {
    font-size: 1.6rem;
    color: var(--teal-dark);
    font-weight: 700;
    line-height: 1.2;
}

.pricing-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 2rem;
    font-style: italic;
}

/* Price Display in Form */
.price-display {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.1) 0%, rgba(26, 58, 92, 0.1) 100%);
    border-radius: 10px;
    border: 2px solid var(--teal-light);
}

.price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 1.1rem;
    color: var(--dark-blue);
    font-weight: 500;
}

.price-amount {
    font-size: 2rem;
    color: var(--teal-dark);
    font-weight: 700;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--dark-blue);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--gray-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    color: var(--gray-dark);
    font-size: 1.1rem;
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Booking Section */
.booking {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-light);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    color: var(--gray-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--gray);
    font-style: italic;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--teal-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: nowrap;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--dark-blue);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-active {
        right: 0;
    }
    
    .nav a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
    }
    
    .nav a:last-child {
        border-bottom: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-table-wrapper {
        margin-top: 2rem;
    }
    
    .pricing-table {
        padding: 2rem 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .pricing-item {
        padding: 0.875rem 0.5rem;
    }
    
    .pricing-item .duration {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .price-old {
        font-size: 0.85rem;
    }
    
    .price-new {
        font-size: 1.4rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-form {
        padding: 2rem 1.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    section {
        padding: 3rem 0;
    }
    
}

/* Add overlay for mobile menu */
@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 999;
        animation: fadeIn 0.3s ease;
        cursor: pointer;
    }
    
    /* Ensure nav is above overlay */
    .nav-active {
        z-index: 1000;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo .tagline {
        font-size: 0.75rem;
    }
    
    .nav {
        width: 100%;
        right: -100%;
    }
    
    .nav-active {
        right: 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .booking-form {
        padding: 1.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pricing-table {
        padding: 1.5rem 1rem;
    }
    
    .pricing-table h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .pricing-badge {
        top: -12px;
        right: 10px;
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .pricing-item {
        padding: 0.75rem 0.25rem;
    }
    
    .pricing-item .duration {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .price-old {
        font-size: 0.75rem;
    }
    
    .price-new {
        font-size: 1.2rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .pricing-table {
        padding: 1.25rem 0.75rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    
    .pricing-item {
        padding: 0.6rem 0.2rem;
    }
    
    .price-new {
        font-size: 1.1rem;
    }
    
    .price-old {
        font-size: 0.7rem;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

