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

:root {
  --gold: #c8956c;
  --gold-light: #d4a87c;
  --bg: #0f0b06;
  --bg-light: #1a1209;
  --cream: #f5efe6;
  --cream-dim: rgba(245, 239, 230, 0.6);
  --cream-muted: rgba(245, 239, 230, 0.4);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Typography ── */
.font-playfair {
  font-family: var(--font-display);
}

.font-outfit {
  font-family: var(--font-body);
}

/* ── Navbar ── */
#navbar {
  background: transparent;
  backdrop-filter: none;
}

#navbar.scrolled {
  background: rgba(15, 11, 6, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 149, 108, 0.1);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--gold) !important;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--bg);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 149, 108, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--cream);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 239, 230, 0.2);
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-reserve {
  position: relative;
  transition: all 0.4s ease;
}

.btn-reserve:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
}

/* ── Inputs ── */
.input-field {
  background: rgba(26, 18, 9, 0.6);
  border: 1px solid rgba(200, 149, 108, 0.2);
  color: var(--cream);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
}

.input-field::placeholder {
  color: rgba(245, 239, 230, 0.25);
}

.input-field:focus {
  border-color: var(--gold);
}

.input-field option {
  background: var(--bg-light);
  color: var(--cream);
}

/* ── Mobile Menu ── */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  font-size: 1.1rem !important;
  letter-spacing: 0.2em !important;
}

/* ── Reveal Animations ── */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal-up:nth-child(1) { animation-delay: 0s; }
.reveal-up:nth-child(2) { animation-delay: 0.1s; }
.reveal-up:nth-child(3) { animation-delay: 0.2s; }

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero initial reveal (always visible on load) */
#hero .reveal-up {
  animation-play-state: running;
}

/* Scroll-triggered reveals */
.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
  animation: revealUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(200, 149, 108, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 149, 108, 0.5);
}

/* ── Selection ── */
::selection {
  background: rgba(200, 149, 108, 0.3);
  color: var(--cream);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .font-playfair {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  #hero h1 {
    font-size: clamp(2.2rem, 7vw, 3.8rem);
    line-height: 1.1;
  }

  .floating-card {
    position: relative;
    margin-top: 1rem;
    -webkit-margin-start: 0;
  }
}

@media (max-width: 640px) {
  .btn-primary, .btn-secondary {
    padding: 12px 24px;
    font-size: 0.75rem;
    width: 100%;
    justify-content: center;
  }

  #hero {
    padding-top: 6rem;
  }
}
