:root {
    --primary-color: #4A6741; /* Sage Green */
    --primary-light: #6b8f60;
    --secondary-color: #D37651; /* Terracotta */
    --secondary-hover: #b86241;
    --bg-color: #F9F6F0; /* Soft Cream */
    --surface-color: #FFFFFF;
    --text-main: #2C2A28; /* Warm Charcoal */
    --text-muted: #5e5a55;
    --footer-bg: #22201e;
    --footer-text: #E6CCA9; /* Warm Sand */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 8px 24px rgba(74, 103, 65, 0.08);
    --shadow-hover: 0 12px 32px rgba(74, 103, 65, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --max-width: 1200px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

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

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

/* Header - Slim & Unstuck */
.site-header {
    background-color: var(--surface-color);
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative; /* Not fixed/sticky */
    z-index: 100;
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--surface-color);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--surface-color);
}

/* Mobile Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 4rem 5%;
    text-align: center;
    background: linear-gradient(to bottom, rgba(249, 246, 240, 0), rgba(74, 103, 65, 0.05));
}

.hero h1 {
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-img-wrap {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-img-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Plant Cards Grid */
.cards-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.card {
    background: var(--surface-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-img {
    height: 240px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tag {
    display: inline-block;
    background: rgba(74, 103, 65, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-excerpt {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card .btn {
    width: 100%;
}

/* Detail Pages */
.detail-header {
    padding: 4rem 5% 2rem;
    text-align: center;
}

.detail-header h1 {
    font-size: 3rem;
}

.detail-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.detail-hero-img {
    max-width: 1000px;
    height: 500px;
    margin: 0 auto 3rem;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.content-body {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface-color);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    margin-bottom: 4rem;
}

.content-body h2 {
    margin-top: 2.5rem;
    font-size: 1.8rem;
}

.content-body h3 {
    margin-top: 2rem;
    font-size: 1.4rem;
}

.content-body p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.content-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.content-body li {
    margin-bottom: 0.5rem;
}

.features-box {
    background: rgba(211, 118, 81, 0.05);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 2rem 0;
}

/* Legal Pages */
.legal-header {
    padding: 4rem 5% 2rem;
    background: var(--primary-color);
    color: var(--surface-color);
    text-align: center;
}

.legal-header h1 {
    color: var(--surface-color);
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-main);
}

.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: #fafafa;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--surface-color);
}

/* Footer (Mandatory) */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 5% 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--footer-text);
    opacity: 0.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

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

.footer-links a {
    color: var(--footer-text);
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(230, 204, 169, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--surface-color);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 1.5rem 5%;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.5s ease-in-out;
    border-top: 4px solid var(--primary-color);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-text {
    max-width: 60%;
}

.cookie-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .content-body { padding: 2rem; }
}

@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface-color);
        flex-direction: column;
        padding: 2rem 5%;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-out;
    }

    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1.5rem;
    }

    .hamburger { display: flex; }
    .hero h1 { font-size: 2.2rem; }
    .hero-img-wrap img { height: 300px; }
    .contact-wrap { grid-template-columns: 1fr; }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .cookie-text { max-width: 100%; }
    .detail-hero-img { height: 300px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .section-title { font-size: 2rem; }
    .cookie-actions { flex-direction: column; width: 100%; }
    .cookie-actions .btn { width: 100%; }
}