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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== NAV ===== */
.nav {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 20px rgba(22, 101, 52, 0.08);
}

/* ===== MOBILE MENU ===== */
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu.open .mobile-link {
  animation: fadeUp 0.3s ease forwards;
  opacity: 0;
}

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

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

.menu-line {
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

body.menu-open .menu-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
body.menu-open .menu-line:nth-child(2) {
  opacity: 0;
}
body.menu-open .menu-line:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
  width: 1.5rem;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #fefce8 50%, #fefdf8 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(187, 247, 208, 0.3) 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(254, 252, 232, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ===== ROOM CARDS ===== */
.room-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(22, 101, 52, 0.1);
}

/* ===== REVEAL ANIMATIONS ===== */
.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 ===== */
#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f0fdf4;
}
::-webkit-scrollbar-thumb {
  background: #86efac;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4ade80;
}
