*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest-deep: #1a3a2a;
  --forest-mid: #1e3d28;
  --forest-dark: #0e1f16;
  --gold: #c9a84c;
  --gold-light: #d4b85c;
  --cream: #f0ece1;
  --cream-dim: #f0ece1dd;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--forest-dark);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.font-cormorant { font-family: var(--font-display); }
.font-inter { font-family: var(--font-body); }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: rgba(14, 31, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(240, 236, 225, 0.06);
}

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

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: rgba(14, 31, 22, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { max-height: 500px; }
.mobile-nav-link {
  display: block;
  border-bottom: 1px solid rgba(240, 236, 225, 0.06);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(26, 58, 42, 0.9) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(30, 61, 40, 0.8) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201, 168, 76, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--forest-dark) 0%, var(--forest-deep) 50%, var(--forest-dark) 100%);
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 31, 22, 0.4) 0%,
    rgba(14, 31, 22, 0.2) 40%,
    rgba(14, 31, 22, 0.5) 80%,
    rgba(14, 31, 22, 1) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-bottom: 80px;
}

.hero-badge {
  animation: fadeDown 0.8s ease both;
}

.hero h1 {
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero p {
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero .flex {
  animation: fadeUp 0.8s 0.6s ease both;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 0.8s 1s ease both;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-text {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 236, 225, 0.35);
}

/* ─── Section Labels ─── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  padding-left: 28px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1px;
  background: var(--gold);
}

/* ─── Features / About ─── */
.features { background: var(--forest-dark); }

/* ─── Rooms ─── */
.rooms { background: var(--forest-deep); }

.room-card {
  background: rgba(240, 236, 225, 0.03);
  border: 1px solid rgba(240, 236, 225, 0.07);
  border-radius: 20px;
  padding: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.room-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ─── Location ─── */
.location { background: var(--forest-dark); }

/* ─── Nearby ─── */
.nearby { background: var(--forest-deep); }

/* ─── CTA ─── */
.cta { background: var(--forest-dark); }

.contact-form input,
.contact-form textarea {
  appearance: none;
}

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .hero h1 { font-size: 2.75rem; }
  .hero h1 br { display: none; }
  .section-label { padding-left: 0; }
  .section-label::before { display: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero h1 { font-size: 4rem; }
}

/* ─── Focus ─── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ─── Selection ─── */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: var(--cream);
}
