/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #005f73;
    /* Deep Teal */
    --primary-hover: #0a9396;
    /* Lighter Teal */
    --accent: #e9c46a;
    /* Warm Yellow/Gold */
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-light: #f9fafb;
    --bg-body: #f3f4f6;
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.9);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;

    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 95, 115, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 95, 115, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #f4a261);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(233, 196, 106, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 196, 106, 0.4);
}


.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: var(--text-muted);
}

/* Header */
header {
    background-color: var(--bg-glass);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: none;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    /* Removes the dots/bullets */
    align-items: center;
    margin: 0;
    padding: 0;
}


nav a {
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    height: calc(100vh - var(--header-height));
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* Features/Intro */
.intro {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

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

.feature-card {
    background: var(--bg-body);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Window Cleaning Section */
.window-cleaning-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

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

.split-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.split-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.split-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.split-content ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.image-grid-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1rem;
    position: relative;
}

.image-grid-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.image-grid-collage img:first-child {
    grid-row: 1 / 3;
    /* Tall image on left */
    height: 100%;
}

.image-grid-collage img:hover {
    transform: scale(1.02);
}

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

    .image-grid-collage {
        order: -1;
        /* Show images on top on mobile */
    }
}


.price-table-wrapper {
    overflow-x: auto;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    background-color: var(--primary);
    color: var(--text-light);
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f9fafb;
}

tr:hover {
    background-color: #f3f4f6;
}

/* Checklists */
.checklist-section {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
}

.accordion-header:hover {
    background-color: #f9fafb;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9fafb;
}

.accordion-content ul {
    padding: 1.5rem;
    list-style-type: disc;
    list-style-position: inside;
}

.active .accordion-header {
    color: var(--primary);
}

.active .accordion-content {
    max-height: 500px;
    /* Approximate max height */
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--primary);
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-form-container {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 95, 115, 0.1);
}

/* Footer */
footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 3rem 0;
    text-align: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    /* Mobile Menu */
    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        /* Full screen height minus header */
        background-color: var(--bg-white);
        padding: 2rem 0;
        box-shadow: none;
        transform: translateX(100%);
        /* Slide in from right */
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        border-top: 1px solid #f3f4f6;
    }

    nav.nav-open {
        transform: translateX(0);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
    }

    nav a {
        font-size: 1.2rem;
        /* Larger touch targets */
        display: block;
        padding: 0.5rem 0;
    }

    .mobile-menu-btn {
        display: flex;
        /* Ensure it flexes to center icon */
        align-items: center;
        justify-content: center;
        width: 44px;
        /* Minimum touch target size */
        height: 44px;
        color: var(--primary);
        z-index: 1001;
    }

    /* Hero adjustments */
    .hero {
        padding-top: 2rem;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Smaller font for mobile */
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Section Spacing */
    .intro,
    .pricing,
    .checklist-section,
    .contact,
    .window-cleaning-section {
        padding: 3rem 0;
        /* Reduced padding on mobile */
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Window Cleaning Section Mobile */
    .image-grid-collage {
        grid-template-rows: 200px 150px;
        /* Adjust heights */
    }

    /* Mobile Table adjustments */
    .price-table-wrapper {
        padding: 0.5rem;
        /* Maximize space */
        box-shadow: none;
        /* Cleaner look on mobile */
        border: 1px solid #e5e7eb;
    }

    table {
        min-width: auto;
        /* Allow table to shrink */
    }

    th,
    td {
        padding: 0.75rem 0.5rem;
        /* Smaller padding */
        font-size: 0.9rem;
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}