/* ═══════════════════════════════════════════════════
   HOTEL LA SIESTA — MAIN CSS
   Variables, Reset, Base, Typography, Buttons, Nav
═══════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  /* Palette */
  --black:       #0f0c08;
  --black-warm:  #1a1510;
  --dark:        #211c15;
  --sand:        #c8a97a;
  --sand-light:  #d9be99;
  --cream:       #f5ede0;
  --cream-light: #faf6f0;
  --beige:       #e8d5b7;
  --gold:        #c9a348;
  --gold-light:  #dbb96b;
  --white:       #ffffff;
  --text-dark:   #2c2418;
  --text-mid:    #6b5e4a;
  --text-light:  rgba(255,255,255,0.85);
  --text-faint:  rgba(255,255,255,0.55);

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   6rem;
  --space-2xl:  10rem;

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);
  --duration:   0.7s;

  /* Layout */
  --container:  1280px;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--cream-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

/* ─── Container ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* ─── Typography ─── */
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.h2 em {
  font-style: italic;
  color: var(--sand);
}

.h2--light {
  color: var(--white);
}

.h2--light em {
  color: var(--gold-light);
}

.h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-dark);
}

.label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: var(--space-sm);
  display: block;
}

.label--light {
  color: rgba(255,255,255,0.65);
}

.label--gold {
  color: var(--gold-light);
}

.body-text {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 56ch;
}

.section-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: var(--text-mid);
  max-width: 50ch;
  line-height: 1.7;
  margin-top: var(--space-sm);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ─── Section Header ─── */
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header .h2 {
  margin-top: 0.5rem;
}

/* ─── Feature List ─── */
.feature-list {
  margin-top: var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
}

.feature-list li {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sand);
  flex-shrink: 0;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after {
  opacity: 0.08;
}

.btn--dark {
  background: var(--dark);
  color: var(--cream);
  border-color: var(--dark);
}

.btn--dark:hover {
  background: var(--black-warm);
  transform: translateY(-1px);
}

.btn--light {
  background: var(--cream);
  color: var(--dark);
  border-color: var(--cream);
}

.btn--light:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  font-weight: 600;
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201,163,72,0.35);
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.78rem;
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background 0.5s var(--ease-out), box-shadow 0.5s;
}

.nav.scrolled {
  background: rgba(15, 12, 8, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.nav__logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}

.nav__logo:hover .nav__logo-img {
  transform: scale(1.06) rotate(-3deg);
}

.nav__logo-textwrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}

.nav__logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
  color: var(--white);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  background: var(--gold);
  color: var(--black);
  padding: 0.5rem 1.2rem;
  font-weight: 600;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--gold-light);
  color: var(--black);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

/* ─── Mobile Menu ─── */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(15, 12, 8, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 1.5rem;
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease-out);
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 1rem;
  transition: color 0.3s;
}

.mobile-menu__link:hover {
  color: var(--gold-light);
}

/* ─── Stat Component ─── */
.stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.9rem;
}

.stat__icon {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  flex-shrink: 0;
}

.stat__icon + .stat__label {
  text-transform: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--sand);
  line-height: 1;
}

.stat__label {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text-mid);
  text-transform: uppercase;
}

/* ─── Parallax Container ─── */
.parallax-container {
  overflow: hidden;
  position: relative;
}

.parallax-img {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}
