/* --- 1. CORE VARIABLES --- */
:root {
    --bg-void: #050302;       /* Very Dark Coffee/Black */
    --bg-panel: #120f0d;      /* Dark Brown-Black */
    --text-main: #f0e6d2;     /* Off-white/Cream */
    --text-muted: #9c8c74;    /* Muted Gold */
    
    /* ROYAL BROWN GRADIENT */
    --grad-main: linear-gradient(135deg, #C5A059 0%, #8A6E3E 100%); 
    --grad-hover: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    
    --font-head: 'Syne', sans-serif; 
    --font-body: 'Inter', sans-serif;
    
    --transition-duration: 0.6s;
    --transition-easing: cubic-bezier(0.23, 1, 0.32, 1); /* Smooth & responsive */
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: default; }
a { cursor: pointer; }

body { 
    background-color: var(--bg-void); 
    color: var(--text-main); 
    font-family: var(--font-body); 
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; color: var(--text-main); }
p { line-height: 1.6; color: var(--text-muted); font-size: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition-duration); }

/* --- 2. THE HERO BLOB (Strictly Hero, Smoother) --- */
#hero-blob {
    position: fixed; 
    width: 120px; height: 120px;
    background: #C5A059; /* Solid Royal Gold */
    border-radius: 50%;
    pointer-events: none; z-index: 10;
    mix-blend-mode: exclusion; 
    transform: translate(-50%, -50%);
    opacity: 0; 
    transition: opacity 0.3s ease;
    will-change: transform, border-radius;
}
.hero.mouse-active #hero-blob { opacity: 1; } /* Only active when mouse is over hero */

/* --- 3. NAVIGATION (Curtain Menu) --- */
.nav-toggle {
    position: fixed; top: 30px; right: 40px; z-index: 1000;
    color: var(--text-main); font-weight: bold; letter-spacing: 2px;
    mix-blend-mode: difference; 
    cursor: pointer;
}
.nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 0%;
    background: #0f0b08; z-index: 900;
    overflow: hidden; transition: height 0.6s cubic-bezier(0.8, 0, 0.2, 1);
    display: flex; align-items: center; justify-content: center;
}
.nav-overlay.open { height: 100%; }
.nav-menu { text-align: center; list-style: none; }
.nav-menu a {
    display: block; font-size: 3.5rem; font-family: var(--font-head);
    color: transparent; -webkit-text-stroke: 1px #8A6E3E;
    transform: translateY(100%); transition: 0.5s; margin: 10px 0;
}
.nav-menu a:hover { color: #C5A059; -webkit-text-stroke: 1px #C5A059; }
.nav-overlay.open .nav-menu a { transform: translateY(0); }

/* --- 4. HERO SECTION --- */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    cursor: none; 
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1615634260167-c8cdede054de?q=80&w=2070&auto=format&fit=crop') center/cover;
    opacity: 0.4; filter: grayscale(100%) contrast(1.2);
    transition: var(--transition-duration);
}
.hero.mouse-active .hero-bg { transform: scale(1.02); } /* Parallax effect on hover */

.hero-content { z-index: 20; text-align: center; padding: 20px; }
.hero h1 { font-size: 6rem; line-height: 0.9; margin-bottom: 20px; color: #fff; }
.hero h1 span { color: #C5A059; }
.btn-hero {
    display: inline-block; padding: 15px 40px; 
    border: 1px solid #C5A059; color: #C5A059; 
    border-radius: 50px; margin-top: 30px; letter-spacing: 2px;
    position: relative; overflow: hidden;
    z-index: 1; /* For gradient overlay to work correctly */
}
.btn-hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--grad-main); z-index: -1;
    transform: translateX(-101%); transition: var(--transition-duration) var(--transition-easing);
}
.btn-hero:hover::before { transform: translateX(0); }
.btn-hero:hover { color: #000; border-color: transparent; }

/* --- 5. SHOP LAYOUTS --- */
.section { padding: 120px 5vw; }
.container { max-width: 1400px; margin: 0 auto; }
.flex-row { display: flex; align-items: center; gap: 60px; }
.reverse { flex-direction: row-reverse; }

.text-gold { color: #C5A059; }

/* Product Grid (Shop Style) */
.shop-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px; margin-top: 60px;
}
.shop-card {
    background: var(--bg-panel); border-radius: 12px; overflow: hidden;
    transition: var(--transition-duration); position: relative;
    border: 1px solid #222;
}
.shop-card:hover { transform: translateY(-10px) scale(1.02); }

.card-img-wrapper { 
    height: 300px; width: 100%; overflow: hidden;
    position: relative;
}
.card-img { 
    height: 100%; width: 100%; object-fit: cover; 
    border-bottom: 1px solid #222; 
    filter: sepia(20%); transition: var(--transition-duration);
}
.shop-card:hover .card-img { filter: sepia(0%); transform: scale(1.05); }

.card-info { padding: 25px; }
.price { font-size: 1.1rem; color: #fff; font-weight: bold; margin-top: 10px; display: block; }
.category { font-size: 0.75rem; text-transform: uppercase; color: #666; letter-spacing: 1px; }

/* Product More Info on Hover */
.more-info {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: var(--grad-main); color: #000;
    padding: 20px;
    transform: translateY(100%); /* Hidden by default */
    transition: transform var(--transition-duration) var(--transition-easing);
    text-align: left;
    height: auto; /* Allow content to dictate height */
}
.more-info p { color: #222; font-size: 0.85rem; line-height: 1.4; }
.more-info strong { color: #000; }
.shop-card:hover .more-info { transform: translateY(0); }

/* --- 6. SHAPES (Image containers) --- */
.organic-img { width: 100%; height: 500px; object-fit: cover; filter: grayscale(100%) brightness(0.8); transition: var(--transition-duration); }
.organic-img:hover { filter: grayscale(0%) brightness(1); }

.shape-blob { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
.shape-pill { border-radius: 200px; }
.shape-slant { clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); }
.shape-zigzag { clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%, 10% 50%); }

/* --- 7. STATS COUNTER --- */
.stats-section { padding: 100px 0; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.stats-grid { display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; }
.stat-item { margin: 20px; }
.stat-number { font-size: 4rem; font-weight: 700; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.stat-label { font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 10px; color: var(--text-muted); }

/* --- 8. PROCESS STEPS --- */
.process-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; margin-top: 60px;
}
.process-step {
    background: var(--bg-panel); padding: 40px; border-radius: 12px;
    border: 1px solid #222;
    transition: var(--transition-duration);
}
.process-step:hover { transform: translateY(-10px); }
.step-num { font-size: 4rem; color: #333; font-weight: bold; margin-bottom: 20px; }
.process-step h3 { font-size: 1.5rem; color: var(--text-main); margin-bottom: 15px; }

/* --- 9. CONTACT FORM --- */
.contact-form {
    background: var(--bg-panel); padding: 50px; border-radius: 12px;
    border: 1px solid #222;
    max-width: 700px; margin: 0 auto;
}
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; margin-bottom: 20px;
    background: #0f0b08; border: 1px solid #333;
    color: var(--text-main); border-radius: 8px;
    font-family: var(--font-body); font-size: 1rem;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #666; }
.btn-submit {
    display: inline-block; width: 100%; padding: 15px;
    background: var(--grad-main); color: #000;
    border: none; border-radius: 50px;
    font-weight: bold; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: var(--transition-duration);
}
.btn-submit:hover { opacity: 0.9; }

/* --- 10. SCROLL REVEAL ANIMATIONS (Global) --- */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-easing), transform 0.8s var(--transition-easing);
    will-change: opacity, transform;
}
.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 11. FOOTER --- */
footer { border-top: 1px solid #222; padding: 80px 5vw; text-align: center; color: #555; }
.footer-links a { margin: 0 15px; color: #888; }
.footer-links a:hover { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
    .flex-row { flex-direction: column; }
    .hero h1 { font-size: 3.5rem; }
    .nav-menu a { font-size: 2rem; }
    .shop-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .organic-img { height: 300px; }
}