/* style.css */

html {
  scroll-behavior: smooth;
}

:root {
  --dark-bg: #121212;
  --card-bg: #1e1e1e;
  --border-color: #333;
  --white: #fff;
  --font: "Poppins", sans-serif;
  --hero-font: "Anton", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* ——— Botón Waze ——— */
.btn-waze {
  background: #33ccff; /* azul Waze */
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
/* Invitados Especiales */
#invitados {
  padding-top: 3rem;
}

#invitados .guest-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

#invitados .guest-logos img {
  max-width: 180px;
  height: auto;
}
.btn-waze:hover {
  background: #28aacc;
}

.btn-waze i {
  font-size: 1.2rem; /* tamaño del icono */
}
body {
  background: var(--dark-bg);
  color: var(--white);
  font-family: var(--font);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 0;
  height: 130px;
}

/* nav-container */
.nav-container {
  position: relative;
  display: flex;
  align-items: flex-start; /* desktop: items al tope */
  justify-content: space-between;
  padding: 2rem 1rem; /* 1rem a cada lado */
  margin-right: 30px;
}

/* Logo */
.logo img {
  height: 180px;
  margin-top: -80px;
  margin-left: -30px;
}

/* Hamburger (desktop) */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--white);
}

/* Navegación desktop */
nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav a {
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  position: relative;
  top: -3px;
}

/* Hero */
.hero {
  position: relative;
  background: url("./imgs/HeroC.png") center/cover no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero h1 {
  position: relative;
  top: -10px; /* sube un poco el título */
  font-family: var(--hero-font);
  color: var(--white) !important;
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: clamp(0.3rem, 2vw, 1rem);
  text-transform: uppercase;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-desc {
  position: relative;
  top: -5px; /* ajusta para acercar al título */
  margin: 0 1rem;
  max-width: 800px;
  color: var(--white);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  text-align: center;
  z-index: 1;
}

/* Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  text-align: center;
  color: var(--white);
  margin-bottom: 2rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.card h3,
.card p {
  color: var(--white);
}

/* Call to action */
.cta {
  display: flex;
  justify-content: center;
}
/* ——— Ajustes en la sección “¿Cuándo y Dónde será?” ——— */
#ubicacion .card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#ubicacion .card .btn-waze {
  margin-top: 1.5rem;
}
.btn {
  background: var(--white);
  color: var(--dark-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

/* Footer */
footer {
  background: var(--dark-bg);
  text-align: center;
  padding: 2rem;
}

.socials a {
  color: var(--white);
  margin: 0 0.5rem;
  font-size: 1.5rem;
}

/* Mobile */
@media (max-width: 768px) {
  header.scrolled {
    background: rgba(0, 0, 0, 0.6) !important; /* menos opaco */
    padding: 0 0 !important; /* mitad de altura */
  }
  header {
    padding: 0 0;
    height: 100px;
  }

  .nav-container {
    align-items: center; /* logo y hamburguesa centrados verticalmente */
    padding: 0 1rem;
    margin-right: 0; /* sin desplazamiento */
  }

  .logo img {
    height: 120px;
    margin-top: -20px;
    margin-left: -40px;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-size: 2.4rem;
    color: var(--white);
    cursor: pointer;
  }

  /* Menú desplegable móvil: baja todavía más para despejar logo */
  nav ul {
    position: absolute;
    top: 110px; /* bajo el header y logo */
    left: 50%;
    transform: translateX(-50%);
    width: clamp(260px, 80%, 320px);
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: max-height 0.4s ease-in-out;
  }

  nav ul.active {
    max-height: 500px; /* altura suficiente para todos los enlaces */
  }

  nav ul li {
    margin: 0.5rem 0;
    text-align: center;
  }

  nav ul a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.2rem;
    color: var(--white);
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }
}
/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 200;
  text-decoration: none;
  transition: background 0.2s ease;
}

.whatsapp-float:hover {
  background: #1eb954;
}

/* —— Play button más grande y con ondas —— */
.play-btn {
  position: relative;
  z-index: 2; /* encima de la superposición */
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 7rem; /* antes era 4rem */
  height: 7rem; /* antes era 4rem */
  font-size: 2.5rem; /* antes era 2rem */
  color: #121212;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: visible;
}

/* Círculos de onda */
.play-btn::before,
.play-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: ripple 1.8s infinite;
}

.play-btn::after {
  animation-delay: 0.9s;
}

/* Animación ripple */
@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

/* Hover opcional para intensificar */
.play-btn:hover {
  background: #fff;
}

/* —— Modal de vídeo —— */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  background: #000;
  border-radius: 8px;
  max-width: 90%;
  max-height: 80%;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1;
}

/* Vídeo vertical más grande */
.video-wrapper {
  width: 70vw; /* antes 60vw */
  max-width: 450px; /* antes 360px */
  margin: 0 auto;
  position: relative;
  padding-bottom: 177.78%; /* ratio 9:16 */
  height: 0;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* —— Navegación oscura y más delgada al hacer scroll —— */
header {
  transition: background 0.3s ease, padding 0.3s ease;
}
header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    padding: 0.5rem 0;   /* Reduce el alto a 0.5rem arriba y abajo */
  }
