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

:root {
  --emerald:    #064e3b;
  --emerald-lt: #065f46;
  --cream:      #f5f0e8;
  --cream-dk:   #e8e0d0;
  --white:      #fefcf8;
  --text:       #1a1a1a;
  --text-lt:    #6b6b6b;
  --line:       rgba(6, 78, 59, 0.12);
  --line-dk:    rgba(6, 78, 59, 0.25);
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

/* ── Navigation ─────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(254, 252, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }

.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--emerald);
}
.nav-logo-icon { color: var(--emerald); }

.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-lt);
  position: relative; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--emerald);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--emerald); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 24px; padding: 4px 0;
}
.nav-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--text); transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(6, 95, 70, 0.85) 0%, rgba(6, 78, 59, 0.7) 40%, rgba(4, 50, 37, 0.9) 70%, #031a12 100%);
}

/* Subtle animated grain overlay */
.hero-gradient::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* Decorative thin lines */
.hero-gradient::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212, 197, 169, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 197, 169, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-eyebrow {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(212, 197, 169, 0.8);
  margin-bottom: 32px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 500; font-style: italic;
  color: var(--cream); line-height: 1.15;
  margin-bottom: 28px;
}
.hero-headline-line {
  display: block;
}
.hero-headline-line:not(:nth-child(2)) {
  font-family: var(--font-sans);
  font-weight: 300; font-style: normal;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.02em;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 8px;
}
.hero-headline-line:nth-child(2) {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: -0.01em;
  color: var(--cream);
}

.hero-sub {
  font-size: 1.0625rem; color: rgba(245, 240, 232, 0.6);
  max-width: 440px; margin: 0 auto 40px; line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.3s ease;
}
.btn-primary {
  background: var(--cream); color: var(--emerald);
}
.btn-primary:hover { background: rgba(212, 197, 169, 0.9); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(212, 197, 169, 0.4);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(254, 252, 248, 0.08); }
.btn-full { width: 100%; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(212, 197, 169, 0.5); font-size: 0.6875rem; letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── Sections ───────────────────────────────────── */
.section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.section-alt { background: var(--cream); border-top-color: transparent; }

.section-eyebrow {
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--emerald);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 500; font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text); line-height: 1.2;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.0625rem; color: var(--text-lt);
  max-width: 560px; line-height: 1.8;
}

/* ── Rooms Grid ─────────────────────────────────── */
.rooms-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 64px;
}
.room-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.room-card:hover { box-shadow: 0 8px 32px rgba(6, 78, 59, 0.08); transform: translateY(-4px); }

.room-card-img {
  aspect-ratio: 3/2; overflow: hidden;
}
.room-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.room-card:hover .room-card-img img { transform: scale(1.04); }

.room-card-body { padding: 28px 24px; }
.room-card-title {
  font-family: var(--font-serif);
  font-weight: 500; font-size: 1.375rem;
  margin-bottom: 10px; color: var(--text);
}
.room-card-desc {
  font-size: 0.9375rem; color: var(--text-lt);
  line-height: 1.7; margin-bottom: 20px;
}
.room-card-features {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px;
}
.room-card-features li {
  font-size: 0.8125rem; color: var(--emerald);
  padding: 4px 0; position: relative;
}
.room-card-features li::before {
  content: '—'; margin-right: 6px; color: var(--cream-dk);
}

/* ── About ──────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; margin-top: 64px; align-items: center;
}
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text .lead {
  font-size: 1.125rem; color: var(--text);
  line-height: 1.8;
}
.about-text p {
  font-size: 0.9375rem; color: var(--text-lt); line-height: 1.8;
}
.about-image { border-radius: 4px; overflow: hidden; }
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 5/6;
}

/* ── Location ───────────────────────────────────── */
.location-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; margin-top: 64px; align-items: start;
}
.location-map {
  position: relative; border-radius: 4px; overflow: hidden;
  aspect-ratio: 5/3;
}
.location-map img {
  width: 100%; height: 100%; object-fit: cover;
}
.location-map-overlay {
  position: absolute; bottom: 20px; left: 20px;
  display: flex; align-items: center; gap: 8px;
  background: var(--white); padding: 10px 16px;
  border-radius: 2px; font-size: 0.8125rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  color: var(--text);
}

.location-details { display: flex; flex-direction: column; gap: 32px; }
.location-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.location-item:last-child { border-bottom: none; padding-bottom: 0; }
.location-item svg { color: var(--emerald); flex-shrink: 0; margin-top: 2px; }
.location-item strong {
  display: block; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--emerald); margin-bottom: 4px;
}
.location-item p, .location-item a {
  font-size: 0.9375rem; color: var(--text-lt); line-height: 1.6;
}
.location-item a:hover { color: var(--emerald); text-decoration: underline; }

/* ── Contact Form ───────────────────────────────── */
.contact-form { margin-top: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--emerald);
}
.form-group input,
.form-group textarea {
  font-family: var(--font-sans); font-size: 0.9375rem;
  font-weight: 300; color: var(--text);
  background: transparent; border: none;
  border-bottom: 1px solid var(--line-dk);
  padding: 10px 0; outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--emerald); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

.form-note {
  text-align: center; font-size: 0.8125rem;
  color: var(--text-lt); margin-top: 16px;
}

.form-success {
  display: none; flex-direction: column; align-items: center;
  gap: 16px; text-align: center; padding: 48px 24px;
}
.form-success svg { color: var(--emerald); }
.form-success h3 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.5rem; color: var(--text);
}
.form-success p { font-size: 0.9375rem; color: var(--text-lt); }

/* ── Footer ─────────────────────────────────────── */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--emerald);
}
.footer-tagline {
  margin-top: 12px; font-size: 0.875rem; color: var(--text-lt);
  line-height: 1.7;
}
.footer-links {
  display: flex; flex-direction: column; gap: 12px;
}
.footer-links a {
  font-size: 0.875rem; color: var(--text-lt);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--emerald); }
.footer-contact {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.875rem; color: var(--text-lt); line-height: 1.7;
}
.footer-contact a:hover { color: var(--emerald); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 0.75rem; color: var(--text-lt);
  letter-spacing: 0.04em;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(254, 252, 248, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column; align-items: center;
    padding: 32px 24px; gap: 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); opacity: 0;
    transition: all 0.3s ease; pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-toggle { display: flex; }
  .rooms-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-headline-line:nth-child(2) { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .section { padding: 80px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Scroll Animations ──────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
