/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #faf8f5;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #c8541a;
  --accent-dark: #9e3f10;
  --card-bg: #ffffff;
  --border: #e5e0d8;
  --font: 'Georgia', serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
}

[data-theme="dark"] {
  --bg: #121212;
  --text: #f0f0f0;
  --muted: #a0a0a0;
  --card-bg: #1e1e1e;
  --border: #333333;
}
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; }

/* ── Navbar ── */
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 100; }
.logo { font-family: var(--font); font-size: 1.5rem; font-weight: bold; color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { background: var(--accent); color: white; border: none; padding: 0.5rem 1.2rem; border-radius: 4px; cursor: pointer; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; }
.nav-cta:hover { background: var(--accent-dark); }
.theme-toggle { background: transparent; border: 1px solid var(--border); color: var(--text); padding: 0.45rem 0.75rem; border-radius: 4px; cursor: pointer; font-size: 1rem; line-height: 1; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero ── */
.hero { display: flex; align-items: center; justify-content: space-between; padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; gap: 2rem; }
.hero-content h1 { font-family: var(--font); font-size: 3.5rem; line-height: 1.1; margin-bottom: 1rem; }
.hero-content .accent { color: var(--accent); }
.hero-content p { color: var(--muted); font-size: 1.1rem; max-width: 420px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; }
.hero-img { font-size: 8rem; }
.btn-primary { background: var(--accent); color: white; padding: 0.75rem 1.5rem; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); padding: 0.75rem 1.5rem; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.btn-outline:hover { background: var(--accent); color: white; }

/* ── Features ── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 3rem 2rem; max-width: 1100px; margin: 0 auto; }
.feature-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
.feature-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.feature-card p { color: var(--muted); font-size: 0.9rem; }

/* ── Bestsellers ── */
.bestsellers { padding: 3rem 2rem; max-width: 1100px; margin: 0 auto; }
.bestsellers h2 { font-family: var(--font); font-size: 2rem; margin-bottom: 1.5rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; }
.product-emoji { font-size: 2.5rem; margin-bottom: 0.75rem; }
.product-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.product-card .origin { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.5rem; }
.product-card .price { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: 0.75rem; }
.product-card button { width: 100%; background: var(--accent); color: white; border: none; padding: 0.5rem; border-radius: 4px; cursor: pointer; font-size: 0.85rem; font-weight: 600; }
.product-card button:hover { background: var(--accent-dark); }

/* ── Page header ── */
.page-header { background: var(--card-bg); border-bottom: 1px solid var(--border); padding: 3rem 2rem; text-align: center; }
.page-header h1 { font-family: var(--font); font-size: 2.5rem; margin-bottom: 0.5rem; }
.page-header p { color: var(--muted); }

/* ── Menu filters ── */
.menu-filters { display: flex; gap: 0.75rem; padding: 1.5rem 2rem; max-width: 1100px; margin: 0 auto; }
.filter-btn { padding: 0.4rem 1rem; border: 1px solid var(--border); border-radius: 20px; background: transparent; cursor: pointer; font-size: 0.85rem; color: var(--muted); }
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 0 2rem 3rem; max-width: 1100px; margin: 0 auto; }

/* ── About ── */
.about-content { max-width: 800px; margin: 0 auto; padding: 3rem 2rem; }
.about-block { margin-bottom: 2.5rem; }
.about-block h2 { font-family: var(--font); font-size: 1.5rem; margin-bottom: 0.75rem; }
.about-block p { color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.team-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; text-align: center; }
.team-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: white; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; font-size: 0.9rem; }
.team-card h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.team-card p { font-size: 0.8rem; color: var(--muted); }

/* ── Contact ── */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 900px; margin: 0 auto; padding: 3rem 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea { border: 1px solid var(--border); border-radius: 4px; padding: 0.6rem 0.75rem; font-size: 0.9rem; font-family: var(--sans); background: var(--card-bg); color: var(--text); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .btn-primary { border: none; cursor: pointer; align-self: flex-start; }
.form-status { font-size: 0.85rem; color: green; min-height: 1rem; }
.contact-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.5rem; }

/* ── Footer ── */
.footer { text-align: center; padding: 2rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; margin-top: 2rem; }
