/* =========================================================
   Capital Maid Service - Main Stylesheet
   Author: Erick Larios / ChatGPT
   Structure:
   1. Variables
   2. Base Styles
   3. Utilities
   4. Topbar
   5. Navigation
   6. Buttons
   7. Hero
   8. Sections
   9. Services
   10. Features
   11. Gallery
   12. Testimonials
   13. Quote Form
   14. Footer
   15. Responsive Styles
========================================================= */

/* 1. Variables */
:root {
    --brand: #1fa8a1;
    --brand-dark: #12807b;
    --accent: #f8c74a;
    --ink: #233143;
    --muted: #6d7a87;
    --light: #f5faf9;
    --white: #ffffff;
    --footer-bg: #182433;
    --shadow-soft: 0 14px 35px rgba(35, 49, 67, 0.09);
    --shadow-hover: 0 18px 45px rgba(35, 49, 67, 0.15);
    --radius-lg: 24px;
    --radius-md: 20px;
}

/* 2. Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    line-height: 1.7;
}

a {
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

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

/* 3. Utilities */
.section-padding {
    padding: 90px 0;
}

.section-lead {
    max-width: 720px;
}

.eyebrow,
.section-kicker {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* 4. Topbar */
.topbar {
    background: var(--brand-dark);
    color: var(--white);
}

.topbar a,
.footer a {
    color: inherit;
    text-decoration: none;
}

.topbar a:hover,
.footer a:hover {
    color: var(--accent);
}

/* 5. Navigation */
.navbar-brand {
    color: var(--ink) !important;
    font-size: 1.6rem;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.85rem;
}

.logo-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: 50%;
    color: var(--white);
    display: inline-flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.nav-link {
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand) !important;
}

/* 6. Buttons */
.btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
}

.btn-outline-light:hover {
    color: var(--brand-dark);
}

/* 7. Hero */
.hero {
    background:
        linear-gradient(120deg, rgba(18, 128, 123, 0.95), rgba(31, 168, 161, 0.65)),
        url("../images/capitol_at_dusk_2.jpg") center / cover no-repeat;
    min-height: 760px;
    position: relative;
}

.hero-overlay {
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18), transparent 30%);
    inset: 0;
    position: absolute;
}

.zip-card {
    border-radius: var(--radius-lg);
}

/* 8. Sections */
.about-section,
.testimonials {
    background-color: var(--light) !important;
}

.staff-section {
    background: var(--white);
}

.custom-plan {
    background: linear-gradient(135deg, #e9f8f7, #fff6d9);
}

/* 9. Services */
.service-card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-img {
    background-position: center;
    background-size: cover;
    height: 210px;
}

.service-img-recurring {
    background-image: url("https://images.unsplash.com/photo-1527515637462-cff94eecc1ac?auto=format&fit=crop&w=900&q=80");
}

.service-img-onetime {
    background-image: url("https://images.unsplash.com/photo-1563453392212-326f5e854473?auto=format&fit=crop&w=900&q=80");
}

.service-img-move {
    background-image: url("https://images.unsplash.com/photo-1600585152220-90363fe7e115?auto=format&fit=crop&w=900&q=80");
}

.service-img-carpet {
    background-image: url("https://images.unsplash.com/photo-1583847268964-b28dc8f51f92?auto=format&fit=crop&w=900&q=80");
}

/* 10. Features */
.feature {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(35, 49, 67, 0.08);
    height: 100%;
    padding: 26px;
}

.feature i {
    color: var(--brand);
    font-size: 2rem;
}

.feature h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 12px 0 0;
}

/* 11. Gallery */
.gallery-item {
    background-position: center;
    background-size: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 35px rgba(35, 49, 67, 0.12);
    min-height: 310px;
}

.gallery-1 {
    background-image: url("https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?auto=format&fit=crop&w=900&q=80");
}

.gallery-2 {
    background-image: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=900&q=80");
}

.gallery-3 {
    background-image: url("https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=900&q=80");
}

/* 12. Testimonials */
.carousel {
    padding-bottom: 55px;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--brand);
    border-radius: 50%;
    height: 12px;
    width: 12px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 35px rgba(35, 49, 67, 0.09);
    font-size: 1.15rem;
    max-width: 850px;
    padding: 45px;
    text-align: center;
}

/* 13. Quote Form */
.quote-section {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.quote-card {
    background: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.25rem rgba(31, 168, 161, 0.25);
}

/* 14. Footer */
.footer {
    background: var(--footer-bg);
    color: #dbe5ee;
}

.footer-brand {
    color: var(--white);
    font-size: 1.6rem;
}

.footer h3 {
    color: var(--white);
    letter-spacing: 0.08em;
}

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

.footer-links a {
    color: #dbe5ee;
}

.socials a {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--white);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.socials a:hover {
    background: var(--brand);
    color: var(--white);
    transform: translateY(-2px);
}

/* 15. Responsive Styles */
@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding: 90px 0;
    }

    .display-3 {
        font-size: 3rem;
    }

    .section-padding {
        padding: 65px 0;
    }
}

@media (max-width: 575px) {
    .display-3 {
        font-size: 2.4rem;
    }

    .service-img {
        height: 180px;
    }

    .testimonial-card {
        padding: 30px 24px;
    }
}

.monthButton {
    background-color:#0066CC;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #B2D1F0;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:16px;
    padding:4px 4px;
    text-decoration:none;
    text-shadow:0px 0px 0px #2f6627;
    min-width:100px;
    font-weight:bold;
}
.monthButton:hover {
    background-color:#99C2EB;
    color:#000000;
}
.monthButton:active {
    position:relative;
    top:1px;
}
.backRed{
    background-color:#FF8282
}

#loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #ef9d00; /* Orange */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

monthButton{
    background-color:#0066CC;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #B2D1F0;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:16px;
    padding:4px 4px;
    text-decoration:none;
    text-shadow:0px 0px 0px #2f6627;
    min-width:100px;
    font-weight:bold;
}

.monthButton:active {
    position:relative;
    top:1px;
}

.week_day {
    font-size:13px;
    font-family:Arial, Helvetica, sans-serif;
    white-space: nowrap;
    /*overflow: hidden;*/
    text-overflow: ellipsis;
}

.week_month_top{
    font-size:13px;
    font-family:Arial, Helvetica, sans-serif;
    max-width: 50px;/*doesn't ellipsis without this*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.week_month{
    font-size:13px;
    font-family:Arial, Helvetica, sans-serif;
    max-width: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dayButton {
    background-color:#007A00;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    border:1px solid #18ab29;
    white-space: normal;
    word-wrap: break-word;
    /*display:inline-block;*/
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:12px;
    padding:4px 2px;
    text-decoration:none;
    text-shadow:0px 0px 0px #2f6627;
}

.dayButton:active {
    position:relative;
    top:1px;
}

.n-bordered{
    border: 1px solid #A9A9A9;
    border-collapse: collapse;
}

.n-bordered{
    border: none;
}

.bordered td, .n-bordered td{
    border: 1px solid #A9A9A9;
}

.n-bordered tr:first-child td{
    border-top: none;
}

.n-bordered tr td:first-child{
    border-left: none;
}

.n-bordered tr td:last-child{
    border-right: none;
}

.overlay{
    -webkit-filter:brightness(50%);
    -moz-filter:brightness(50%);
    filter: url(#brightness); /* required for FF */
    filter:brightness(50%);
}
