/* ===== 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;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdfbf7;
}
::-webkit-scrollbar-thumb {
  background: #eb9aad;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c45c72;
}

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

#navbar.scrolled {
  background: rgba(254, 253, 251, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(140, 54, 70, 0.08);
}

/* ===== HERO ===== */
#hero {
  background: linear-gradient(135deg, #fefdfb 0%, #fdf0f3 50%, #faf0f2 100%);
}

/* ===== ROOM CARDS ===== */
.room-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== AMENITY CARDS ===== */
.amenity-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.amenity-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SCROLL REVEAL (below fold only) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .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; }
  .reveal.delay-5 { transition-delay: 0.5s; }
}

/* ===== GALLERY SCROLL ===== */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-scroll {
  display: flex;
  gap: 1rem;
  animation: scroll 40s linear infinite;
  width: max-content;
}

.animate-scroll:hover {
  animation-play-state: paused;
}

/* ===== MOBILE MENU ===== */
#mobileMenu {
  animation: slideDown 0.3s ease;
}

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

/* ===== FORM FOCUS ===== */
input:focus,
textarea:focus {
  border-color: #c45c72 !important;
  box-shadow: 0 0 0 3px rgba(196, 92, 114, 0.15);
}

/* ===== SELECTION ===== */
::selection {
  background: #fce7eb;
  color: #5c252e;
}

/* ===== PRINT ===== */
@media print {
  #navbar, .animate-scroll, #menuBtn {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
}
