/* 
================================================================================
BENTONVILLE HANDYMAN MASTER STYLESHEET

================================================================================
*/

/* --- CSS VARIABLES --- */
:root {
    --brand-yellow: #FFCC00; 
    --brand-black: #111111;
    --text-dark: #333333;
    --text-light: #F8F8F8;
    --section-padding: 80px 10%;
}

/* --- BASE STYLES --- */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    background-color: var(--text-light); 
    color: var(--text-dark); 
    line-height: 1.6; 
}

/* --- TYPOGRAPHY & HEADINGS --- */
.section-title { 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
    color: var(--brand-black); 
    text-align: center; 
}

.section-subtitle { 
    font-size: 1.2rem; 
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto 40px auto; 
    color: #555; 
}

/* --- BUTTONS --- */
.btn-yellow {
    background-color: var(--brand-yellow); 
    color: var(--brand-black);
    padding: 15px 30px; 
    font-size: 1.2rem; 
    font-weight: bold; 
    border: none;
    cursor: pointer; 
    border-radius: 5px; 
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.btn-yellow:hover { 
    transform: scale(1.05); 
    background-color: #e6b800; 
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.4); 
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: 110px; 
    padding: 10px 5%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 100; 
    transition: background-color 0.3s ease;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
}

header.scrolled { 
    background-color: var(--brand-black); 
    border-bottom: 2px solid var(--brand-yellow); 
}

.header-brand { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    text-decoration: none; /* Inherited from Source 6 */
}

header img { 
    height: 90px; 
    width: auto; 
    transition: height 0.3s ease; 
}

.header-title { 
    color: white; 
    font-size: 2rem; 
    font-weight: bold; 
    letter-spacing: 1px; 
    transition: font-size 0.3s ease; 
}

.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

.header-phone { 
    color: white; 
    font-size: 1.2rem; 
    font-weight: bold; 
    text-decoration: none; 
    transition: color 0.3s; 
}

.header-phone:hover { 
    color: var(--brand-yellow); 
}

.mobile-hero-logo { 
    display: none; 
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh; 
    width: 100%;
    background-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%), url('../images/handyman-bentonville-ar.webp'); /* Adjusted path for external CSS */
    background-size: cover; 
    background-position: center;
    display: flex; 
    align-items: flex-end; 
    padding: 0 10% 15vh 10%;
}

.hero-content { 
    max-width: 800px; 
    color: white; 
}

.hero h1 { 
    font-size: 5.5rem; /* Base size from Source 5 */
    color: var(--brand-yellow); 
    margin-bottom: 10px; 
    line-height: 1.1; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
}

.hero p { 
    font-size: 1.5rem; 
    margin-bottom: 30px; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); 
}

/* --- ABOUT SECTION --- */
.about { 
    padding: var(--section-padding); 
    text-align: center; 
    background-color: white; 
}

.about h2 { 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
    color: var(--brand-black); 
}

.about p { 
    font-size: 1.2rem; 
    max-width: 800px; 
    margin: 0 auto; 
}

/* --- GRID LAYOUTS (Why Us & Process) --- */
.why-us { 
    background-color: white; 
    padding: var(--section-padding); 
}

.benefits-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    text-align: center; 
}

.benefit-item { 
    padding: 20px; 
}

.benefit-icon { 
    font-size: 3rem; 
    color: var(--brand-yellow); 
    margin-bottom: 15px; 
    display: block; 
}

.benefit-item h3 { 
    font-size: 1.5rem; 
    color: var(--brand-black); 
    margin-bottom: 10px; 
}

/* --- LOCATIONS SECTION (Home Page) --- */
.locations { 
    background-color: var(--brand-black); 
    color: white; 
    text-align: center; 
    padding: var(--section-padding); 
}

.locations .section-title { 
    color: var(--brand-yellow); 
}

.locations .section-subtitle { 
    color: #ccc; 
}

.city-list { 
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    flex-wrap: wrap; 
    margin-top: 30px; 
}

.city-item { 
    font-size: 1.5rem; 
    font-weight: bold; 
    padding: 10px 20px; 
    border: 2px solid var(--brand-yellow); 
    border-radius: 5px; 
}

/* --- SERVICES GRID --- */
.services { 
    padding: var(--section-padding); 
    background-color: var(--text-light); 
}

.services h2 { 
    font-size: 2.5rem; 
    margin-bottom: 40px; 
    text-align: center; 
    color: var(--brand-black); 
}

.service-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
}

.service-item {
    background: white; 
    padding: 20px; 
    border-left: 5px solid var(--brand-yellow);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 15px rgba(0,0,0,0.1); 
}

.service-item strong { 
    display: block; 
    margin-bottom: 5px; 
    font-size: 1.1rem; 
    color: var(--brand-black); 
}

/* --- TESTIMONIALS --- */
.testimonials { 
    background-color: white; 
    padding: var(--section-padding); 
}

.review-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

.review-card { 
    background: var(--text-light); 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

.stars { 
    color: var(--brand-yellow); 
    font-size: 1.5rem; 
    margin-bottom: 15px; 
}

.review-text { 
    font-style: italic; 
    margin-bottom: 15px; 
    color: #555; 
}

.reviewer { 
    font-weight: bold; 
    color: var(--brand-black); 
}

/* --- FAQ SECTION --- */
.faq { 
    background-color: var(--text-light); 
    padding: var(--section-padding); 
}

.faq-container { 
    max-width: 800px; 
    margin: 0 auto; 
}

.faq-item { 
    margin-bottom: 20px; 
    background: white; 
    padding: 20px; 
    border-radius: 5px; 
    border-left: 5px solid var(--brand-black); 
}

.faq-item h3 { 
    color: var(--brand-black); 
    margin-bottom: 10px; 
    font-size: 1.2rem; 
}

/* --- CALL TO ACTION --- */
.final-cta { 
    text-align: center; 
    background-color: var(--brand-yellow); 
    padding: 60px 10%; 
}

.final-cta h2 { 
    font-size: 2.5rem; 
    color: var(--brand-black); 
    margin-bottom: 20px; 
}

/* --- FOOTER --- */
footer { 
    background-color: var(--brand-black); 
    color: white; 
    padding: 60px 10% 40px; 
    border-top: 5px solid var(--brand-yellow); 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 40px; 
    margin-bottom: 40px; 
    text-align: left; 
}

.footer-col h4 { 
    color: var(--brand-yellow); 
    font-size: 0.85rem; 
    font-weight: bold; 
    letter-spacing: 0.1em; 
    text-transform: uppercase; 
    margin-bottom: 14px; 
}

.footer-col p, .footer-col address { 
    font-size: 0.95rem; 
    line-height: 1.8; 
    color: #cccccc; 
    font-style: normal; 
}

.footer-col a { 
    color: #cccccc; 
    text-decoration: none; 
    transition: color 0.3s; 
}

.footer-col a:hover { 
    color: var(--brand-yellow); 
}

.footer-bottom { 
    border-top: 1px solid #333; 
    padding-top: 24px; 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: space-between; 
    gap: 16px; 
}

.footer-bottom p { 
    font-size: 0.85rem; 
    color: #888; 
}

.social-links { 
    display: flex; 
    gap: 20px; 
}

.social-links svg { 
    width: 28px; 
    height: 28px; 
    fill: var(--brand-yellow); 
    transition: fill 0.3s ease; 
    cursor: pointer; 
}

.social-links svg:hover { 
    fill: white; 
}

/* --- MODAL FORM --- */
.modal-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.7); 
    display: none; 
    justify-content: center; 
    align-items: center; 
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white; 
    padding: 40px; 
    border-radius: 8px; 
    width: 100%; 
    max-width: 500px; 
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.close-btn { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    font-size: 1.5rem; 
    cursor: pointer; 
    color: #555; 
    transition: color 0.3s; 
}

.close-btn:hover { 
    color: var(--brand-black); 
}

.modal-content h3 { 
    margin-bottom: 20px; 
    font-size: 1.8rem; 
    color: var(--brand-black); 
}

.form-group { 
    margin-bottom: 15px; 
}

.form-group label { 
    display: block; 
    margin-bottom: 5px; 
    font-weight: bold; 
}

.form-group input, .form-group textarea {
    width: 100%; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    font-family: inherit; 
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus { 
    border-color: var(--brand-yellow); 
    outline: none; 
}

.success-screen {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(40, 167, 69, 0.95); 
    color: white; 
    display: none; 
    justify-content: center; 
    align-items: center;
    z-index: 2000; 
    text-align: center; 
    font-size: 2rem; 
    font-weight: bold; 
    padding: 20px;
}

/* --- RESPONSIVE STYLES --- */

/* Tablets & Smaller Desktops */
@media (max-width: 1024px) {
    .hero h1 { 
        font-size: 4rem; 
    }
    .hero p { 
        font-size: 1.3rem; 
    }
}

/* Tablets (Portrait) & Large Phones */
@media (max-width: 768px) {
    :root { 
        --section-padding: 60px 5%; 
    }
    
    header { 
        height: 80px; 
        padding: 10px 5%; 
    }
    
    header img { 
        height: 50px; 
    }
    
    .header-title { 
        font-size: 1.3rem; 
    }
    
    .header-phone { 
        font-size: 1rem; 
    }
    
    .btn-yellow { 
        padding: 10px 20px; 
        font-size: 1rem; 
    }
    
    .hero { 
        padding: 0 5% 10vh 5%; 
    }
    
    .hero h1 { 
        font-size: 3rem; 
    }
    
    .hero p { 
        font-size: 1.1rem; 
    }
    
    .about, .services, .why-us, .locations, .testimonials, .faq, .final-cta, .how-it-works { 
        padding: 60px 5%; 
    }
    
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 30px; 
    }
    
    .footer-bottom { 
        flex-direction: column; 
        align-items: flex-start; 
    }
}

/* Mobile Phones */
@media (max-width: 600px) {
    header { 
        flex-direction: row; 
        justify-content: flex-end; 
    }
    
    .header-brand { 
        display: none; 
    } 
    
    .header-actions { 
        gap: 10px; 
    }
    
    .header-phone { 
        display: none; 
    } 
    
    .hero { 
        background-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%), url('../images/handyman-bentonville-arkansas.webp'); /* Adjusted path for external CSS */
        align-items: center; 
        justify-content: center; 
        text-align: center; 
        padding-top: 80px; 
    }
    
    .hero-content { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    
    .mobile-hero-logo { 
        display: block; 
        max-width: 440px; 
        width: 90%; 
        margin-bottom: 20px; 
    }
    
    .hero h1 { 
        font-size: 2.5rem; 
    }
    
    .hero p { 
        font-size: 1rem; 
    }
    
    .about h2, .services h2, .section-title { 
        font-size: 2rem; 
    }
    
    .service-grid { 
        grid-template-columns: 1fr; 
    } 
    
    .city-list { 
        flex-direction: column; 
        gap: 15px; 
    }
    
    .modal-content { 
        padding: 20px; 
        width: 90%; 
    } 
    
    .modal-content h3 { 
        font-size: 1.5rem; 
    }
}

/* Smallest Devices */
@media (max-width: 480px) {
    .footer-grid { 
        grid-template-columns: 1fr; 
    }
}