/* ── Custom Properties ── */
:root {
  --teal-dark: #0D4F4F;
  --teal-darker: #083030;
  --gold: #C9A86C;
  --gold-hover: #b8944f;
  --stone-50: #FAFAF8;
  --stone-100: #F5F5F4;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-800: #1E293B;
}

/* ── Base & Typography ── */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
}

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

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

/* ── Navigation ── */
#navbar {
  transition: background-color 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
}

#navbar.scrolled {
  background-color: rgba(8, 48, 48, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-link {
  position: relative;
}

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

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

/* ── Mobile Menu ── */
.menu-line {
  display: block;
  transition: all 0.3s ease;
}

#mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu.active .mobile-nav-link {
  animation: fadeUp 0.4s ease forwards;
  opacity: 0;
}

#mobile-menu.active .mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
#mobile-menu.active .mobile-nav-link:nth-child(2) { animation-delay: 0.15s; }
#mobile-menu.active .mobile-nav-link:nth-child(3) { animation-delay: 0.2s; }
#mobile-menu.active .mobile-nav-link:nth-child(4) { animation-delay: 0.25s; }
#mobile-menu.active .mobile-nav-link:nth-child(5) { animation-delay: 0.3s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Hero Animations ── */
.hero-subtitle {
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-headline {
  animation: fadeUp 0.8s ease 0.5s both;
}

.hero-desc {
  animation: fadeUp 0.8s ease 0.7s both;
}

.hero-cta {
  animation: fadeUp 0.8s ease 0.9s both;
}

/* ── Scroll Animations ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── Room Cards ── */
.room-card {
  transition: transform 0.4s ease;
}

.room-card:hover {
  transform: translateY(-4px);
}

/* ── Amenity Items ── */
.amenity-item {
  transition: all 0.3s ease;
}

/* ── Gallery Items ── */
.gallery-item {
  cursor: pointer;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 79, 79, 0);
  transition: background 0.3s ease;
  border-radius: inherit;
}

.gallery-item:hover::after {
  background: rgba(13, 79, 79, 0.1);
}

/* ── Form Styles ── */
input:focus,
textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 108, 0.15) !important;
}

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