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

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

body {
  overflow-x: hidden;
}

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

/* ── Custom Properties ── */
:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #6a2432;
  --blush: #FADDD2;
  --cream: #FDF9F5;
  --ink: #1A1210;
  --stone: #6B5E57;
}

/* ── Navigation ── */
#navbar {
  background: transparent;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(253, 249, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(26, 18, 16, 0.08);
  box-shadow: 0 1px 20px rgba(26, 18, 16, 0.06);
}

.nav-logo {
  transition: color 0.3s ease;
}

.nav-link {
  position: relative;
}

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

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

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

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

#mobile-menu.closed {
  opacity: 0;
  pointer-events: none;
}

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

.menu-line {
  display: block;
  transition: all 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

#menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--burgundy);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--burgundy);
}

.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--ink);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-book {
  display: inline-flex;
  align-items: center;
  background: var(--burgundy);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--burgundy);
}

.btn-book:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(123, 45, 59, 0.25);
}

/* ── Inputs ── */
.input-field {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(26, 18, 16, 0.15);
  border-radius: 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--cream);
  transition: all 0.3s ease;
  outline: none;
}

.input-field:focus {
  border-color: var(--burgundy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

.input-field::placeholder {
  color: var(--stone);
  opacity: 0.6;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── Hero Animations ── */
.hero-eyebrow {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.hero-headline {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.hero-sub {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
}

.hero-ctas {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}

.hero-image {
  animation: fadeScale 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

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

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

/* ── Section Animations ── */
.section-eyebrow {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.section-headline {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.1s;
}

.section-desc {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.2s;
}

.visible .section-eyebrow,
.visible .section-headline,
.visible .section-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ── Room Cards ── */
.room-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.room-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.room-card:nth-child(1) { transition-delay: 0s; }
.room-card:nth-child(2) { transition-delay: 0.15s; }
.room-card:nth-child(3) { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 3rem !important;
  }

  #hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .floating-card {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: 2.5rem !important;
  }

  #hero {
    padding: 7rem 0 3rem;
  }
}
