@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #0f1b16; /* Deep Herbal Green-Black */
    --bg-secondary: #1a2a22; /* Aged Moss Stone */
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.08);
    
    --accent-primary: #a3b18a; /* Herbal Sage */
    --accent-secondary: #d8c3a5; /* Aged Paper Beige */
    --accent-highlight: #c7a27c; /* Antique Brass Gold */
    
    --text-primary: #f1f5f1;
    --text-secondary: #cbd5c0;
    --text-muted: #94a089;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-max: 1320px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;
    
    /* Transitions */
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-med: 0.3s ease-in-out;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Grain Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(images/%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--accent-secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-med);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 300;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-med);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-highlight));
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(199, 162, 124, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(199, 162, 124, 0.25);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--surface);
    color: var(--accent-secondary);
    border: 1px solid rgba(216, 195, 165, 0.2);
    backdrop-filter: blur(10px);
}

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition-slow);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(15, 27, 22, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(216, 195, 165, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 15px 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent-secondary);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-highlight);
    transition: var(--transition-med);
    opacity: 0.5;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero-bg-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(199, 162, 124, 0.08) 0%, rgba(15, 27, 22, 0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-content h1 span {
    color: var(--accent-secondary);
    font-style: italic;
}

.hero-content p {
    font-size: 1.15rem;
    max-width: 90%;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-visual::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(15, 27, 22, 0.8));
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    filter: sepia(0.2) contrast(1.1) brightness(0.8);
    transition: transform 10s ease-out;
}

.hero-visual:hover .hero-image {
    transform: scale(1.05);
}

/* --- Sections --- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
}

.section-header p {
    font-size: 1.05rem;
}

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid rgba(216, 195, 165, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(163, 177, 138, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(216, 195, 165, 0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-highlight);
    margin-bottom: 24px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

/* --- Timeline Section --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-highlight), transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 80px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    width: 80%;
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
    border: 1px solid rgba(216, 195, 165, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 40px;
}

.timeline-date {
    font-family: var(--font-heading);
    color: var(--accent-highlight);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: block;
}

.timeline-dot {
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--accent-highlight);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(199, 162, 124, 0.5);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

/* --- Internal Pages Shared --- */
.page-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(26, 42, 34, 0.8) 0%, var(--bg-primary) 70%);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.page-content {
    padding: 80px 0;
}

.content-block {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 60px;
    border: 1px solid rgba(255,255,255,0.03);
    margin-bottom: 40px;
}

/* --- Grid Layouts --- */
.image-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.image-text-grid.reverse {
    direction: rtl;
}

.image-text-grid.reverse > * {
    direction: ltr;
}

.rounded-img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    filter: sepia(0.15) brightness(0.85);
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(216, 195, 165, 0.1);
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--accent-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-secondary);
}
.form-control {
    width: 100%;
    padding: 14px 20px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-highlight);
}
textarea.form-control {
    min-height: 150px;
    resize: vertical;
}