@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Poppins:wght@300;400;500&display=swap');

:root {
  --dorado: #b08d57;
  --verde: #3e5c4d;
  --fondo: #f7f4ef;
  --blanco: #ffffff;
  --sombra: rgba(0,0,0,0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, body.eventos {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #fff, var(--fondo));
  color: #333;
  overflow-x: hidden;
}

/* ===== ENCABEZADO ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 110px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  transition: transform 0.3s ease;
  z-index: 1000;
}

header.oculto {
  transform: translateY(-100%);
}

body {
  padding-top: 110px;
}

/* ===== BARRA DE NAVEGACIÓN ===== */
.barra-navegacion {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.logo {
  height: 110px;
  transition: transform 0.25s ease;
  will-change: transform;
}

.logo.zoom-leve {
  transform: scale(1.08);
}

/* ===== MENÚ PRINCIPAL ===== */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}

.menu a {
  text-decoration: none;
  color: #6b4e32;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 20px;
  transition: 0.3s;
}

.menu a:hover,
.menu a.activo {
  background-color: #6b4e32;
  color: #fff;
}

/* ===== SUBMENÚ ===== */
.submenu {
  position: relative;
}

.submenu-contenido {
  display: none;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.97);
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 9999;
}

.submenu:hover .submenu-contenido {
  display: block;
}

.submenu-contenido a {
  display: block;
  padding: 10px;
  color: #6b4e32;
  text-decoration: none;
}

.submenu-contenido a:hover {
  background-color: #a97c50;
  color: #fff;
}

/* ===== BOTÓN HAMBURGUESA ===== */
.btn-hamburguesa-nav {
  display: none;
  background: none;
  border: 2px solid #6b4e32;
  border-radius: 8px;
  font-size: 26px;
  color: #6b4e32;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
  flex-shrink: 0;
}

/* ===== REDES SOCIALES FIJAS ===== */
.redes {
  position: fixed;
  right: 18px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1000;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.redes a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent !important;
  box-shadow: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.redes a img:hover {
  transform: scale(1.15) translateX(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
}

.redes a img:active {
  transform: scale(1.05) translateX(-6px);
}

.redes a {
  animation: redesFadeIn 0.6s ease forwards;
}

@keyframes redesFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* === POPUP WHATSAPP === */
.wa-box {
  position: fixed;
  right: 90px;
  bottom: 140px;
  width: 300px;
  background: #f4f6f8;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: all .35s ease;
  z-index: 9999;
}

.wa-box.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.wa-box, .wa-box * {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.wa-header {
  background: #25d366;
  color: white;
  padding: 14px 16px;
  border-radius: 16px 16px 0 0;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}

.wa-close { cursor: pointer; font-size: 20px; }
.wa-content { padding: 16px; }

.wa-bubble {
  background: white;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  margin-bottom: 14px;
}

.wa-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 12px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

.wa-button img { width: 18px; }

/* ================= HERO ================= */
.hero-artistico {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 110px);
  padding: 60px 8%;
  gap: 60px;
  align-items: center;
}

.hero-detalle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .85rem;
  color: var(--dorado);
}

.hero-texto h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  color: var(--verde);
  margin: 20px 0;
}

.hero-texto p {
  max-width: 480px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

.btn-principal {
  display: inline-block;
  margin-top: 35px;
  padding: 16px 40px;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--dorado), #d7b77f);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 15px 30px rgba(176,141,87,.4);
  transition: transform .4s ease;
}

.btn-principal:hover {
  transform: translateY(-6px);
}

/* Imagen hero — CORREGIDA: object-position center para no quedar arriba */
.hero-imagen {
  position: relative;
}

.hero-imagen img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center center;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
  animation: flotar 6s ease-in-out infinite;
}

.hero-imagen::after {
  content: "";
  position: absolute;
  inset: -18px;
  border: 2px solid var(--dorado);
  border-radius: 35px;
  opacity: .4;
}

/* ================= ICONOS ================= */
.eventos-iconos {
  display: flex;
  justify-content: center;
  gap: 35px;
  padding: 60px 20px;
  background: #fff;
  flex-wrap: wrap;
}

.eventos-iconos div {
  padding: 15px 28px;
  border-radius: 30px;
  background: var(--fondo);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
  font-size: 1.05rem;
}

/* ================= GRID EVENTOS ================= */
.eventos-grid {
  padding: 90px 8%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 45px;
}

.evento-card {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--sombra);
  transition: transform .5s ease, box-shadow .5s ease;
  position: relative;
}

.evento-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 35px 70px rgba(176,141,87,.35);
}

.img-wrap {
  overflow: hidden;
}

.evento-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}

.evento-card:hover img {
  transform: scale(1.08);
}

.evento-info {
  padding: 30px;
  text-align: center;
}

.evento-info h2 {
  font-family: 'Playfair Display', serif;
  color: var(--dorado);
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.evento-info p {
  color: #555;
  line-height: 1.6;
}

.iconos {
  margin-top: 12px;
  font-size: 1.3rem;
}

/* Badges */
.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #b08d57;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: bold;
  z-index: 2;
}

.badge.verde  { background: #3e7d5a; }
.badge.dorado { background: #b08d57; }
.badge.oscuro { background: #444; }
.badge.rosa   { background: #c2547a; }
.badge.vino   { background: #7b2d42; }

/* ================= EXPERIENCIA FINAL ================= */
.eventos-experiencia {
  background: linear-gradient(135deg, var(--verde), #2e463a);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.eventos-experiencia h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.eventos-experiencia p {
  font-size: 1.1rem;
  opacity: .9;
}

.btn-eventos {
  margin-top: 35px;
  display: inline-block;
  padding: 16px 45px;
  background: #fff;
  color: var(--verde);
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 15px 30px rgba(0,0,0,.35);
  transition: transform .3s ease;
}

.btn-eventos:hover {
  transform: translateY(-4px);
}

/* ================= ANIMACIONES ================= */
@keyframes flotar {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ===== FOOTER ===== */
footer {
  background-color: #4e3620;
  color: #f5f0e1;
  padding: 20px;
}

.footer-contenido { text-align: center; }

.footer-columna {
  display: inline-block;
  width: 22%;
  vertical-align: top;
  margin: 10px;
  text-align: left;
}

.footer-columna h3 { color: #c89b3c; margin-bottom: 8px; }
.footer-columna a  { color: #f5f0e1; text-decoration: none; }
.footer-columna a:hover { color: #c89b3c; }

.footer-final {
  text-align: center;
  border-top: 1px solid #c89b3c;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 14px;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

/* -------- TABLET / LAPTOP (≤ 1024px) -------- */
@media (max-width: 1024px) {

  header {
    height: 70px;
    padding: 0 20px;
  }

  body { padding-top: 70px; }

  .barra-navegacion {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .logo { height: 54px; }

  /* Mostrar hamburguesa */
  .btn-hamburguesa-nav { display: flex; align-items: center; }

  /* Ocultar menú por defecto */
  nav.menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    padding: 6px 0 14px 0;
    z-index: 990;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    gap: 0;
  }

  nav.menu.abierto { display: flex; }

  nav.menu > a {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 15px;
    border-bottom: 1px solid #f0e8de;
  }

  nav.menu > a:hover,
  nav.menu > a.activo {
    background-color: #6b4e32;
    color: #fff;
    border-radius: 0;
  }

  nav.menu .submenu { width: 100%; }

  nav.menu .submenu > a {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 15px;
    border-bottom: 1px solid #f0e8de;
    color: #6b4e32;
    font-weight: bold;
    text-decoration: none;
  }

  nav.menu .submenu:hover .submenu-contenido { display: none; }
  nav.menu .submenu.activo .submenu-contenido { display: block; }

  nav.menu .submenu-contenido {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: #faf6f1;
    min-width: 100%;
  }

  nav.menu .submenu-contenido a {
    padding: 12px 44px;
    border-bottom: 1px solid #ede6dc;
    font-size: 14px;
  }

  /* Hero en columna */
  .hero-artistico {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 6%;
    min-height: auto;
    gap: 30px;
  }

  .hero-imagen img {
    height: 380px;
    animation: none; /* sin flotar en móvil para mejor UX */
  }

  .hero-imagen::after { display: none; }

  .hero-texto p { max-width: 100%; }

  /* Iconos */
  .eventos-iconos { gap: 15px; padding: 40px 15px; }
  .eventos-iconos div { padding: 12px 18px; font-size: .95rem; }

  /* Grid */
  .eventos-grid { padding: 50px 5%; gap: 30px; }

  /* Footer */
  .footer-columna { width: 45%; }

  /* Redes */
  .redes { right: 10px; bottom: 80px; gap: 10px; }
  .redes a img { width: 34px; height: 34px; }
  .wa-box { right: 55px; bottom: 80px; width: 260px; }
}

/* -------- MÓVIL (≤ 768px) -------- */
@media (max-width: 768px) {

  .hero-texto h1 { font-size: 2.2rem; }
  .hero-texto p  { font-size: 1rem; }

  .hero-imagen img { height: 280px; }

  .eventos-grid {
    grid-template-columns: 1fr;
    padding: 40px 5%;
    gap: 25px;
  }

  .evento-card img { height: 220px; }

  .eventos-experiencia { padding: 70px 20px; }
  .eventos-experiencia h2 { font-size: 1.9rem; }

  .footer-columna { width: 100%; text-align: center; margin: 8px 0; }

  .redes { right: 8px; bottom: 50px; }
  .redes a img { width: 30px; height: 30px; }
  .wa-box { right: 48px; bottom: 50px; width: 240px; }
}

/* -------- MÓVIL PEQUEÑO (≤ 480px) -------- */
@media (max-width: 480px) {

  .hero-texto h1 { font-size: 1.8rem; }
  .hero-imagen img { height: 220px; }

  .eventos-iconos div { font-size: .85rem; padding: 10px 14px; }

  .evento-info h2 { font-size: 1.4rem; }
  .evento-info { padding: 20px; }

  .btn-principal,
  .btn-eventos { padding: 13px 28px; font-size: 14px; }

  footer { padding: 15px 10px; }
  .footer-columna { font-size: 13px; }
  .footer-final { font-size: 12px; }

  .redes { right: 6px; bottom: 30px; }
  .redes a img { width: 26px; height: 26px; }
  .wa-box { right: 42px; bottom: 30px; width: 230px; }
}