/* =============================================
   Expert Window Cleaning – Custom Styles
   ============================================= */

/* ---------- Global ---------- */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

/* ---------- Navbar ---------- */
#mainNav {
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    padding: 0.5rem 1rem;
}

#mainNav .navbar-brand strong {
    font-size: 1.1rem;
    color: #1a6496;
    letter-spacing: 0.5px;
}

#mainNav .nav-link {
    color: #333 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    transition: color 0.2s;
}

#mainNav .nav-link:hover {
    color: #1a6496 !important;
}

/* Mobile logo in navbar */
#mainNav img {
    max-height: 50px;
    width: auto !important;
}

/* Hamburger icon */
.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
}

.navbar-toggler .fa-bars {
    font-size: 1.4rem;
    color: #1a6496;
}

/* ---------- Hero / Masthead ---------- */
.masthead {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.masthead .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.45);
}

.masthead .container {
    position: relative;
    z-index: 1;
}

.site-heading h1,
.post-heading h1 {
    color: #fff;
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.site-heading .subheading {
    color: #f0f0f0;
    font-size: 1.1rem;
    font-weight: 300;
    display: block;
    margin-top: 0.4rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ---------- Content Sections ---------- */
.content-section {
    padding: 40px 0;
}

.content-section h1 {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: #1a6496;
    margin-bottom: 1rem;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Float images – constrain on small screens */
.float-left {
    float: left;
}

@media (max-width: 575.98px) {
    .float-left {
        float: none !important;
        display: block;
        margin: 0 auto 1rem auto;
    }
}

/* ---------- Index page content ---------- */
.index-content {
    padding: 40px 0;
}

.index-content p {
    line-height: 1.8;
}

/* ---------- Residential service cards ---------- */
.service-card {
    background-color: #e6e6e6;
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 4px;
}

.service-card img {
    max-width: 100px;
}

/* Residential expert card */
.expert-card {
    background-color: #b0cbea;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 20px;
}

.expert-card img {
    max-width: 130px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* ---------- Contact Page ---------- */
.contact-section {
    padding: 40px 0;
}

.contact-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-card .fa {
    font-size: 2rem;
    color: #1a6496;
    margin-bottom: 12px;
}

.contact-card h4 {
    font-family: 'Lora', serif;
    color: #1a6496;
    margin-bottom: 8px;
}

.contact-card a {
    color: #1a6496;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card p {
    color: #555;
    margin-bottom: 0;
}

/* ---------- Pricing Page ---------- */
.pricing-section {
    padding: 40px 0;
}

.pricing-section h1 {
    font-family: 'Lora', serif;
    color: #1a6496;
    margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
footer {
    padding: 30px 0;
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
}

footer .fa-circle {
    color: #1a6496 !important;
}

footer .copyright {
    text-align: center;
    margin-top: 12px;
    font-size: 0.85rem;
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 991.98px) {
    .masthead {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .site-heading h1,
    .post-heading h1 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .masthead {
        padding-top: 90px;
        padding-bottom: 40px;
        min-height: 260px;
    }

    .site-heading h1,
    .post-heading h1 {
        font-size: 1.6rem;
    }

    .site-heading .subheading {
        font-size: 1rem;
    }

    .content-section h1,
    .pricing-section h1 {
        font-size: 1.5rem;
    }

    /* Stack columns on mobile */
    .col-md-6 img.float-left {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    #mainNav {
        padding: 0.4rem 0.75rem;
    }

    .masthead {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .site-heading h1,
    .post-heading h1 {
        font-size: 1.4rem;
    }

    footer {
        padding: 20px 0;
    }
}
