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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #0f2e2b; 
  color: #e6f2ef;
  line-height: 1.6;
}



.hero {
  position: relative;
  height: 100dvh;       
  max-height: 100vh;     
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* VIDEO DE FONDO */
.hero-video {
  position: absolute;
  inset: 0;             
  width: 100%;
  height: 100%;
  object-fit: cover;     
  object-position: center center; 
  z-index: 0;
  opacity: 0.9;        
}

/* CONTENIDO ENCIMA DEL VIDEO */
.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  backdrop-filter: none;  
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #b8f3d6; 
  letter-spacing: 2px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4); 
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #d7f5eb;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-date {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  opacity: 0.85;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* BOTÓN DESCARGA */
.download-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.5rem;
  background-color: #0f2e2b;
  color: #b8f3d6;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
}

.download-btn:hover {
  background-color: #0c251f;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) { 
  .hero-video {
    object-position: center top; 
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) { /* móviles */
  .hero-video {
    object-position: center top;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-date {
    font-size: 0.85rem;
  }

  .download-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}
.section.about {
  display: flex;
  align-items: flex-start;        
  gap: 20px;           
}

.about-content {
  flex: 1;                 
}

.about-image img {
  width: 250px;          
  height: 250px;            
  object-fit: cover;       
  border-radius: 15px;      
  display: block;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 600px) {
  .section.about {
    flex-direction: column;
    align-items: center;
  }

  .about-image img {
    width: 80%;             
    height: auto;           
  }
}

.festhome-steps {
  position: relative;
  padding: 6rem 2rem;
 
}

.steps-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Línea vertical central */
.steps-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #b8f3d6;
  transform: translateX(-50%);
  opacity: 0.4;
}

/* Cada paso */
.step {
  position: relative;
  width: 50%;
  padding: 2rem 3rem;
}

/* Alternar izquierda/derecha */
.step:nth-child(odd) {
  left: 0;
  text-align: right;
}

.step:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* Número circular */
.step-number {
  position: absolute;
  top: 2rem;
  left: 100%;
  transform: translate(-50%, 0);
  width: 45px;
  height: 45px;
  background-color: #b8f3d6;
  color: #0f2e2b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
}

/* Ajuste para pasos de la derecha */
.step:nth-child(even) .step-number {
  left: 0;
  transform: translate(-50%, 0);
}

/* Contenido */
.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #b8f3d6;
}

.step-content p {
  font-size: 0.95rem;
  color: #d7f5eb;
  opacity: 0.85;
}

/* ============================= */
/* ========= RESPONSIVE ======== */
/* ============================= */

@media (max-width: 900px) {

  .steps-wrapper::before {
    left: 25px;
  }

  .step {
    width: 100%;
    padding-left: 4rem;
    padding-right: 1rem;
    margin-bottom: 3rem;
    text-align: left !important;
  }

  .step:nth-child(even),
  .step:nth-child(odd) {
    left: 0;
  }

  .step-number {
    left: 25px !important;
    transform: translate(-50%, 0);
  }
}
.section {
  padding: 5rem 10%;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #9fe0c3;
  position: relative;
}

.section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #6ec7a7;
  display: block;
  margin-top: 0.5rem;
}

.section p {
  max-width: 700px;
  font-weight: 300;
  color: #e1f0eb;
}


.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: rgba(184, 243, 214, 0.08);
  border: 1px solid rgba(184, 243, 214, 0.15);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card h3 {
  color: #b8f3d6;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.95rem;
  opacity: 0.9;
}


.gallery-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}


/* --------------------
   FOOTER
-------------------- */
.footer {
  padding: 2.5rem 1rem;
  text-align: center;
  background: #0b2422;
  font-size: 0.85rem;
  color: #a8d8c5;
}


@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .section {
    padding: 4rem 6%;
  }
}

/* --------------------
   NAVBAR
-------------------- */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 36, 34, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184,243,214,0.15);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: #b8f3d6;
  letter-spacing: 1px;
}

/* menú */

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #d7f5eb;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: #6ec7a7;
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: #b8f3d6;
}

/* hamburger */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #b8f3d6;
  transition: 0.3s;
}

/* móvil */

@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(11,36,34,0.98);
    flex-direction: column;
    width: 200px;
    text-align: center;
    padding: 1.5rem 0;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: 0.4s ease;
    border-left: 1px solid rgba(184,243,214,0.1);
  }

  .nav-menu.active {
    transform: translateX(0);
  }
}



body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(110,199,167,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(184,243,214,0.12), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(120,255,210,0.08), transparent 60%);
  animation: nebulaMove 18s linear infinite alternate;
  z-index: -1;
}

@keyframes nebulaMove {
  from { transform: translateY(-20px) scale(1); }
  to { transform: translateY(20px) scale(1.05); }
}


.about-hero {
  height: 60vh;
  background:
    linear-gradient(rgba(15,46,43,0.7), rgba(15,46,43,0.9)),
    url("images/about-hero.jpg");
  background-size: cover;
  background-position: center;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.about-hero h1 {
  font-size: 3rem;
  color:#b8f3d6;
  text-shadow: 0 0 20px rgba(184,243,214,0.4);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px rgba(184,243,214,0.2); }
  to { text-shadow: 0 0 25px rgba(184,243,214,0.6); }
}


.split {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:3rem;
  align-items:center;
  margin-top:3rem;
}

.split img {
  width:100%;
  border-radius:18px;
  transition:0.6s;
  filter:brightness(0.9) contrast(1.05);
}

.split img:hover {
  transform: scale(1.04);
  filter:brightness(1.05);
  box-shadow:0 0 40px rgba(184,243,214,0.25);
}

.split-text h2 {
  color:#9fe0c3;
  margin-bottom:1rem;
}


.timeline {
  margin-top:5rem;
  border-left:2px solid rgba(184,243,214,0.2);
  padding-left:2rem;
}

.timeline-item {
  margin-bottom:3.5rem;
  position:relative;
  padding-left: 2.5rem; 
}

.timeline-item::before {
  content:"";
  position:absolute;
  left:-11px;
  top:4px;
  width:18px;
  height:18px;
  background:#6ec7a7;
  border-radius:50%;
  box-shadow:0 0 15px rgba(110,199,167,0.7);
}

.timeline-item h3 {
  color:#b8f3d6;
}
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
  border-radius: 12px; 
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* responsive */
@media(max-width:768px){
  .split{
    grid-template-columns:1fr;
  }
  .about-hero h1{
    font-size:2.2rem;
  }
}

/* =========================
   BOTÓN DESCARGA HERO
========================= */

.download-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f2e2b;
  background: linear-gradient(135deg,#b8f3d6,#6ec7a7);
  border-radius: 40px;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: 0.35s;
  box-shadow: 0 0 15px rgba(184,243,214,0.4);
}

/* brillo animado */
.download-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.6),
    transparent 70%
  );
  transform: translateX(-100%);
  transition: 0.6s;
}

.download-btn:hover::before {
  transform: translateX(100%);
}

.download-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 25px rgba(184,243,214,0.7);
}

.download-btn:active {
  transform: scale(0.97);
}

.card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.card:nth-child(2){
  animation-delay: 0.2s;
}

@keyframes fadeUp {
  to {
    opacity:1;
    transform:translateY(0);
  }
}

.nav-decor{
  position:absolute;
  left:2px;
  top:50%;
  transform:translateY(-50%);
  height:28px;
  width:auto;
  opacity:0.95;
  pointer-events:none;

  filter:
    drop-shadow(0 0 4px rgba(184,243,214,0.6))
    drop-shadow(0 0 10px rgba(110,199,167,0.5));

  animation: decorGlow 3s ease-in-out infinite alternate;
}

/* animacion brillo */
@keyframes decorGlow{
  from{
    filter:
      drop-shadow(0 0 3px rgba(184,243,214,0.4))
      drop-shadow(0 0 6px rgba(110,199,167,0.3));
  }
  to{
    filter:
      drop-shadow(0 0 10px rgba(184,243,214,0.9))
      drop-shadow(0 0 20px rgba(110,199,167,0.8));
  }
}


.nav-container{
  position:relative;
  padding-left:40px;
}


@media(max-width:768px){
  .nav-decor{
    height:22px;
  }

  .nav-container{
    padding-left:32px;
  }
}
/* contenedor navbar */
.nav-container{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end; 
}

/* LOGO CENTRADO */
.logo{
  position:absolute;
  left:50%;
  transform:translateX(-50%) scale(1.2);
  font-weight:700;
  font-size:1.6rem;
  color:#b8f3d6;
  text-decoration:none;
  letter-spacing:1px;
  z-index:10;
}


.nav-decor{
  position:absolute;
  left:8px;
  top:50%;
  transform:translateY(-50%);
  width:auto;
  height: clamp(16px, 3vw, 30px);
  pointer-events:none;
  opacity:0.9;

  filter:
    drop-shadow(0 0 4px rgba(184,243,214,0.6))
    drop-shadow(0 0 10px rgba(110,199,167,0.5));

  animation: decorGlow 3s ease-in-out infinite alternate;
}


@keyframes decorGlow{
  from{
    filter:
      drop-shadow(0 0 3px rgba(184,243,214,0.4))
      drop-shadow(0 0 6px rgba(110,199,167,0.3));
  }
  to{
    filter:
      drop-shadow(0 0 12px rgba(184,243,214,0.9))
      drop-shadow(0 0 22px rgba(110,199,167,0.8));
  }
}

.section.about {
  display: block;        
}

.section.about h2,
.section.about p {
  display: block;        
  width: 100%;         
}

.about-image {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: -420px;     
  padding-right: 200px;   
}

.about-image img {
  max-width: 100%;
  height: auto;
}

/* 📱 MODO MÓVIL */
@media (max-width: 768px) {
  .about-image {
    margin-top: 0;        
    padding-right: 0;     
    justify-content: center; 
  }

  .about-image img {
    max-width: 80%;       
  }
}



.card-demo {
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  font-family: 'Montserrat', sans-serif; 
}

.card-demo .cards-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Cartas grandes */
.card-demo .card {
  width: 480px;
  height: 550px;
  perspective: 1000px;
  cursor: pointer;
}

.card-demo .card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

.card-demo .card.flipped .card-inner {
  transform: rotateY(180deg);
}


.card-demo .card-front,
.card-demo .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.card-demo .card-front img,
.card-demo .card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-demo .card-back {
  transform: rotateY(180deg);
}

/* Texto debajo de las cartas */
.card-demo .card-demo-text {
  text-align: center;
  font-size: 15px;
  color: #f9f9f9;
  margin-top: 20px;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 600px) {
  .card-demo .card {
    width: 240px;
    height: 350px;
  }
}


.about-hero {
  position: relative; 
}

.hero-monigote {
  position: absolute;
  top: 80%;           
  right: 15%;         
  transform: translateY(-50%);
  width: 200px;       
  height: auto;
  object-fit: contain;
  border-radius: 0;   
  filter: drop-shadow(0 0 15px rgba(184,243,214,0.5));
  transition: transform 0.3s ease;
  pointer-events: none;
}

.about-hero:hover .hero-monigote {
  transform: translateY(-50%) scale(1.05) rotate(-2deg);
}


@media(max-width:768px){
  .hero-monigote {
    width: 90px;  
    right: 3%;    
    top: 55%;     
  }
}

.split-text ul {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
}

.split-text li {
  margin-bottom: 0.4rem;
}

/* ===== BOTÓN FESTHOME ===== */
.feste-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f2e2b;
  background: linear-gradient(135deg,#b8f3d6,#6ec7a7);
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: 0.35s;
  box-shadow: 0 0 18px rgba(184,243,214,0.45);
}

.feste-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.7),
    transparent 70%
  );
  transform: translateX(-100%);
  transition: 0.7s;
}

.feste-btn:hover::before {
  transform: translateX(100%);
}

.feste-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 0 30px rgba(184,243,214,0.8);
}

.feste-btn:active {
  transform: scale(0.96);
}

@media(max-width:768px){
  .feste-btn{
    width:100%;
    text-align:center;
    padding:1rem;
  }
}

/* contenedor centrado */
.btn-center{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:2.5rem;
  width:100%;
}

/* responsive extra */
@media(max-width:768px){
  .btn-center{
    padding:0 1rem;
  }
}



/* Icono + texto en footer */
.footer-social {
  display: inline-flex;       
  align-items: center;
  margin-top: 1rem;
  gap: 0.5rem;               
  color: #b8f3d6;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;       
}

.footer-social span {
  font-size: 0.95rem;
}

.footer-social:hover {
  color: #6ec7a7;
  transform: scale(1.1);
}


.footer-location a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;        
  color: #b8f3d6;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-location a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-location a span {
  font-size: 0.95rem;
}

.footer-location a:hover {
  color: #6ec7a7;
  transform: scale(1.05);
}

.footer {
  position: relative; 
  padding: 2rem;      
  
}

.footer {
  position: relative;
  padding: 2rem;
  overflow: hidden; 
}



/* Brillo suave */
@keyframes shine {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}

/* Columpio suave */
@keyframes swing {
  0%   { transform: rotate(-7deg); }
  50%  { transform: rotate(7deg); }
  100% { transform: rotate(-7deg); }
}


@media (max-width: 768px) {
  .footer-decor {
    right: auto;      
    left: 5%;         
    width: 25%;       
    max-width: 150px; 
  }
}
/* Logo container */
.nav-container .logo img {
  max-height: 50px; 
  width: auto;     
  display: block;
  margin: 0 auto;   
}

@media (max-width: 768px) {
  .nav-container .logo img {
    max-height: 40px;
  }
}

/* ===== BLOQUE EXTRA FESTIVAL ===== */
.festival-extra {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end; 
}

.festival-extra-content {
  display: flex;
  align-items: center; 
  gap: 20px;
  max-width: 750px;
  text-align: right;
}

.festival-extra-img {
  width: 180px;
  height: auto;
  border-radius: 8px;
  order: 2; 
}

.festival-extra-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
  order: 1;
}

/* Responsive */
@media (max-width: 600px) {
  .festival-extra {
    justify-content: center; 
  }

  .festival-extra-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .festival-extra-img {
    order: 0;
    width: 100%;
    max-width: 320px;
  }
}


.icono-fechas {
  width: clamp(105px, 12vw, 135px);
  height: auto;
}
.titulo-fechas {
  border: none !important;
}

.titulo-fechas::before {
  display: none !important;
  content: none !important;
}
html, body {
  overflow-x: hidden;
}


.about-hero {
  position: relative;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 60px;
}
.liana {
  position: absolute;
  top: -60px;              
  left: 60%;               
  transform: translateX(-50%);
  width: 330px;            
  z-index: 1;              
  pointer-events: none;
}


.Columpio {
  position: absolute;
  top: 10px;
  left: 76%;
  transform: translateX(-50%);
  width: 340px;
  max-width: 40vw;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
  animation: swing 4.5s ease-in-out infinite;
}

@keyframes swing {
  0%   { transform: translateX(-50%) translateY(0px) rotate(-5deg); }
  50%  { transform: translateX(-50%) translateY(6px) rotate(5deg); }
  100% { transform: translateX(-50%) translateY(0px) rotate(-5deg); }
}


.about-hero h1 {
  position: relative;
  z-index: 2;      
}



.steps-decoration { 
  position: absolute; 
  top: 0; right: 0; 
  width: 100px;  
  height: auto; 
  pointer-events: none; 
  opacity: 0.9; 
 }

.steps-decoration {
  position: static; 
  display: block; 
  margin: 1rem auto 0; 
  width: 150px;  
} 

.video-wrapper {
  max-width: 540px;    
  margin: 20px auto;    
}

.video-wrapper video {
  width: 100%;
  height: auto;
  border-radius: 10px;  
  display: block;
}
