/* 
   Vabrik-Designer Premium Stylesheet
   Project: Forest Feast (Urmas Voit)
   Author: Antigravity
*/

:root {
    /* Brand Colors - Earthy rich tones vs premium dark */
    --clr-brand-primary: #3E5F33; /* Deep forest green */
    --clr-brand-primary-light: #527A45;
    --clr-brand-accent: #E68A22; /* Warm roasted orange */
    --clr-brand-accent-hover: #D07B1E;
    
    /* Neutral & Backgrounds */
    --clr-bg-main: #FAFAFA; /* Off-white, soft on eyes */
    --clr-bg-alt: #F2EFE9; /* Slight beige for alternating sections */
    --clr-bg-dark: #1C2319; /* Dark footer / hero text contrast */
    
    /* Text Colors */
    --clr-text-main: #333333;
    --clr-text-muted: #666666;
    --clr-text-light: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition-snappy: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
    --radius-md: 12px;
    --radius-pill: 100px;
}

/* ================== CSS RESET ================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, .logo, .footer-logo {
    font-family: var(--font-heading);
    color: var(--clr-bg-dark);
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* ================== LAYOUT & UTILITIES ================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-snappy);
    border: none;
}

.btn-primary {
    background-color: var(--clr-brand-accent);
    color: var(--clr-text-light);
    box-shadow: 0 4px 15px rgba(230, 138, 34, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-brand-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 138, 34, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--clr-brand-primary);
    color: var(--clr-text-light);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.highlight {
    color: var(--clr-brand-accent);
}

/* ================== HEADER ================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-snappy);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-brand-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: var(--clr-text-main);
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-brand-primary);
    transition: var(--transition-snappy);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* ================== HERO SECTION ================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
    padding-top: 5rem;
}

/* Pure Black/Gradient overlay to protect text contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(28, 35, 25, 0.9) 0%, rgba(28, 35, 25, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
    color: var(--clr-text-light);
}

.hero-text h1 {
    color: var(--clr-text-light);
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* ================== ABOUT SECTION ================== */
.about-section {
    padding: 8rem 0;
    background-color: var(--clr-bg-main);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-quote {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-brand-primary);
    margin-bottom: 3.5rem;
    line-height: 1.5;
    font-style: italic;
    text-align: center;
    position: relative;
}

.about-quote::before {
    content: '"';
    font-family: serif;
    font-size: 5rem;
    color: rgba(230, 138, 34, 0.2);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.about-text {
    column-count: 1;
}

@media (min-width: 768px) {
    .about-text {
        column-count: 2;
        column-gap: 3rem;
    }
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--clr-text-main);
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-text p:first-of-type::first-letter {
    font-size: 4rem;
    font-weight: 800;
    float: left;
    margin-right: 0.5rem;
    margin-top: -0.5rem;
    line-height: 1;
    color: var(--clr-brand-primary);
    font-family: var(--font-heading);
}

/* ================== PRODUCTS SECTION ================== */
.products-section {
    padding: 8rem 0;
    background-color: var(--clr-bg-main);
}

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

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-snappy);
    border: 1px solid rgba(0,0,0,0.02);
}

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

.product-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.product-tags {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
}

.tag {
    background-color: var(--clr-bg-alt);
    color: var(--clr-brand-primary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
}

.product-content p:not(.product-tags) {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

/* ================== CONTACT SECTION ================== */
.contact-section {
    padding: 8rem 0;
    background-color: var(--clr-bg-alt);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-info p {
    margin-bottom: 3rem;
    font-size: 1.125rem;
    color: var(--clr-text-muted);
}

.importer-card {
    background: #FFF;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--clr-brand-primary);
}

.importer-card .name {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.importer-card .role {
    color: var(--clr-brand-accent);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    color: var(--clr-text-main);
    font-weight: 500;
}

.email-link:hover {
    color: var(--clr-brand-primary);
}

/* Forms */
.contact-form {
    background: #FFF;
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-family: var(--font-heading);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-snappy);
    background: var(--clr-bg-main);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-brand-primary);
    box-shadow: 0 0 0 4px rgba(62, 95, 51, 0.1);
}

.btn-submit {
    width: 100%;
}

/* ================== FOOTER ================== */
.site-footer {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-light);
    padding: 3rem 0;
    text-align: center;
}

.site-footer .footer-logo {
    color: #FFF;
    margin-bottom: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 992px) {
    .product-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real scenario, implement a hamburger menu */
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(28, 35, 25, 0.8) 0%, rgba(28, 35, 25, 0.6) 100%);
    }
    
    .hero-text {
        margin: 0 auto;
    }
}
