/* styles.css */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: #fff
}

img.mobile{
    display: none;
}

img.desktop{
    display: block;
}

* {
  box-sizing: border-box;
}

header {
    position: fixed;
    width: 100%;
    background: #0058b1;
    backdrop-filter: blur(10px);
    z-index: 1000
}

.nav {
    display: flex;
    justify-content: space-between;
    padding: 0px 10px;
    align-items: center;
}

.nav img{
    height: 60px;
    padding-top: 5px;
}

.lang{
    border-left: solid 2px white;
}

.menu {
    display: flex;
    gap: 0px;
    align-items: center;
}

.menu a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    padding: 15px 25px;
}

.toggle {
    display: none
}

.toggle img{
    width: 50px;
    height: auto;
    margin-top: 5px;
    margin-right: 15px;
}



/* CSS ELEGANTE PARA TIMELINE */
.timeline{
  position:relative;
  margin:40px 0;
  padding-left:0px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* espacio entre items */
}

.timeline::before{
  content:'';
  position:absolute;
  left:20px;
  top:0;
  bottom:0;
  width:4px;
  border-radius:2px;
}
.timeline-item{
  position:relative;
  padding: 10px 20px;
  max-width: 1100px;
  background:white;
  border-radius:15px;
  transition:transform 0.3s, box-shadow 0.3s;
  cursor:default;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.time{
  font-weight:700;
  font-size:18px;
  color:#e63946;
  margin-bottom:5px;
}
.event{
  color:#fff;
  font-size:16px;
  line-height:1.5;
}

.timeline-item {
  display: none;
}
.timeline-item.semivisible {
  display: block;
  opacity: 0.3;
}

.timeline-item.visible {
  display: block;
  opacity: 1;
}



/* HERO ULTRA PREMIUM */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-image: url(img/hero.jpg);
    background-size: cover;
    background-position: center center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.3);
}

/* opcional: mejora transición cuando carga */
.hero-video {
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-video.loaded {
  opacity: 1;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.5);
    animation: zoomHero 20s infinite alternate
}



.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px
}

.hero-title {
    font-size: 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInDown 2s ease-in-out;
    margin: 0px 10px;
}
.hero img{
    width: 60px;
}

h2{
    text-align: center;
    text-transform: uppercase;
    font-size: 35px;
    line-height: 39px;
    font-weight: 300;
}

h2 strong{
    font-weight: 700;
}

.teams {
    display: flex;
    align-items: center;
    gap: 50px
}

.team img {
    transition: transform 0.5s
}

.team img:hover {
    transform: scale(1.2) rotate(5deg)
}

.vs {
    font-size: 36px;
    font-weight: 700
}

.countdown {
  display: flex;
  gap: 20px;
}

.countdown div {
  text-align: center;
}

.countdown span {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.countdown p {
  margin: 0;
  font-size: 0.8rem;
}

.hero-btn {
    padding: 15px 40px;
    background: #0058b1;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.4s
}

.hero-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #0058b1
}

.negative-btn {
    padding: 15px 40px;
    background: white;
    border-radius: 50px;
    text-decoration: none;
    color: #0058b1;
    font-weight: 600;
    transition: 0.4s;
    margin: auto;
    display:block;
    width: 350px;
    text-align: center;
}

.negative-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px white
}

.positive-btn {
    padding: 15px 40px;
    background: #0058b1;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.4s;
    margin: auto;
    display:block;
    width: 350px;
    text-align: center;
}

.positive-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #0058b1
}

button{
    font-size: 16px;
}

.botones{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding-top: 50px;
}

.botones .negative-btn{
    margin: inherit;
}

.section {
    padding: 50px 20px;
    max-width: 100%;
    margin: auto
}

img#plano{
    width: 100%;
    max-width: 1300px;
    margin: auto;
    border: solid 1px white;
    border-radius: 15px;
}

.fancards{
    max-width: 1300px;
    margin: auto;
    width: 100%;
}

.dark {
    background: #111
}

#faq{
    background: white;
    color: #0058b1;
}

#faq a{
    color: white;
}

/* Ajuste de cards a 3 columnas */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    transition: 0.4s;
    color: #0058b1;
    text-align: center;
}

.card img{
    width: 50px;
}

.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5)
}

.map  {
  margin-bottom: 50px;
}

.we-item {
    margin: 15px 0;
    padding: 15px;
    border-left: 3px solid #0058b1
}

.reveal.colab{
    background: black;
}

.sponsor-logos {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap
}

.sponsor-logos img {
    transition: 0.4s;
    width: 22%;
    max-width: 22%;
}


.colab-logos img {
    transition: 0.4s;
    width: 15%;
    max-width: 15%;
}
.sponsor-logos img:hover {
    transform: scale(1.2)
}


.tienda img{
    width: 100%;
    margin: auto;
}

#turismo{
    background: #0058b1;
}

footer {
    text-align: center;
    background: #000
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 1s;
    background: #0058b1;
}

.owl-nav{
    display: flex;
    justify-content: center;
}

.owl-nav button span{
    font-size: 50px;
    line-height: 30px;
    padding: 10px 25px;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0)
}

.owl-item a{
    color: white;
    text-decoration: none;
}

/* CSS ELEGANTE PARA wE */
.we{
  display:flex;
  flex-direction:column;
  position:relative;
  margin:40px 0;
  padding-left:40px;
}
.we::before{
  content:'';
  position:absolute;
  left:20px;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(to bottom, white, #f1faee);
  border-radius:2px;
}
.we-item{
  position:relative;
  margin-bottom:10px;
  padding:10px 20px;
  background: white;
  border-radius:15px;
  transition:transform 0.3s, box-shadow 0.3s;
  cursor:default;
}
.we-item:hover{
  transform:translateX(10px);
  box-shadow:0 10px 30px rgba(0,0,0,0.5);
}
.time{
  font-weight:700;
  font-size:18px;
  color:#0058b1;
  margin-bottom:5px;
}
.event{
  color:#0058b1;
  font-size:16px;
  line-height:1.5;
}

footer img{
    width: 100%;
}

/* Flecha grande y elegante */
.scroll-arrow {
  position: absolute; /* dentro del hero */
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  animation: bounce 2s infinite;
  z-index: 10;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.scroll-arrow:hover {
  opacity: 1;
}

/* Rebote suave */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-15px); }
  60% { transform: translateX(-50%) translateY(-7px); }
}

/* Escalar el SVG */
.scroll-arrow svg {
  display: block;
  width: 60px;
  height: 60px;
  filter: drop-shadow(0px 2px 6px rgba(0,0,0,0.4));
}

.video-trigger {
  position: relative;
  cursor: pointer;
  max-width: 600px;
  margin: auto;
}

.video-trigger img {
  width: 100%;
  border-radius: 15px;
  display: block;
}

.play-button {
  color: white;
  font-size: 40px;
  padding: 5px 0px 25px 0px;
  border-radius: 50%;
  transition: 0.3s;
}

.play-button img{
    width: 45px;
}

.play-button:hover {
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
}

.modal iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

@media(max-width:768px){
  .we{padding-left:20px}
  .we-item{margin-left:10px;}
}

/* KELER */

.keler {
  width: 100%;
  overflow: hidden;
}

.keler-video {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Styles */
.faq-container{display:flex;flex-direction:column;gap:15px;max-width:800px;margin:30px auto}
.faq-item{background:#0058b1;border-radius:12px;overflow:hidden;box-shadow:0 5px 15px rgba(0,0,0,0.3);}
.faq-question{width:100%;background:#0058b1;color:white;border:none;padding:18px 25px;text-align:left;font-size:18px;font-weight:600;cursor:pointer;transition:background 0.3s}
.faq-question:hover{background:#3a3f55}
.faq-question.active{background:black;color:#fff}
.faq-answer{max-height:0;overflow:hidden;padding:0 25px;background:#1c2230;transition:max-height 0.4s ease, padding 0.4s ease;}
.faq-answer p{margin:15px 0;color:#ccc;line-height:1.6}

@media(max-width:768px){
  .faq-question{font-size:16px;padding:15px 20px}
  .faq-answer p{margin:12px 0}
}

@keyframes zoomHero {
    0% {
        transform: scale(1)
    }

    100% {
        transform: scale(1.05)
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px)
    }

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

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@media(max-width:768px) {

    img.desktop{
        display: none;
    }

    .desktop{
        display: none;
    }

    .team p{
        display: none;
    }

    img.mobile{
        display: block;
    }

    .teams {
        gap: 25px
    }

    .countdown{
        font-size: 28px;
    }

    .hero{
        align-items: flex-end;
        padding-bottom: 100px;
    }

    .negative-btn, .positive-btn {
    width: auto;
    font-size: 16px;
    line-height: 18px;

}

.lang{
    border: none;
}

    .hero-title {
        font-size: 27px
    }

    .hero-btn {
        padding: 12px 25px
    }

    .hero img{
        width: 50px;
    }

    .menu {
        display: none;
        flex-direction: column;
        background: #0058b1;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        height: calc(100vh - 60px);
        padding: 20px;
        padding-top: 5cap;
        z-index: 999;
        font-size: 25px;
        line-height: 40px;
        text-align: left;
        align-items: flex-start;
        overflow-y: scroll;
        padding-bottom: 150px;
    }

    .menu a{
        border-bottom: solid 0.5px white;
        width: 100%;
    }

    .menu a:last-child{
        border-bottom: none;
    }

    .menu.active {
        display: flex
    }

    .toggle {
        display: block
    }

    .event{
  color:#0058b1;
  font-size:14px;
  line-height:1.2;
}

.timeline{
    gap: 10px;
}
.timeline-item{
    padding: 10px 10px;
    border-radius: 10px;
}

     .card, .cards{
        width: 100%;
        position: relative;
    }

    .card{
       overflow-wrap: break-word;
        min-width: 0;
    }

    .cards{
        gap: 25px;
        grid-template-columns: minmax(0, 1fr);
    }

    .sponsor-logos img {
    transition: 0.4s;
    width: 40%;
    max-width: 40%;
}
.colab-logos img {
    transition: 0.4s;
    width: 25%;
    max-width: 25%;
}

}