@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Core Palette - The Botanical Alchemist */
    --primary: #01261f; /* Deepest Forest */
    --primary-container: #1a3c34; /* Dark Botanical */
    --secondary: #735c00; /* Royal Amber */
    --secondary-container: #fed65b; /* Glowing Ferment */
    --surface: #fbf9f2; /* Parchment White */
    --surface-dim: #dbdad4; /* Shadowed Stone */
    --surface-container-low: #f5f4ed;
    --surface-container-highest: #e3e3dc;
    --on-surface: #1b1c18;
    --on-primary: #ffffff;
    
    /* Spacing */
    --section-gap: 8rem;
    --content-padding: 2rem;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--surface);
    color: var(--on-surface);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
    font-family: 'Epilogue', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Glassmorphism */
.glass {
    background: rgba(251, 249, 242, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Cinematic Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

section {
    padding: var(--section-gap) 0;
}

/* Nav Bar */
nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    height: 4rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--on-surface);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-container));
    color: var(--on-primary);
    padding: 1rem 2.5rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(1, 38, 31, 0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: var(--primary);
    color: var(--on-primary);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(1, 38, 31, 1) 0%, rgba(1, 38, 31, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 3rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.card {
    background-color: var(--surface-container-low);
    padding: 3rem;
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
}

.card:hover {
    background-color: var(--surface-container-highest);
    transform: translateY(-10px);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--on-primary);
    padding: 6rem 0;
    margin-top: var(--section-gap);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-col h4 {
    margin-bottom: 2rem;
    color: var(--secondary-container);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

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

/* Image bleeds */
.bleed-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
}
