/* Variables & Reset */
:root {
    --color-primary-dark: #002500;
    --color-secondary: #85B885;
    --color-light: #D2E4D2;
    --color-accent: #FF8E61;
    --color-white: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #4a4a4a;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --container-width: 1200px;
    --border-radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    border: 1px solid var(--color-primary-dark);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* Header */
.site-header {
    padding: var(--spacing-md) 0;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: transparent;
    /* Transparent initially */
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: var(--spacing-sm) 0;
    /* Slightly smaller on scroll */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.main-nav a:not(.btn) {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.main-nav a:not(.btn):hover {
    color: var(--color-primary-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary-dark);
}

/* Hero */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    background: linear-gradient(to bottom, var(--color-light) 0%, var(--color-white) 100%);
}

.hero-title {
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

/* Services */
.services {
    padding: var(--spacing-xl) 0;
}

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

.service-card {
    padding: var(--spacing-md);
    border: 1px solid var(--color-light);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--color-white);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 37, 0, 0.05);
    border-color: var(--color-secondary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary-dark);
}

.service-card p {
    color: var(--color-text-light);
    font-size: 1rem;
}

/* About */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.about .section-title {
    color: var(--color-white);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact */
.contact {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact p {
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-light);
    font-size: 1.2rem;
}

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

/* Footer */
.site-footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--color-light);
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .main-nav {
        display: none;
        /* Simple hide for now, JS will handle toggle */
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Staggered Animation */
.hero-title {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

/* Scroll Reveal Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Service Cards */
.service-card {
    /* Existing styles remain, just ensuring transition compatibility */
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease-out, transform 0.8s ease-out;
}