/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: #0f172a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
}

.main-logo {
    height: auto;
    max-height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s ease-in-out;
}

.nav-links a:hover {
    color: #f59e0b;
}

.nav-cta {
    background-color: #f59e0b;
    color: #0f172a !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background-color: #d97706;
    transform: translateY(-1px);
}

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

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.25s ease-in-out;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(30, 58, 138, 0.85)), 
                url('coastal-maintenance.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: 5rem 1.5rem 6rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.veteran-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtext {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.25s ease-in-out;
    display: inline-block;
}

.cta-button.primary {
    background-color: #f59e0b;
    color: #0f172a;
}

.cta-button.primary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-button.secondary:hover {
    background-color: #ffffff;
    color: #0f172a;
    transform: translateY(-2px);
}

/* ==========================================================================
   4. SERVICES SECTION
   ========================================================================== */
.services-summary {
    max-width: 1200px;
    margin: -3rem auto 0;
    padding: 0 1.5rem 4rem;
    position: relative;
    z-index: 10;
}

.services-summary h2, 
.areas-section h2, 
.contact-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 2.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #1e3a8a;
    transition: all 0.25s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #0f172a;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #4b5563;
    font-size: 0.95rem;
}

/* ==========================================================================
   5. SERVICE AREAS SECTION
   ========================================================================== */
.areas-section {
    background-color: #ffffff;
    padding: 4rem 1.5rem;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.areas-section p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.area-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.area-list li {
    background-color: #f8fafc;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    border: 1px solid #cbd5e1;
}

/* ==========================================================================
   6. CONTACT & FORM SECTION
   ========================================================================== */
.contact-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.contact-section p {
    text-align: center;
    color: #4b5563;
    margin-bottom: 2rem;
}

.contact-section a {
    color: #1e3a8a;
    font-weight: 600;
}

.form-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.25s ease-in-out;
}

.form-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.form-submit-btn {
    width: 100%;
    background-color: #1e3a8a;
    color: #ffffff;
    border: none;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    margin-top: 0.5rem;
}

.form-submit-btn:hover {
    background-color: #0f172a;
    transform: translateY(-1px);
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 2.5rem 1.5rem;
    font-size: 0.9rem;
}

.site-footer p {
    margin-bottom: 0.5rem;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
    color: #f59e0b;
}

/* ==========================================================================
   8. RESPONSIVE / MOBILE STYLES
   ========================================================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0f172a;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 3.5rem 1rem 5rem;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .form-card {
        padding: 1.5rem;
    }
}