/* ===== GLOBAL.CSS – Shared design tokens & components ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Montserrat:wght@300;400;500;600;700&family=Dancing+Script:wght@600&display=swap');

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', sans-serif;
  background: #0d0d0d;
  color: #f0e8d6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a  { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: #c8102e; border-radius: 3px; }

/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --red:      #c8102e;
  --dark-red: #a40000;
  --gold:     #e8b84b;
  --cream:    #f0e8d6;
  --dark:     #0d0d0d;
  --dark2:    #161616;
  --dark3:    #1e1c18;
  --border:   rgba(232,184,75,0.25);
  --radius:   6px;
  --serif:    'Playfair Display', Georgia, serif;
  --script:   'Dancing Script', cursive;
  --sans:     'Montserrat', sans-serif;
  --shadow:   0 8px 32px rgba(0,0,0,0.45);
}

/* ─── TYPOGRAPHY UTILITIES ────────────────────────────────────── */
.eyebrow {
  display: block;
  font-family: var(--script);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--cream);
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  margin: 20px 0 32px;
  border-radius: 2px;
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
section  { position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .section-inner { padding: 0 20px; } }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-red   { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--dark-red); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,16,46,0.4); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(240,232,214,0.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-gold  { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: #d4a03a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,184,75,0.35); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }
.btn-sm { padding: 9px 20px; font-size: 0.68rem; }
.btn-lg { padding: 18px 44px; font-size: 0.82rem; }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
a.nav-logo {
    margin-top: 34px;
}
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 76px;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(13,13,13,0.96);
  box-shadow: 0 2px 24px rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
}
#navbar.solid {
  background: rgba(13,13,13,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.nav-logo img {
  height: 6rem;
  width: auto;
  margin-top: 10px !important;
  transition: height 0.3s;
}
#navbar.scrolled .nav-logo img { height: 2.6rem; }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 3px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  transition: background 0.25s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--dark-red) !important; transform: translateY(-1px) !important; }
.nav-cta::after { display: none !important; }

/* Cart badge */
.cart-badge-wrap { position: relative; display: inline-flex; }
.cart-badge {
  position: absolute;
  top: -8px; right: -10px;
  min-width: 18px; height: 18px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--cream);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.99);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .nav-cta { font-size: 0.9rem !important; padding: 14px 36px !important; }

/* ─── SPINNER ────────────────────────────────────────────────── */
.spinner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  gap: 20px;
  color: rgba(240,232,214,0.6);
  font-size: 0.82rem;
}
.spinner {
  width: 48px; height: 48px;
  border: 4px solid rgba(240,232,214,0.12);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── PAGE HEADER BAND ────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
  padding: 120px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header .eyebrow { font-size: 1rem; }
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--cream);
  margin-top: 6px;
}
.page-header .divider { margin: 16px auto 0; }

/* ─── REVEAL ANIMATION ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── BACK TO TOP ────────────────────────────────────────────── */
#back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 500;
  box-shadow: 0 4px 20px rgba(200,16,46,0.5);
}
#back-top.visible { opacity: 1; pointer-events: auto; }
#back-top:hover { transform: translateY(-3px); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: #080808;
  padding: 70px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}
.footer-brand img {
  height: 3rem;
  margin-bottom: 20px;
  filter: contrast(0) brightness(2);
}
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(240,232,214,0.55);
  line-height: 1.8;
  margin-bottom: 24px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240,232,214,0.6);
  font-size: 0.9rem;
  transition: all 0.25s;
}
.social-link:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-col h5 {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(240,232,214,0.6);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-hours .day {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,232,214,0.45);
}
.footer-hours .time { font-size: 0.82rem; color: rgba(240,232,214,0.75); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(240,232,214,0.35);
}

/* ─── TOAST NOTIFICATION ─────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 88px;
  right: 32px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast-item {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 0.82rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: auto;
  min-width: 220px;
  max-width: 300px;
}
.toast-item.show { opacity: 1; transform: translateX(0); }
.toast-item.success { border-left-color: #22c55e; }
.toast-item.error   { border-left-color: var(--red); }

/* ─── PAGE BREADCRUMB ────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(240,232,214,0.5);
  margin-bottom: 28px;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ─── ERROR STATE ────────────────────────────────────────────── */
.error-state {
  text-align: center;
  padding: 60px 24px;
}
.error-state i { font-size: 3rem; color: var(--red); margin-bottom: 16px; }
.error-state h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 10px;
}
.error-state p { font-size: 0.85rem; color: rgba(240,232,214,0.6); margin-bottom: 24px; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  #navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  #back-top { bottom: 20px; right: 20px; }
  #toast { right: 20px; bottom: 80px; }
}

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
