/* --- CSS VARIABLES --- */
:root {
    /* Brand colors: dark blue, light blue, white */
    --brand-dark: #0B3D91;
    /* primary dark blue */
    --brand-dark-hover: #0E4EA8;
    /* hover shade */
    --brand-light: #BEE6FF;
    /* light / accent blue */
    --dark-bg: var(--brand-dark);
    --dark-surface: #08294f;
    /* slightly different dark surface */
    --text-dark: #102A43;
    /* dark text on white backgrounds */
    --text-light: #F4F4F4;
    --white: #FFFFFF;
    --gray-bg: #F9F9F9;
    --border-radius: 6px;
    --transition: 0.3s ease-in-out;
}

/* --- RESET & TYPOGRAPHY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- BUTTONS (Mobile-First, Tappable) --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: var(--brand-dark);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--brand-dark-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--dark-bg);
    border: 2px solid var(--dark-bg);
    margin-top: 1rem;
}

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

/* --- HEADER & NAV --- */
#main-header {
    background-color: var(--dark-bg);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

/* Header logo image + text alignment */
.logo a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 52px;
    /* increased slightly for better visibility */
    width: auto;
    display: inline-block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 36px;
        /* smaller on mobile so the header/logo fits */
    }
}

.logo span {
    color: var(--brand-light);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a:hover {
    color: var(--brand-light);
}

.header-cta .phone-btn {
    font-weight: 800;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

/* --- HERO SECTION --- */
#hero {
    position: relative;
    /* Hero background: use work photo with a dark overlay for readable text */
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('img/work.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
}



.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--brand-light);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 20px;
    font-weight: 600;
    flex-wrap: wrap;
}

/* --- LAYOUT SECTIONS --- */
.section-light,
.section-gray,
.section-dark {
    padding: 5rem 0;
}

.section-gray {
    background-color: var(--gray-bg);
}

.section-dark {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

    .stars {
        color: #D4AF37;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.service-card h3 {
    color: var(--dark-bg);
}

/* --- ABOUT SECTION --- */
.about-list li {
    margin-bottom: 1rem;
    padding-left: 20px;
    position: relative;
}

.about-list li::before {
    content: '✓';
    color: var(--brand-light);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* About section image + text layout */
.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-text {
    flex: 1;
}

/* --- REVIEWS --- */
.stars {
    color: var(--brand-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 3rem;
}

.huge-phone h3 {
    color: var(--dark-bg);
}

.huge-phone a {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-dark);
    display: block;
    margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.map-placeholder {
    background: #e0e0e0;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    font-weight: bold;
    color: #666;
}

/* --- FOOTER --- */
footer {
    background: var(--dark-surface);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

/* --- RESPONSIVE / MOBILE-FIRST --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }

    .nav-links.active {
        left: 0;
    }

    /* Stack about image above text on mobile */
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        max-width: 280px;
        margin: 0 auto 1.5rem;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    /* Smaller header on mobile; hide the inline logo text so only the image remains */
    .header-container {
        height: 64px;
        align-items: center;
        gap: 8px;
    }

    /* hide textual logo on mobile - keep image visible
       accessible name is provided via aria-label on the anchor */
    .logo a {
        font-size: 0;
    }

    .logo span {
        display: none;
    }

    /* Ensure mobile nav sits below the reduced header */
    .nav-links {
        top: 64px;
    }

    .header-cta {
        display: none;
        /* Hide button on mobile nav to save space, rely on hero button */
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

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

    .huge-phone a {
        font-size: 2rem;
    }
}

/* (removed compact-label rule; logo text is hidden for <=768px via main mobile rules) */