/* ============================================
   Top Notch Cleaning Services — Theme Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
    --blue: #1E88E5;
    --blue-dark: #1565C0;
    --blue-light: #E3F2FD;
    --orange: #FF8A3D;
    --orange-dark: #F57C00;
    --green: #43A047;
    --teal: #00897B;
    --purple: #7B1FA2;
    --red: #E53935;
    --navy: #1f2b78;
    --dark: #1E1E1E;
    --gray-900: #212121;
    --gray-700: #616161;
    --gray-500: #9E9E9E;
    --gray-300: #E0E0E0;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
}

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

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

a:hover {
    color: var(--blue-dark);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-orange {
    background: var(--orange);
    color: var(--white);
}

.btn-orange:hover {
    background: var(--orange-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 138, 61, 0.4);
}

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

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: var(--blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo img {
    height: 48px;
    width: auto;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav .nav-list li a {
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.main-nav .nav-list li a:hover,
.main-nav .nav-list li.current-menu-item a,
.main-nav .nav-list li.current_page_item a {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(30, 136, 229, 0.92) 0%,
        rgba(30, 136, 229, 0.75) 40%,
        rgba(30, 136, 229, 0.3) 70%,
        transparent 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 28px;
    line-height: 1.15;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.section-title-light {
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-300);
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

/* ============================================
   WHY SECTION (Feature Cards)
   ============================================ */
.why-section {
    padding: 80px 0;
    background: var(--white);
}

.cards-grid {
    display: grid;
    gap: 28px;
}

.cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.icon-blue {
    background: var(--blue-light);
    color: var(--blue);
}

.icon-green {
    background: #E8F5E9;
    color: var(--green);
}

.icon-orange {
    background: #FFF3E0;
    color: var(--orange);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: 0;
}

.gallery-bg {
    background: var(--dark);
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--blue-light);
}

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

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--gray-700);
    font-size: 1.1rem;
    margin-bottom: 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: var(--blue);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-section {
    padding: 80px 0;
}

.service-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    background: var(--white);
    border: 1px solid var(--gray-300);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card-header {
    padding: 24px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 16px;
}

.service-card-header h3 {
    font-size: 1.2rem;
}

.bg-blue { background: var(--blue); }
.bg-green { background: var(--green); }
.bg-orange { background: var(--orange); }
.bg-purple { background: var(--purple); }
.bg-teal { background: var(--teal); }
.bg-red { background: var(--red); }

.service-card-body {
    padding: 24px;
}

.service-card-body p {
    color: var(--gray-700);
    margin-bottom: 16px;
}

.service-card-body ul {
    list-style: none;
}

.service-card-body ul li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.service-card-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* Section description */
.section-description {
    text-align: center;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Pricing */
.pricing-section {
    padding: 60px 0 80px;
    background: var(--gray-100);
}

.pricing-title {
    color: #149e14;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.pricing-card p {
    color: var(--gray-700);
}

.pricing-card-featured {
    border-color: var(--blue);
    border-width: 2px;
    position: relative;
}

.pricing-card-featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   BOOKING PAGE
   ============================================ */
.booking-section {
    padding: 80px 0;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.booking-form-wrap {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}

.booking-form-wrap h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--gray-900);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
}

/* CF7 form styling */
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 16px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
}

.wpcf7 input[type="submit"] {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
}

.wpcf7 input[type="submit"]:hover {
    background: var(--orange-dark);
}

/* Steps */
.steps-centered {
    max-width: 800px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* CTA orange variant */
.cta-orange {
    background: var(--orange);
}

.cta-orange h2,
.cta-orange p {
    color: var(--white);
}

.cta-orange .btn-orange {
    background: var(--white);
    color: var(--orange);
}

.cta-orange .btn-orange:hover {
    background: var(--gray-100);
    color: var(--orange-dark);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
    padding: 80px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.story-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.story-text p {
    color: var(--gray-700);
    margin-bottom: 16px;
    line-height: 1.7;
}

.story-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Values */
.values-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

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

.icon-orange-bg {
    background: #FFF3E0;
    color: var(--orange);
}

.value-icon svg {
    margin: 0 auto;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Insured Section */
.insured-section {
    padding: 80px 0;
}

.insured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.insured-card {
    background: var(--white);
    border: 2px solid var(--blue);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
}

.insured-icon {
    color: var(--blue);
    margin-bottom: 16px;
}

.insured-icon svg {
    margin: 0 auto;
}

.insured-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.insured-card p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy);
    color: var(--gray-500);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-bottom: 40px;
}

.footer-col ul li svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    color: var(--gray-500);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col ul li {
    padding: 4px 0;
    font-size: 0.9rem;
}

.footer-col ul li a {
    color: var(--gray-500);
    transition: color var(--transition);
}

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .cards-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header */
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--blue-dark);
        padding: 16px 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav .nav-list li a {
        display: block;
        padding: 12px 16px;
    }

    /* Hero */
    .hero {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(30, 136, 229, 0.9) 0%,
            rgba(30, 136, 229, 0.7) 100%
        );
    }

    /* Grids */
    .cards-3 {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 40px auto 0;
    }

    .story-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .story-image {
        order: -1;
    }

    .insured-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Section padding */
    .why-section,
    .services-section,
    .booking-section,
    .about-story,
    .values-section,
    .insured-section,
    .cta-section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .page-header {
        padding: 40px 0;
    }

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

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.65rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .booking-form-wrap {
        padding: 24px 16px;
    }
}
