/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #132a13;    /* PNW Deep Forest */
    --secondary-color: #2d4a22;  /* Deep Moss */
    --accent-color: #4a7c44;     /* Muted Evergreen */
    --accent-hover: #3d6638;    /* Darker Evergreen */
    --text-dark: #1a2e1a;
    --text-light: #4b5548;       /* Muted Sage Gray */
    --bg-light: #f4f6f4;         /* Very Light Sage */
    --white: #ffffff;
    --border-color: #d1d5db;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.nav-links a.active {
    color: var(--accent-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh; /* Fixed height to keep image size consistent */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000; /* Dark base for image depth */
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(19, 42, 19, 0.95) 0%, rgba(19, 42, 19, 0.6) 40%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Increased from 0.25 */
    filter: none; /* Removed grayscale to let colors pop */
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0; /* Removed padding to avoid pushing container height */
    transform: translateY(15vh); /* Moves text lower within the fixed container */
    color: var(--white);
    text-align: left;
}

.hero-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.hero-text-block {
    flex: 1;
}

.hero-content h1,
.hero-content .tagline,
.hero-content .hero-description {
    max-width: 650px; /* Keep text on the left half */
    margin-left: 0;
}

.hero-cta-block {
    flex-shrink: 0;
}

.hero-content .container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #9cd196; /* Brighter sage for better visibility on image */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 3rem;
    color: var(--white); /* Pure white for better contrast */
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1.125rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(74, 124, 68, 0.2);
}

.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(74, 124, 68, 0.3);
}

/* Services Section */
.services {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4rem;
    letter-spacing: -0.5px;
}

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

.service-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: #f0f4f0; /* Light Sage */
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* About Page Content Styling */
.about-content {
    padding: 6rem 0;
}

.about-text {
    max-width: 750px;
    margin: 0 auto;
}

.about-text h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.about-text h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    margin-top: 3rem;
}

.about-text p {
    color: var(--text-dark);
    margin-bottom: 1.75rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.expertise-list {
    list-style: none;
    margin: 2.5rem 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.expertise-list li {
    padding: 1.25rem;
    background-color: var(--bg-light);
    border-radius: 10px;
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.expertise-list li::before {
    content: "→";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.expertise-list li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 4px;
}

.contact-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem;
    border-radius: 16px;
    margin-top: 5rem;
    text-align: center;
}

.contact-section h3 {
    color: var(--white);
    margin-top: 0;
    font-size: 2rem;
}

.contact-section p {
    color: #d1dace;
    margin-bottom: 2.5rem;
}

/* Footer */
footer {
    background-color: var(--white);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-flex-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .nav-links {
        display: none; /* In a real site, we'd add a mobile menu */
    }

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

    .tagline {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .services {
        padding: 5rem 0;
    }

    .contact-section {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content {
        padding: 4rem 0;
    }

    .services h2 {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }
}
