/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;

  --cream-50: #fefdf8;
  --cream-100: #fef9ee;
  --cream-200: #fdf3dc;
  --cream-300: #fae8b8;

  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--stone-800);
  background: var(--cream-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--emerald-700);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 16px;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254, 253, 248, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(254, 253, 248, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--emerald-800);
  letter-spacing: -0.01em;
}

.logo-icon {
  color: var(--emerald-600);
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--stone-600);
  transition: color var(--transition);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--emerald-500);
  transition: width var(--transition);
}

.main-nav a:hover {
  color: var(--emerald-700);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  width: 40px;
  height: 40px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--stone-700);
  transition: var(--transition);
  position: absolute;
  left: 9px;
}

.hamburger { top: 18px; }
.hamburger::before { content: ''; top: -7px; }
.hamburger::after { content: ''; top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-emerald {
  background: var(--emerald-600);
  color: #fff;
  border-color: var(--emerald-600);
}
.btn-emerald:hover {
  background: var(--emerald-700);
  border-color: var(--emerald-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

.btn-light {
  background: #fff;
  color: var(--emerald-800);
  border-color: #fff;
}
.btn-light:hover {
  background: var(--cream-100);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--emerald-700);
  border-color: var(--emerald-300);
}
.btn-outline:hover {
  background: var(--emerald-50);
  border-color: var(--emerald-500);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 25%, #6ee7b7 50%, #34d399 70%, #059669 100%);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(6, 78, 59, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(110, 231, 183, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.15) 0%, rgba(6, 78, 59, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

/* ===== SECTION COMMON ===== */
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--stone-900);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--stone-500);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-lead {
  margin: 0 auto;
}

/* ===== INTRO ===== */
.intro {
  padding: 120px 0;
  background: var(--cream-50);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-text .lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--stone-600);
  margin-bottom: 20px;
}

.intro-text p:last-child {
  color: var(--stone-500);
}

.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== ROOMS ===== */
.rooms {
  padding: 120px 0;
  background: var(--emerald-50);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.room-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.room-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover .room-image img {
  transform: scale(1.05);
}

.room-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--emerald-600);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-xl);
}

.room-body {
  padding: 28px;
}

.room-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: 10px;
}

.room-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--stone-500);
  margin-bottom: 20px;
}

.room-amenities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-amenities li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--emerald-700);
  background: var(--emerald-50);
  padding: 5px 12px;
  border-radius: var(--radius-xl);
}

.rooms-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== EXPERIENCE ===== */
.experience {
  padding: 120px 0;
  background: var(--cream-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--stone-100);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--emerald-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--emerald-50);
  color: var(--emerald-600);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--stone-500);
}

/* ===== GALLERY STRIP ===== */
.gallery-strip {
  overflow: hidden;
  padding: 0;
  background: var(--emerald-800);
}

.gallery-scroll {
  display: flex;
  gap: 4px;
  animation: gallery-scroll 40s linear infinite;
}

.gallery-scroll img {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.gallery-scroll img:hover {
  opacity: 1;
}

@keyframes gallery-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-400px * 6 - 4px * 5)); }
}

/* ===== LOCATION ===== */
.location {
  padding: 120px 0;
  background: var(--cream-50);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.location-text .lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--stone-500);
  margin-bottom: 28px;
}

.location-details {
  font-style: normal;
  line-height: 1.8;
  color: var(--stone-600);
  margin-bottom: 28px;
}

.location-details a {
  color: var(--emerald-600);
  transition: color var(--transition);
}

.location-details a:hover {
  color: var(--emerald-800);
  text-decoration: underline;
}

.location-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-900) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact .section-eyebrow {
  color: var(--emerald-300);
}

.contact .section-title {
  color: #fff;
}

.contact .section-lead {
  color: rgba(255,255,255,0.75);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.contact-method:hover {
  color: #fff;
}

.contact-method svg {
  flex-shrink: 0;
  color: var(--emerald-300);
}

/* ===== FORM ===== */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--stone-700);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.optional {
  font-weight: 400;
  color: var(--stone-400);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--stone-800);
  background: var(--stone-50);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--emerald-400);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--stone-400);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  border-radius: var(--radius-sm);
  color: var(--emerald-800);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success svg {
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--stone-900);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-light {
  color: #fff;
  margin-bottom: 16px;
}

.logo-light .logo-icon {
  color: var(--emerald-400);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--emerald-400);
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-contact a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--emerald-700);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--emerald-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(254, 253, 248, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .main-nav a {
    font-size: 1rem;
  }

  .main-nav .btn-sm {
    margin-top: 8px;
  }

  .hero-content {
    padding: 100px 24px 80px;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .intro-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro {
    padding: 80px 0;
  }

  .rooms {
    padding: 80px 0;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .experience {
    padding: 80px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .gallery-scroll img {
    width: 280px;
    height: 200px;
  }

  @keyframes gallery-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-280px * 6 - 4px * 5)); }
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .rooms-cta {
    flex-direction: column;
  }

  .rooms-cta .btn {
    width: 100%;
  }
}
