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

body {
  overflow-x: hidden;
}

::selection {
  background-color: #7B2D3B;
  color: #fff;
}

/* ── Navbar ── */
.nav {
  background: rgba(254, 247, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
}

.nav.scrolled {
  background: rgba(254, 247, 245, 0.97);
  box-shadow: 0 4px 24px rgba(123, 45, 59, 0.08);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7B2D3B;
  border-radius: 1px;
  transition: width 0.25s ease;
}

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

/* ── Mobile menu ── */
.mobile-menu {
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-link {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #fce7eb;
}

.mobile-link:last-child {
  border-bottom: none;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #fef7f5 0%, #fdf0ec 50%, #fce7eb 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 208, 217, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(252, 224, 214, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Room cards ── */
.room-card {
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ── Amenity items ── */
.amenity-item {
  animation: fadeInUp 0.5s ease both;
}

.amenity-item:nth-child(2) { animation-delay: 0.05s; }
.amenity-item:nth-child(3) { animation-delay: 0.1s; }
.amenity-item:nth-child(4) { animation-delay: 0.15s; }
.amenity-item:nth-child(5) { animation-delay: 0.2s; }
.amenity-item:nth-child(6) { animation-delay: 0.25s; }

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

/* ── Scroll reveal (below fold only) ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }

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

/* ── Form ── */
input:focus,
textarea:focus {
  outline: none;
}

/* ── Utility ── */
@media (max-width: 767px) {
  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.15;
  }

  .hero h1 br {
    display: none;
  }
}
