/* BASE STYLES */
:root {
    --emerald-coast: #007A33; /* Deep Emerald Green */
    --emerald-dark: #005724;  /* Darker shade for hover state */
    --ocean-blue: #005f73;    /* Coastal Blue */
    --sugar-sand: #f9f9f9;    /* Off-white Sand */
    --navy: #0a2342;          /* Dark Navy for text */
}

body { 
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    line-height: 1.6; 
    color: var(--navy); 
    background-color: white; 
}

/* NAVIGATION */
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 5%; 
    background: white; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.main-logo { height: 75px; width: auto; display: block; }
.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
    align-items: center; 
    margin: 0; 
    padding: 0; 
}
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 600; }

/* HAMBURGER BUTTON STYLES */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--navy);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* HERO SECTION */
.hero { 
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('coastal-maintenance.jpg') center/cover no-repeat; 
    min-height: 60vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white; 
    padding: 40px 20px;
}
.hero h1 {
    font-size: 2.4rem;
    margin: 15px 0 25px;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.veteran-badge { 
    background: #d90429; 
    color: white; 
    padding: 8px 16px; 
    border-radius: 50px; 
    display: inline-block; 
    margin-bottom: 10px; 
    font-size: 0.9rem; 
    font-weight: bold; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
}

/* EXPERT SERVICES GRID */
.services { padding: 80px 5%; background-color: var(--sugar-sand); text-align: center; }
.services h2 { margin-bottom: 40px; font-size: 2.5rem; color: var(--navy); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 1200px; margin: 0 auto; }
.service-card { background: white; padding: 40px 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease; border-bottom: 4px solid var(--emerald-coast); }
.service-card:hover { transform: translateY(-5px); }
.service-card h3 { color: var(--emerald-coast); margin-bottom: 15px; }

/* CONTACT & FORM SECTION */
.contact-section { padding: 80px 5%; text-align: center; }
.contact-section h2 { font-size: 2.5rem; margin-bottom: 10px; }
.form-card { max-width: 500px; margin: 40px auto; background: white; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-top: 4px solid var(--emerald-coast); text-align: left; box-sizing: border-box; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: bold; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: #555; margin-bottom: 8px; }
.form-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; font-size: 1rem; font-family: inherit; color: var(--navy); transition: border-color 0.3s; }
.form-input:focus { outline: none; border-color: var(--emerald-coast); box-shadow: 0 0 5px rgba(0, 122, 51, 0.2); }
.form-submit-btn { width: 100%; background-color: var(--emerald-coast); color: white; padding: 14px 25px; border-radius: 5px; font-weight: bold; font-size: 1.1rem; border: none; cursor: pointer; transition: background 0.3s; }
.form-submit-btn:hover { background-color: var(--emerald-dark); }

/* SERVICE AREA TAGS */
.area-list { padding: 40px 5%; text-align: center; background-color: var(--sugar-sand); border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.area-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.area-tags li { display: inline-block; background: white; padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; color: var(--navy); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* CONTACT CARD */
.contact-card { max-width: 500px; margin: 40px auto; background: white; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center; border-top: 4px solid var(--emerald-coast); }
.contact-item { margin: 25px 0; }
.contact-label { display: block; font-weight: bold; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: #555; margin-bottom: 5px; }
.contact-link { font-size: 1.5rem; font-weight: bold; color: var(--emerald-coast); text-decoration: none; transition: color 0.3s ease; }
.contact-link:hover { color: var(--ocean-blue); text-decoration: underline; }

/* BUTTONS */
.cta-button { background-color: var(--emerald-coast); color: white; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: bold; display: inline-block; transition: background 0.3s; border: none; cursor: pointer; }
.cta-button:hover { background-color: var(--emerald-dark); }

/* RESPONSIVE MEDIA QUERY */
@media (max-width: 768px) { 
    .menu-toggle { display: flex; }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 0;
        gap: 15px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease-out, opacity 0.3s ease, padding 0.3s ease;
    }
    .nav-links.active {
        max-height: 400px;
        opacity: 1;
        padding: 20px 0;
    }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    .hero h1 { font-size: 1.8rem; } 
    .contact-link { font-size: 1.25rem; } 
    .form-card { padding: 25px; } 
}