/* ===== LOCAL FONTS ===== */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/CormorantGaramond-Regular-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/CormorantGaramond-Italic-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/CormorantGaramond-Medium-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/CormorantGaramond-SemiBold-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/CormorantGaramond-Bold-700.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/DMSans-Regular-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/DMSans-Bold-700.woff2') format('woff2');
}

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

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --c-void: #0f0d0a;
  --c-ink: #1a1612;
  --c-wood: #2a231c;
  --c-leather: #3d3128;
  --c-bronze: #8b6f47;
  --c-gold: #b8945c;
  --c-champagne: #c9a96e;
  --c-cream: #e8dcc8;
  --c-paper: #f5f0e8;
  --c-warm: #faf7f2;

  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-sans: 'DM Sans', system-ui, sans-serif;
}

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

body {
  font-family: var(--f-sans);
  background: var(--c-ink);
  color: var(--c-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--c-bronze); color: var(--c-warm); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-serif);
  font-weight: 500;
  line-height: 1.2;
}

a {
  color: var(--c-champagne);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
a:hover { opacity: 0.8; }

img { max-width: 100%; height: auto; }

/* ===== LAYOUT ===== */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
}

.section { padding: 6rem 0; }
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
}

/* ===== NAVIGATION ===== */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: box-shadow 0.5s ease;
}
#main-nav > div {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  background: rgba(26,22,18,0.8);
}
#main-nav.shadow-lg {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  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;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,13,10,0.4) 0%, rgba(15,13,10,0.2) 30%, rgba(15,13,10,0.6) 60%, var(--c-ink) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  padding-top: 5rem;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 3rem;
  border: 1px solid rgba(232,220,200,0.2);
  border-radius: 1rem;
}
.scroll-line {
  width: 2px;
  height: 8px;
  background: var(--c-gold);
  border-radius: 1px;
  animation: scrollBounce 2.5s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1;0% { transform: translateY(12px); opacity: 0.3; }
}

/* ===== HERO LOGO ===== */
.hero-logo {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 2px solid rgba(184,148,92,0.3);
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

/* ===== HERO META ===== */
.hero-meta {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(184,148,92,0.8);
  margin-bottom: 1rem;
}

/* ===== HERO SUBTITLE ===== */
.hero-subtitle {
  color: var(--c-paper);
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

/* ===== HERO IMAGE ===== */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== DECORATIVE BORDER ===== */
.corner-border {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  width: 6rem;
  height: 6rem;
  border: 1px solid rgba(184,148,92,0.3);
}

/* ===== MENU CARD ===== */
.menu-card {
  border: 1px solid rgba(255,255,255,0.05);
  padding: 2rem;
}
.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.menu-row:not(:last-child) { margin-bottom: 1.25rem; }

/* ===== EVENT CARD ===== */
.event-card {
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  transition: border-color 0.5s ease, transform 0.5s ease;
}
.event-card:hover {
  border-color: rgba(184,148,92,0.3);
  transform: translateY(-4px);
}
.event-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.5s ease;
}
.event-card:hover .event-img {
  filter: brightness(1);
}
.event-body {
  padding: 1.5rem;
}

/* ===== FORM ===== */
.form-input {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1rem;
  color: var(--c-paper);
  font-family: var(--f-sans);
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
  border-radius: 0;
}
.form-input::placeholder { color: rgba(232,220,200,0.2); }
.form-input:focus {
  outline: none;
  border-color: var(--c-gold);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--c-gold);
  color: var(--c-ink);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 0;
}
.btn-primary:hover { background: var(--c-champagne); }

.btn-outline {
  display: inline-block;
  padding: 1rem 2rem;
  border: 1px solid rgba(232,220,200,0.3);
  color: var(--c-cream);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
  border-radius: 0;
}
.btn-outline:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 0;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(42,35,28,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(184,148,92,0.2);
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
.cookie-banner.visible {
  transform: translateY(0);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(15,13,10,0.95);
  backdrop-filter: blur(16px);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--f-serif);
  font-size: 1.875rem;
  color: var(--c-cream);
  transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--c-gold); }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* ===== UTILITY ===== */
.w-full { width: 100%; }
.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-7xl { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-8xl { font-size: 6rem; }
}

.text-center { text-align: center; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-32 { padding-top: 8rem; }
.pb-8 { padding-bottom: 2rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-md { max-width: 28rem; }

/* Typography */
.font-serif { font-family: var(--f-serif); }
.font-sans { font-family: var(--f-sans); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.15em; }
.tracking-\[0\.35em\] { letter-spacing: 0.35em; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.7; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-8xl { font-size: 6rem; }

/* Colors */
.text-gold { color: var(--c-gold); }
.text-champagne { color: var(--c-champagne); }
.text-cream { color: var(--c-cream); }
.text-paper { color: var(--c-paper); }
.text-cream\/30 { color: rgba(232,220,200,0.3); }
.text-cream\/40 { color: rgba(232,220,200,0.4); }
.text-cream\/50 { color: rgba(232,220,200,0.5); }
.text-cream\/60 { color: rgba(232,220,200,0.6); }
.text-cream\/70 { color: rgba(232,220,200,0.7); }
.text-cream\/80 { color: rgba(232,220,200,0.8); }
.text-gold\/70 { color: rgba(184,148,92,0.7); }
.text-gold\/80 { color: rgba(184,148,92,0.8); }
.text-ink { color: var(--c-ink); }

.bg-ink { background: var(--c-ink); }
.bg-void { background: var(--c-void); }
.bg-void\/50 { background: rgba(15,13,10,0.5); }
.bg-gold { background: var(--c-gold); }
.bg-transparent { background: transparent; }

.border { border-width: 1px; border-style: solid; }
.border-t { border-top: 1px solid rgba(255,255,255,0.05); }
.border-white\/5 { border-color: rgba(255,255,255,0.05); }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-gold\/20 { border-color: rgba(184,148,92,0.2); }
.border-gold\/30 { border-color: rgba(184,148,92,0.3); }
.rounded-none { border-radius: 0; }

/* Object fit */
.object-cover { object-fit: cover; }
.aspect-\[4\/5\] { aspect-ratio: 4/5; }

/* SVG sizing */
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* SVG stroke */
.stroke-current { stroke: currentColor; }
.fill-none { fill: none; }
.stroke-width-1 { stroke-width: 1.5; }

/* Responsive flex */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
}
