/* ===========================
   DON JANDO - Estilos Principales
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --cream:     #f5ede0;
  --beige:     #e8d5b7;
  --brown-lt:  #c8a97e;
  --brown:     #8b6340;
  --brown-dk:  #5c3d1e;
  --espresso:  #2c1a0e;
  --gold:      #c9973a;
  --white:     #fffaf4;
  --text:      #3a2410;
  --shadow:    rgba(44, 26, 14, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23e8d5b7'/%3E%3Ccircle cx='1' cy='1' r='0.5' fill='%23c8a97e22'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; width: 100%;
  background: var(--espresso);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  box-shadow: 0 2px 12px var(--shadow);
}

nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

nav .brand img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

nav .brand span {
  font-family: 'Playfair Display', serif;
  color: var(--cream);
  font-size: 1.2rem;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

nav ul a {
  color: var(--beige);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.25s;
}

nav ul a:hover { color: var(--gold); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 80px 2rem 3rem;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(200,169,126,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139,99,64,0.2) 0%, transparent 50%),
    var(--cream);
}

#hero .hero-badge {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

#hero .hero-logo {
  width: 180px; height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--brown-lt);
  box-shadow: 0 8px 40px rgba(44,26,14,0.25);
  margin-bottom: 2rem;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

#hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--espresso);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

#hero h1 em {
  color: var(--gold);
  font-style: italic;
}

#hero .subtitle {
  font-size: 1rem;
  color: var(--brown);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--brown-lt);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--brown-dk);
  font-weight: 700;
}

.chip .icon { font-size: 1.1rem; }

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: var(--brown-dk);
  color: var(--cream);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: background 0.25s, transform 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--espresso); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--brown-dk);
  border: 2px solid var(--brown-dk);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s;
}
.btn-outline:hover { background: var(--brown-dk); color: var(--cream); }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--brown-lt);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
.scroll-hint::after {
  content: '↓';
  font-size: 1.4rem;
}

/* ── SECTION COMMON ── */
section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--espresso);
  margin-bottom: 0.8rem;
}

.divider {
  width: 60px; height: 3px;
  background: linear-gradient(to right, var(--gold), var(--brown-lt));
  margin: 0 auto;
  border-radius: 2px;
}

/* ── DESAYUNOS ── */
#desayunos {
  background:
    linear-gradient(160deg, var(--white) 0%, var(--cream) 100%);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.menu-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
  border: 1.5px solid var(--beige);
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--gold), var(--brown-lt));
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--shadow);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--espresso);
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--brown);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}

.card-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--brown-dk);
  color: var(--cream);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

/* ── ALMUERZOS ── */
#almuerzos {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(139,99,64,0.12) 0%, transparent 55%),
    var(--beige);
}

.almuerzo-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  border: 2px solid var(--brown-lt);
  background: transparent;
  color: var(--brown-dk);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'Lato', sans-serif;
  letter-spacing: 1px;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--brown-dk);
  color: var(--cream);
  border-color: var(--brown-dk);
}

.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }

/* ── BEBIDAS ── */
#bebidas {
  background: var(--espresso);
}

#bebidas .section-title { color: var(--cream); }
#bebidas .section-label { color: var(--gold); }
#bebidas .divider { background: linear-gradient(to right, var(--gold), var(--brown-lt)); }

.bebidas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.bebida-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(200,169,126,0.3);
  color: var(--cream);
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.25s;
}

.bebida-pill:hover {
  background: var(--gold);
  color: var(--espresso);
  border-color: var(--gold);
  transform: scale(1.05);
}

.bebida-pill .bicon { font-size: 1.3rem; }

/* ── CARTA EXTRA / A LA CARTA ── */
#extras {
  background: var(--cream);
}

.extras-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.extra-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  border: 1.5px solid var(--beige);
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform 0.2s;
}

.extra-item:hover { transform: translateX(4px); }

.extra-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.extra-icon { font-size: 1.5rem; }

.extra-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--espresso);
}

.extra-desc {
  font-size: 0.82rem;
  color: var(--brown);
}

.extra-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
  white-space: nowrap;
}

.dotted-line {
  flex: 1;
  border-bottom: 2px dotted var(--beige);
  margin: 0 1rem;
}

/* ── UBICACIÓN ── */
#ubicacion {
  background: linear-gradient(160deg, var(--white) 0%, var(--cream) 100%);
}

.ubicacion-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ubi-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--espresso);
  margin-bottom: 1.5rem;
}

.ubi-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.ubi-detail .icon-wrap {
  background: var(--brown-dk);
  color: var(--cream);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ubi-detail .text strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}

.ubi-detail .text span {
  font-size: 0.95rem;
  color: var(--brown-dk);
}

.map-placeholder {
  background: var(--beige);
  border-radius: 16px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--brown-lt);
  gap: 1rem;
  text-align: center;
  padding: 1.5rem;
}

.map-placeholder .map-icon { font-size: 3rem; }

.map-placeholder p {
  color: var(--brown-dk);
  font-size: 0.88rem;
  line-height: 1.5;
}

.map-placeholder a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  border: 2px solid var(--gold);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  transition: all 0.25s;
}
.map-placeholder a:hover {
  background: var(--gold);
  color: var(--espresso);
}

/* ── FOOTER ── */
footer {
  background: var(--espresso);
  color: var(--beige);
  text-align: center;
  padding: 2.5rem 1rem;
}

footer .footer-logo {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  color: var(--brown-lt);
}

footer strong { color: var(--cream); }

/* ── HUARMEY FOTO ── */
.huarmey-section {
  background: var(--brown-dk);
  padding: 4rem 2rem;
  text-align: center;
}

.huarmey-section .section-title { color: var(--cream); margin-bottom: 0.5rem; }
.huarmey-section .section-label { color: var(--gold); }
.huarmey-section .divider { margin-bottom: 2rem; }

.huarmey-section p {
  color: var(--beige);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.playa-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.playa-card {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(200,169,126,0.35);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  width: 240px;
  transition: transform 0.25s, background 0.25s;
}

.playa-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.12);
}

.playa-card .playa-emoji { font-size: 3.5rem; margin-bottom: 0.8rem; }

.playa-card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--cream);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.playa-card p {
  font-size: 0.82rem;
  color: var(--brown-lt);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav ul { display: none; }
  .hamburger { display: flex; }

  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--espresso);
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }

  .ubicacion-inner {
    grid-template-columns: 1fr;
  }

  .hero-btns { flex-direction: column; align-items: center; }
}
