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

:root {
  --terracotta: #B8542E;
  --terracotta-dark: #9A4420;
  --terracotta-light: #D4845A;
  --sand: #F5E6D3;
  --sand-light: #FBF5EE;
  --sand-dark: #E8D5BF;
  --warm-white: #FDF8F3;
  --cream: #FAF3EB;
  --text-dark: #2C1810;
  --text-mid: #5C3A2E;
  --text-light: #8B6555;
  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.12);
  --shadow-xl: 0 16px 60px rgba(44, 24, 16, 0.15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --font-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 243, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 84, 46, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(253, 248, 243, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--terracotta);
  background: rgba(184, 84, 46, 0.06);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

.btn-accent {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 4px 16px rgba(184, 84, 46, 0.3);
}
.btn-accent:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(184, 84, 46, 0.4);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--terracotta);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(184, 84, 46, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
}

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

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--text-dark);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 24, 16, 0.82) 0%,
    rgba(44, 24, 16, 0.6) 50%,
    rgba(184, 84, 46, 0.3) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-dark);
  background: rgba(245, 230, 211, 0.12);
  border: 1px solid rgba(245, 230, 211, 0.2);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: white;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--terracotta-light);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

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

/* ===== FLOATING STAT CARDS ===== */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.stat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 84, 46, 0.4);
  border-radius: var(--radius-sm);
}

.stat-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

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

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

.intro-image {
  position: relative;
}

.intro-image img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.intro-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--sand);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.intro-text .section-title { margin-top: 8px; }

.intro-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.intro-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.intro-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

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

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

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

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

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

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

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

.room-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--terracotta);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.room-body {
  padding: 28px;
}

.room-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.room-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.room-features li {
  background: var(--sand);
  color: var(--text-mid);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
}

/* ===== AMENITIES ===== */
.amenities {
  padding: 120px 0;
  background: var(--warm-white);
}

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

.amenity-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 84, 46, 0.12);
}

.amenity-icon {
  width: 64px;
  height: 64px;
  background: var(--sand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.amenity-card:hover .amenity-icon {
  background: rgba(184, 84, 46, 0.1);
}

.amenity-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.amenity-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

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

.location-text .section-title { margin-top: 8px; }

.location-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.distance-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.distance-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.distance-list li:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.dl-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.dl-dist {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta);
  background: rgba(184, 84, 46, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

.location-map {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 500px;
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.map-overlay p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.map-overlay strong {
  color: var(--text-dark);
  display: block;
  font-size: 0.95rem;
}

/* ===== GALLERY ===== */
.gallery {
  padding: 120px 0;
  background: var(--warm-white);
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

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

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== CTA / CONTACT ===== */
.cta {
  padding: 120px 0;
  background: var(--sand-light);
}

.cta-card {
  background: var(--text-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cta-content {
  padding: 64px 56px;
  color: white;
  display: flex;
  flex-direction: column;
}

.cta-content .section-label {
  background: rgba(245, 230, 211, 0.12);
  color: var(--sand-dark);
  align-self: flex-start;
}

.cta-content .section-title {
  color: white;
  margin-top: 16px;
}

.cta-content > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--terracotta-light);
  transition: var(--transition);
}

.cta-phone:hover { color: white; }

.cta-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
}

.cta-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.cta-form-wrap {
  background: white;
  padding: 64px 56px;
}

.cta-form h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  background: var(--sand-light);
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  background: white;
  box-shadow: 0 0 0 4px rgba(184, 84, 46, 0.08);
}

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

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

.form-success {
  text-align: center;
  padding: 32px;
}

.form-success svg {
  margin: 0 auto 16px;
}

.form-success p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.6;
}

.form-success strong {
  color: var(--text-dark);
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-brand .nav-logo {
  color: white;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--sand);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-links a:hover { color: var(--terracotta-light); }

.footer-contact p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--terracotta-light);
  font-weight: 700;
  transition: var(--transition);
}

.footer-contact a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom p {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    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);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-stats {
    max-width: 400px;
  }

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

  .intro-image { order: -1; }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-content { padding: 48px 36px; }
  .cta-form-wrap { padding: 48px 36px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 243, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(184, 84, 46, 0.1);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

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

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .nav-toggle { display: flex; }

  .hero { padding: 100px 0 60px; min-height: auto; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

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

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

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

  .section-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-content, .cta-form-wrap { padding: 36px 24px; }
  .location-map { height: 350px; }
}
