/* Elite Cleaning - Premium Styles */

:root {
    --primary-color: #001f5c;
    /* Deep Navy Blue */
    --secondary-color: #20c997;
    /* Teal/Cyan from logo */
    --accent-color: #f4f4f4;
    /* Light Grey */
    --text-dark: #333333;
    --text-light: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--secondary-color);
}

.bg-light {
    background-color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #b39028;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-gold {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
    width: 100%;
}

.btn-gold:hover {
    background-color: #b39028;
}

.divider {
    height: 3px;
    width: 80px;
    background-color: var(--secondary-color);
    margin: 10px auto 30px;
}

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    /* Luxury Living Room */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 0;
    /* Header is fixed */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 92, 0.6);
    /* Navy overlay */
    z-index: 1;
}

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

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Sections */
.section {
    padding: 80px 0;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(32, 201, 151, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.service-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--secondary-color);
    /* Fallback if image fails */
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary-color);
    font-weight: 600;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    margin-left: 10px;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

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

/* Footer */
.site-footer {
    background-color: #001540;
    /* Darker Navy */
    color: #cbd5e0;
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    color: #fff;
    font-size: 24px;
}

.footer-col h3 span {
    color: var(--secondary-color);
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

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

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        height: 70px;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: #fff;
        padding: 40px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Animations */
.animate-fade-up {
    animation: fadeUp 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Page Styles */
.page-header {
    height: 50vh;
    background-image: url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    /* Clean Interior */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 80px;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

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

.image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 8px;
    z-index: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.divider.ml-0 {
    margin-left: 0;
    margin-right: 0;
}

.mission-box {
    background-color: var(--accent-color);
    padding: 20px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 30px;
    border-radius: 0 4px 4px 0;
}

.mission-box h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Detailed Quote Form Styles */
.quote-header {
    background-image: url('https://images.unsplash.com/photo-1527513023157-19bd9482596d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    /* Bright Clean Space */
    height: 40vh;
}

.detailed-quote-form {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px);
    /* Overlap header */
    position: relative;
    z-index: 10;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 20px;
}

.form-group.half {
    width: 50%;
    padding: 0 15px;
}

.form-group.full {
    width: 100%;
    padding: 0 15px;
}

.detailed-quote-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.detailed-quote-form input,
.detailed-quote-form select,
.detailed-quote-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    /* Pill shape for inputs */
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.detailed-quote-form textarea {
    border-radius: 20px;
    /* Slighter radius for textarea */
    resize: vertical;
}

.detailed-quote-form input:focus,
.detailed-quote-form select:focus,
.detailed-quote-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    border-radius: 50px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .detailed-quote-form {
        padding: 30px 20px;
        transform: translateY(0);
        margin-top: -30px;
    }

    .form-group.half {
        width: 100%;
        margin-bottom: 20px;
    }

    .form-row {
        margin-bottom: 0;
    }
}

/* Privacy Policy Modal */
.privacy-btn {
    background: none;
    border: none;
    color: #cbd5e0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: underline;
    transition: var(--transition);
}

.privacy-btn:hover {
    color: var(--secondary-color);
}