/* === Ember Roasters — Dark Textured Template === */
:root {
    --bg: #1a1410;
    --bg-card: #241e18;
    --text: #f5f0ea;
    --text-muted: #a89a8a;
    --accent: #d4883e;
    --accent-light: #e8a65e;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 0; transition: all 0.4s ease;
}
.header.scrolled {
    background: rgba(26, 20, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); text-decoration: none; letter-spacing: 2px; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 400; transition: color 0.3s; letter-spacing: 0.5px; }
.nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* Hero */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 8s ease; }
.hero:hover .hero-bg img { transform: scale(1.1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,20,16,0.85) 0%, rgba(26,20,16,0.5) 100%); }
.hero-content { position: relative; text-align: center; max-width: 700px; padding: 0 24px; }
.hero-tag { color: var(--accent); font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; }
.hero-content h1 { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.1; margin-bottom: 24px; }
.hero-content h1 em { font-style: italic; color: var(--accent); }
.hero-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 500px; margin: 0 auto 36px; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll span { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: var(--accent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.5); } 50% { opacity: 1; transform: scaleY(1); } }

/* Buttons */
.btn { display: inline-block; padding: 14px 36px; font-size: 0.9rem; font-weight: 500; letter-spacing: 1px; text-decoration: none; border-radius: 4px; transition: all 0.3s; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,136,62,0.3); }
.btn-outline { border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--bg); }

/* Sections */
.section { padding: 120px 0; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; text-align: center; }
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 60px; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Story */
.story-img img { width: 100%; border-radius: 8px; }
.story-text h2 { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 20px; }
.story-text p { color: var(--text-muted); margin-bottom: 16px; }
.story-stats { display: flex; gap: 40px; margin-top: 32px; }
.stat-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); display: block; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* Beans */
.beans { background: var(--bg-card); }
.beans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.bean-card { border-radius: 12px; overflow: hidden; background: var(--bg); transition: transform 0.4s, box-shadow 0.4s; }
.bean-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.bean-img { height: 240px; overflow: hidden; }
.bean-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.bean-card:hover .bean-img img { transform: scale(1.08); }
.bean-info { padding: 24px; }
.bean-info h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; }
.bean-notes { color: var(--accent); font-size: 0.9rem; margin-bottom: 8px; }
.bean-detail { color: var(--text-muted); font-size: 0.8rem; }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; }
.step { text-align: center; padding: 40px 20px; border-radius: 12px; background: var(--bg-card); transition: transform 0.3s; }
.step:hover { transform: translateY(-5px); }
.step-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); margin-bottom: 16px; opacity: 0.6; }
.step h3 { font-size: 1.1rem; margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* Image Band */
.image-band { height: 50vh; overflow: hidden; position: relative; }
.parallax-img { width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; transition: transform 0.1s linear; }

/* Visit */
.visit-text h2 { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 20px; }
.visit-text p { color: var(--text-muted); margin-bottom: 24px; }
.visit-details { list-style: none; margin-bottom: 32px; }
.visit-details li { color: var(--text-muted); margin-bottom: 8px; font-size: 0.95rem; }
.visit-details strong { color: var(--text); }
.visit-img img { width: 100%; border-radius: 8px; }

/* Footer */
.footer { padding: 60px 0 0; border-top: 1px solid rgba(168,154,138,0.15); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand .logo { margin-bottom: 12px; display: inline-block; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-social a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding: 24px 0; margin-top: 40px; border-top: 1px solid rgba(168,154,138,0.1); }
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .beans-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .nav { display: none; }
    .nav-toggle { display: block; }
}
@media (max-width: 640px) {
    .process-steps { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .section { padding: 80px 0; }
}
