/* Wetlands Services CSS - Professional Environmental Consulting */
/* Color Palette: Natural wetland greens and earth tones */

:root {
    --wetland-green: #2e7d32;
    --marsh-green: #4caf50;
    --water-blue: #0277bd;
    --earth-brown: #5d4037;
    --sky-blue: #03a9f4;
    --reed-tan: #bcaaa4;
    --soft-cream: #fafafa;
    --warm-beige: #f5f5dc;
    --dark-text: #1b1b1b;
    --gray-text: #555;
    --light-gray: #e0e0e0;
    --accent-gold: #ffa000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: var(--soft-cream);
}

/* A11y + UX polish */
.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 2000;
    background: #111;
    color: #fff;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
    outline: 3px solid var(--accent-gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(255, 160, 0, 0.75);
    outline-offset: 3px;
}

.nav-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.nav-item {
    white-space: nowrap;
}

.header {
    background: linear-gradient(135deg, var(--wetland-green) 0%, var(--marsh-green) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Shared header layout (injected by wetlands-ui.js) */
.brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.brand-logo {
    width: 92px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}

.brand-text {
    display: grid;
    justify-items: center;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.subtitle {
    font-size: 1.1rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

.navigation {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-item {
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-item:hover {
    color: var(--wetland-green);
    background: var(--warm-beige);
}

.nav-item.active {
    color: var(--wetland-green);
    border-bottom-color: var(--marsh-green);
    background: #e8f5e9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    background: linear-gradient(to bottom, var(--warm-beige), white);
    padding: 4rem 2rem;
    text-align: center;
}

.hero h2 {
    font-size: 2.8rem;
    color: var(--wetland-green);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-text {
    font-size: 1.3rem;
    color: var(--gray-text);
    max-width: 900px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--accent-gold);
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: #ff8f00;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: var(--water-blue);
    color: white;
}

.btn-secondary:hover {
    background: var(--sky-blue);
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--wetland-green);
    border: 2px solid var(--wetland-green);
}

.btn-light:hover {
    background: var(--wetland-green);
    color: white;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-badge {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--marsh-green);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-text);
    margin-top: 0.5rem;
}

section {
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--wetland-green);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.services-section {
    background: white;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--warm-beige);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s;
    position: relative;
}

.service-card p {
    margin-top: 0.75rem;
}

.service-card ul {
    margin-top: 0.75rem;
}

/* Steps cards (permitting page) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-card {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    border: 2px solid var(--light-gray);
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f5e9;
    color: var(--wetland-green);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.service-card.featured {
    border-color: var(--marsh-green);
    border-width: 4px;
}

.service-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-gold);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--wetland-green);
    margin-bottom: 1rem;
    text-align: center;
}

.service-description {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li:before {
    content: "✓";
    color: var(--marsh-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-pricing {
    text-align: center;
    font-size: 1.4rem;
    color: var(--wetland-green);
    margin: 1.5rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.why-section {
    background: #e8f5e9;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 6px solid var(--marsh-green);
}

.why-card h3 {
    color: var(--wetland-green);
    margin-bottom: 1rem;
}

.projects-section {
    background: white;
}

.project-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.project-type {
    background: var(--warm-beige);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid var(--light-gray);
    transition: all 0.3s;
}

.project-type:hover {
    border-color: var(--marsh-green);
    background: white;
}

.project-icon {
    font-size: 2.5rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--wetland-green), var(--marsh-green));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.text-center {
    text-align: center;
}

.service-badge {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: inline-block;
}

.footer {
    background: var(--earth-brown);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-text {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-text a {
    color: var(--marsh-green);
    text-decoration: none;
    font-weight: 600;
}

.footer-text a:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin-top: 1.5rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-meta {
    margin-top: 1.25rem;
}

.footer-references a {
    color: #d7f5d9;
    text-decoration: underline;
}

.footer-references a:hover {
    opacity: 0.9;
}

.footer-disclaimer {
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.site-banner {
    background: #e8f5e9;
    color: var(--dark-text);
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--light-gray);
    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {
    .header-content h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 2rem; }
    .service-grid, .why-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .btn-lg { width: 100%; }

    .brand-logo { width: 72px; }
}
