/* CSS Reset & Variables */
:root {
    --color-primary: #2d5a27;      /* Deep forest green */
    --color-primary-dark: #1f3f1b;
    --color-secondary: #8c5a2b;    /* Warm brown */
    --color-background: #fdfbf7;   /* Off-white / beige */
    --color-surface: #ffffff;
    --color-text: #333333;
    --color-text-light: #555555;
    
    --font-family: 'Outfit', sans-serif;
    
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Header */
.header {
    background-color: var(--color-surface);
    padding: var(--spacing-md) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-link {
    display: inline-block;
}

.logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* offset for header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(31, 63, 27, 0.85) 0%,
        rgba(45, 90, 39, 0.6) 60%,
        rgba(45, 90, 39, 0.1) 100%
    );
}

.hero-content {
    max-width: 650px;
    color: white;
    padding: var(--spacing-xxl) var(--spacing-lg);
    margin: 0;
}

.hero-headline {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 300;
    margin-bottom: var(--spacing-xl);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 90%;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-secondary);
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1rem 3rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(140, 90, 43, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(140, 90, 43, 0.6);
    background-color: #a36a33;
}

.cta-button:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(140, 90, 43, 0.4);
}

/* Features Section */
.features {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-background);
}

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

.feature-card {
    background: var(--color-surface);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(45, 90, 39, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.feature-text {
    color: var(--color-text-light);
    font-size: 1.05rem;
    font-weight: 300;
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-lg);
}

.footer-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-text {
    line-height: 1.8;
}

.footer-text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s ease;
}

.footer-text a:hover {
    text-decoration-color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(31, 63, 27, 0.8) 0%,
            rgba(45, 90, 39, 0.6) 100%
        );
    }

    .hero-content {
        padding: var(--spacing-xl) var(--spacing-md);
        text-align: center;
        margin: 0 auto;
    }

    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }

    .features {
        padding: var(--spacing-xl) 0;
    }
}
