/* ─────────────────────────────────────────────
   BASE.CSS — Youri Soroka, Luthier
   Shared across all pages.
   Page-specific styles stay in <style> tags.
───────────────────────────────────────────── */

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

/* ─── TOKENS ─── */
:root {
  --bg:       #252220;
  --surface:  #2e2b27;
  --surface2: #37332e;
  --cream:    #f2ede4;
  --warm:     #c8b89a;
  --amber:    #c17a35;
  --muted:    #7a6e60;
  --border:   rgba(200,184,154,0.1);
  --serif:    'Fraunces', Georgia, serif;
  --sans:     'DM Sans', system-ui, sans-serif;
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; }

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

::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-thumb { background: var(--amber); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 64px;
  background: rgba(14,12,10,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
nav.scrolled { padding: 16px 64px; }

.nav-logo {
  font-family: var(--serif); font-weight: 200; font-size: 26px;
  letter-spacing: -0.02em; color: var(--cream); text-decoration: none;
}
.nav-logo em { font-style: italic; color: var(--amber); }

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 400; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cream); }

.nav-cta {
  font-size: 11px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--amber);
  text-decoration: none; border: 1px solid var(--amber);
  padding: 10px 22px; transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--amber); color: var(--bg); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  font-size: 11px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bg); background: var(--amber);
  padding: 14px 32px;
  text-decoration: none; transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

/* ─── FOOTER ─── */
footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-logo {
  font-family: var(--serif); font-size: 20px; font-weight: 200;
  color: var(--cream); letter-spacing: -0.02em;
}
.footer-logo em { font-style: italic; color: var(--amber); }
.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }

/* ─── PAGE HEADER (guitars.html, future pages) ─── */
.page-header {
  max-width: 1400px; margin: 0 auto;
  padding: 100px 64px 80px;
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 1px solid var(--border);
}
.header-eyebrow {
  font-size: 10px; font-weight: 400; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--amber); margin-bottom: 16px;
  display: flex; align-items: center; gap: 16px;
}
.header-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--amber); }
.header-title {
  font-family: var(--serif); font-weight: 200;
  font-size: clamp(42px, 5vw, 72px); letter-spacing: -0.03em;
  line-height: 1; color: var(--cream);
}
.header-title em { font-style: italic; color: var(--amber); }
.header-desc { font-size: 14px; color: var(--muted); max-width: 300px; line-height: 1.85; }

/* ─── REVEAL ANIMATION ─── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── MOBILE NAV ─── */
@media (max-width: 900px) {
  nav             { padding: 20px 24px; }
  nav.scrolled    { padding: 16px 24px; }
  .nav-links      { display: none; }
  footer          { padding: 36px 24px; flex-direction: column; gap: 24px; text-align: center; }
  .footer-links   { justify-content: center; }
  .page-header    { padding: 120px 24px 60px; flex-direction: column; gap: 24px; align-items: flex-start; }
}
