/* ─── Base & Typography ─────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  background-color: #0d0814;
  color: #d4c5e0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

::selection {
  background: rgba(200, 164, 90, 0.3);
  color: #f0e6ff;
}

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

/* ─── Buttons ───────────────────────────────────────────── */

.btn-gold {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #c8a45a 0%, #a07830 100%);
  color: #0d0814;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(200, 164, 90, 0.25);
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 164, 90, 0.4);
  background: linear-gradient(135deg, #d4b46a 0%, #b08840 100%);
  color: #0d0814;
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #d4a0e0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(212, 160, 224, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: #d4a0e0;
  background: rgba(212, 160, 224, 0.08);
  transform: translateY(-2px);
  color: #e0c0f0;
}

/* ─── Inputs ────────────────────────────────────────────── */

.input-field {
  width: 100%;
  background: rgba(26, 16, 40, 0.8);
  border: 1px solid rgba(200, 164, 90, 0.15);
  border-radius: 12px;
  padding: 14px 16px;
  color: #d4c5e0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  transition: all 0.3s ease;
  outline: none;
}

.input-field::placeholder {
  color: #6b5a7a;
}

.input-field:hover {
  border-color: rgba(200, 164, 90, 0.35);
}

.input-field:focus {
  border-color: #c8a45a;
  background: rgba(26, 16, 40, 1);
  box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.1);
}

/* ─── Navigation ────────────────────────────────────────── */

#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(13, 8, 20, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(200, 164, 90, 0.1);
}

.nav-link {
  position: relative;
}

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

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

/* ─── Hero ──────────────────────────────────────────────── */

@keyframes scroll-indicator {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

.animate-scroll-indicator {
  animation: scroll-indicator 1.5s ease-in-out infinite;
}

/* ─── Menu Cards ────────────────────────────────────────── */

.menu-card {
  background: rgba(26, 16, 40, 0.6);
  border: 1px solid rgba(200, 164, 90, 0.08);
  border-radius: 20px;
  padding: 8px;
  transition: all 0.4s ease;
}

.menu-card:hover {
  border-color: rgba(200, 164, 90, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(92, 45, 130, 0.2), 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ─── Gallery ───────────────────────────────────────────── */

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 8, 20, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ─── Scroll Animations ─────────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── Scroll to Top ─────────────────────────────────────── */

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ─── Mobile Menu ───────────────────────────────────────── */

.mobile-menu-link {
  position: relative;
}

.mobile-menu-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #c8a45a;
  margin-top: 2px;
  transition: width 0.3s ease;
}

.mobile-menu-link:hover::after {
  width: 60%;
}

/* ─── Decorative Lines ──────────────────────────────────── */

.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #c8a45a, transparent);
}

/* ─── Responsive ────────────────────────────────────────── */

@media (max-width: 768px) {
  .font-playfair {
    line-height: 1.2;
  }

  .menu-card:hover {
    transform: translateY(-3px);
  }
}
