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

:root {
    /* Color System */
    --bg-primary: #1F1B18; /* Deep warm charcoal/roasted brown */
    --bg-secondary: #2C2622; /* Lighter warm surface */
    --bg-card: rgba(58, 50, 45, 0.4); /* Soft matte / minimal glass */
    --accent-primary: #C15D38; /* Muted burnt orange / paprika */
    --accent-primary-hover: #D46942;
    --accent-secondary: #7A8B58; /* Soft herb green / olive */
    --text-primary: #F2EBE4; /* Soft off-white */
    --text-secondary: #B5ABA2; /* Muted gray-beige */
    --border-color: rgba(242, 235, 228, 0.08);
    
    /* Gradients & Shadows */
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), #A64C2B);
    --shadow-soft: 0 15px 40px rgba(10, 8, 7, 0.4);
    --shadow-card: 0 8px 24px rgba(10, 8, 7, 0.3);
    
    /* Typography & Spacing */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --max-width: 1400px;
    --spacing-vertical: 100px; /* Desktop default */
    
    /* Radii */
    --radius-section: 22px;
    --radius-card: 18px;
    --radius-btn: 50px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { color: var(--text-secondary); font-weight: 400; font-size: 1.125rem; }

/* ==========================================================================
   Utilities & Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--spacing-vertical) 0;
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(193, 93, 56, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(193, 93, 56, 0.3);
    background: var(--accent-primary-hover);
}

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

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--text-secondary);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(31, 27, 24, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

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

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

.hero-bg img {
    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, 27, 24, 0.95) 0%, rgba(31, 27, 24, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(122, 139, 88, 0.15);
    color: var(--accent-secondary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(122, 139, 88, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

/* ==========================================================================
   Main Feature Section (The "Core Experience" Replacement)
   ========================================================================== */
.core-experience {
    width: 90%;
    max-width: 1300px;
    margin: -60px auto 0;
    position: relative;
    z-index: 10;
    background: var(--bg-secondary);
    border-radius: var(--radius-section);
    padding: 5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Product Cards */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    background: rgba(68, 59, 53, 0.6);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: calc(var(--radius-card) - 0.5rem);
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

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

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

.product-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 0.5rem;
}

.tag {
    background: rgba(31, 27, 24, 0.85);
    backdrop-filter: blur(4px);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.tag.accent {
    color: var(--accent-secondary);
    border-color: rgba(122, 139, 88, 0.4);
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: auto;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

/* ==========================================================================
   Trust & Ethics Section
   ========================================================================== */
.ethics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.ethics-card {
    text-align: center;
    padding: 2rem;
}

.ethics-icon {
    width: 60px;
    height: 60px;
    background: rgba(122, 139, 88, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-secondary);
}

.ethics-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* ==========================================================================
   Internal Pages (About, Contact, Terms, etc.)
   ========================================================================== */
.page-hero {
    padding: 160px 0 80px;
    background: var(--bg-secondary);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
}

.content-block {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--radius-section);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    margin-top: var(--spacing-vertical);
}

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

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

.footer-heading {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    .core-experience {
        width: 95%;
        padding: 4rem 3rem;
    }
}

@media (max-width: 992px) {
    :root {
        --spacing-vertical: 70px;
    }
    
    .menu-grid, .ethics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-vertical: 50px;
    }
    
    .nav-menu {
        display: none; /* In a real app, implement JS toggle. Hiding for pure CSS demo structural integrity */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .core-experience {
        width: 100%;
        margin-top: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 3rem 1.5rem;
    }
    
    .menu-grid, .ethics-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(31, 27, 24, 0.9) 0%, rgba(31, 27, 24, 0.8) 100%);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .content-block {
        padding: 2rem 1.5rem;
    }
}