/* 
   The Maids of Wall Street - Main Stylesheet
   A responsive one-page website for residential cleaning services in NYC
*/

/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #0a1172; /* Navy Blue to match logo */
    --secondary-color: #ffffff; /* White */
    --accent-color: #f5f5f5; /* Light Gray */
    --text-color: #333333; /* Dark Gray */
    --text-light: #666666; /* Medium Gray */
    --success-color: #28a745; /* Green */
    --border-color: #dddddd; /* Light Gray Border */
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #0d1a80; /* Slightly darker blue */
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== HEADER STYLES ===== */
header {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo img {
    height: 60px;
    width: auto;
}

.logo-link {
    display: block;
}

/* Fixed logo that follows scrolling */
.fixed-logo {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Changed from right to left */
    z-index: 999;
    display: none; /* Hidden initially, shown when scrolling */
}

.fixed-logo img {
    height: 80px;
    width: auto;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.fixed-logo img:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .fixed-logo img {
        height: 70px;
    }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.contact-info .phone-number {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--primary-color);
    height: 2px;
    width: 2rem;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

/* ===== HERO SECTION ===== */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--secondary-color);
    margin-top: 80px; /* To account for fixed header */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: var(--secondary-color);
}

/* ===== SERVICES SECTION ===== */
#services {
    background-color: var(--accent-color);
}

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

.service-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* ===== WHY CHOOSE US SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature:hover {
    background-color: var(--accent-color);
    border-radius: 10px;
}

/* ===== PRICING SECTION ===== */
#pricing {
    background-color: var(--accent-color);
}

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

.pricing-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
}

.pricing-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-option {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    width: 250px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.pricing-option:hover {
    transform: scale(1.05);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.custom-quote {
    font-size: 1.2rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 20px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 700;
    text-align: right;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-form-box {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    order: 1;
}

.contact-info-box {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    order: 2;
}

.contact-info-box h3 {
    color: var(--secondary-color);
    margin-top: 2rem;
}

.contact-info-box h3:first-child {
    margin-top: 0;
}

.contact-info-box p {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-info-box i {
    margin-right: 10px;
}

.contact-info-box a {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media screen and (min-width: 993px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
}

/* Service Buttons Styling */
.service-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.service-buttons input[type="radio"] {
    display: none;
}

.service-button {
    display: block;
    flex: 1;
    text-align: center;
    padding: 12px 15px;
    background-color: var(--accent-color);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.service-button:hover {
    background-color: #e8e8e8;
}

input[type="radio"]:checked + .service-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .service-buttons {
        flex-direction: column;
    }
    
    .service-button {
        margin-bottom: 10px;
    }
}

.form-group textarea {
    resize: vertical;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Adjust footer layout to have logo on left and social icons on right */
@media screen and (min-width: 769px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas: "logo links social";
    }
    
    .footer-logo {
        grid-area: logo;
        justify-self: start;
    }
    
    .footer-links {
        grid-area: links;
        justify-self: center;
    }
    
    .social-links {
        grid-area: social;
        justify-self: end;
    }
}

.footer-logo img {
    height: 80px; /* Increased size for better visibility */
    /* Removed the filter to show the original logo colors */
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
}

.footer-links ul li {
    margin: 0 0.8rem;
}

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

.social-links {
    display: flex;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.bark-icon {
    width: 24px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.social-icon:hover .bark-icon {
    filter: brightness(0);
}

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

/* Hide "Made with Manus" text and elements - Enhanced for paid version */
[href*="manus"], 
a[href*="manus"], 
a[href*="Create my website"],
[class*="manus"],
[id*="manus"],
[data-*="manus"],
[style*="manus"],
div[class^="manus"],
div[id^="manus"],
div[class$="manus"],
div[id$="manus"],
div[class*="manus"],
div[id*="manus"],
iframe[src*="manus"],
img[src*="manus"],
button[class*="manus"],
.manus-branding,
#manus-branding,
[aria-label*="manus"],
[title*="manus"],
[alt*="manus"],
.made-with,
#made-with,
[class*="made-with"],
[id*="made-with"],
[class*="branding"],
[id*="branding"],
[class*="attribution"],
[id*="attribution"],
[class*="credit"],
[id*="credit"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: -9999 !important;
    max-height: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1.5rem;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--secondary-color);
        width: 100%;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 0.75rem 0;
    }
    
    .nav-toggle:checked ~ nav {
        transform: scale(1, 1);
    }
    
    .contact-info {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-logo, .footer-links, .social-links {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .footer-links ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-links ul li {
        margin: 0.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-icon {
        margin: 0 0.5rem;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .pricing-options {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-option {
        width: 100%;
        max-width: 300px;
    }
}
