:root {
    --primary-color: #d97706;
    --secondary-color: #b45309;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --section-bg: #f9fafb;
    --dark-bg: #1f2937;
    --bison-brown: #8b4513;
    --success-green: #10b981;
    --danger-red: #ef4444;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Consent Modal */
.consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.consent-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 500px;
    margin: 2rem;
    text-align: center;
}

.consent-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.consent-content p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

.consent-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.consent-content a:hover {
    text-decoration: underline;
}

.consent-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
}

.nav-brand a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand a:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 1rem;
}

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

.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section with Email Slideshow */
.hero {
    padding: 8rem 2rem 4rem;
    background: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-images {
    position: relative;
    height: 60vh;
}

.email-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.email-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.email-slide.active {
    opacity: 1;
}

.email-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--bison-brown);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 1rem;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* How It Works Section with Buffalo in Snow Background */
.how-it-works {
    padding: 0;
    position: relative;
    min-height: 80vh;
}

.buffalo-snow-bg {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url('buffalo-in-snow.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.buffalo-snow-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.how-it-works-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 2rem;
}

.how-it-works h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.step-content {
    width: 100%;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--bison-brown);
    font-size: 1.4rem;
    font-weight: 600;
}

.step p {
    color: var(--light-text);
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--bison-brown);
    text-decoration: underline;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--bison-brown);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--bison-brown);
}

/* Conservation Section with Buffalo in Field Background */
.conservation {
    padding: 0;
    position: relative;
    min-height: 80vh;
}

.buffalo-field-bg {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url('buffalo-in-field.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.buffalo-field-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.conservation-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.conservation h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.conservation p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-brand a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-brand a:hover {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    text-align: right;
    color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        position: relative;
    }
    
    /* Hero Section */
    .hero {
        padding: 8rem 2rem 6rem;
        margin-bottom: 8rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-images {
        height: 50vh;
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    /* Add spacing between sections */
    .features {
        margin: 8rem 0;
        padding: 4rem 0;
    }
    
    .features h2 {
        margin-bottom: 3rem;
    }
    
    .feature-grid {
        margin-top: 2rem;
    }
    
    /* How It Works Section - Mobile Fix */
    .how-it-works {
        position: relative;
        margin: 12rem 0;
        padding: 0;
    }
    
    .buffalo-snow-bg {
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        padding: 4rem 0;
        margin-top: 2rem;
    }
    
    .how-it-works-overlay {
        position: static;
        background: rgba(0, 0, 0, 0.7);
        padding: 3rem 1rem;
        display: block;
        margin-top: 0;
    }
    
    .how-it-works h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 2rem;
        color: white;
        line-height: 1.2;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        width: 100%;
    }
    
    .step {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0.5rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        display: block;
    }
    
    .step-number {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        font-weight: bold;
        color: var(--primary-color);
    }
    
    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: var(--text-color);
        font-weight: 600;
    }
    
    .step-content p {
        font-size: 0.95rem;
        line-height: 1.4;
        color: var(--light-text);
    }
    
    /* Conservation Section - Mobile Fix */
    .conservation {
        position: relative;
        margin: 8rem 0;
        padding: 0;
    }
    
    .buffalo-field-bg {
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        padding: 4rem 0;
        margin-top: 2rem;
    }
    
    .conservation-overlay {
        position: static;
        background: rgba(0, 0, 0, 0.7);
        padding: 3rem 1rem;
        display: block;
        margin-top: 0;
    }
    
    .conservation h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 2rem;
        color: white;
        line-height: 1.2;
    }
    
    .conservation p {
        font-size: 1rem;
        line-height: 1.5;
        color: white;
        text-align: center;
        margin-bottom: 1.5rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .consent-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .how-it-works-content {
        gap: 2rem;
    }
}