@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Bold.woff2') format('woff2'),
        url('fonts/Gotham-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AGRESSIVE';
    src: url('fonts/AGRESSIVE.woff2') format('woff2'),
        url('fonts/AGRESSIVE.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UnisonPro';
    src: url('fonts/UnisonPro-Bold.woff2') format('woff2'),
        url('fonts/UnisonPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Norwester';
    src: url('fonts/Norwester-Regular.woff2') format('woff2'),
        url('fonts/Norwester-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad-Pro';
    src: url('fonts/MyriadPro-Regular.woff2') format('woff2'),
        url('fonts/MyriadPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.woff2') format('woff2'),
        url('fonts/Roboto-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'montserrat';
    src: url('fonts/Montserrat-SemiBold.woff2') format('woff2'),
        url('fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Roboto';
    font-weight: normal;
    overflow-x: hidden;
}

.header {
    background-image: url('../images/acafut-portada_1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding-top: 20px;
}

.portada {
    padding: 180px 10px;
}

.portada-img {
    padding-top: 10px!important;
    width: 75%;
}

.hero-title {
    font-size: 80px;
    line-height: 70px;
    color: #FFFFFF;
}

.header a{
    color: #FFFFFF;
}

.header a:hover {
    color: #ea3d4e;
}

.header img {
    padding-top: 50px;
}

.introduccion {
    background-image: url('../images/intro-acafut-bg.png');
    background-position: center;
    background-repeat: no-repeat;
}

.introduccion h3 {
    color: #ea3d4e;
}

.btn-danger {
    background-color: #EA3D4E;
    border: #EA3D4E;
}

.card-img-overlay {
    top: unset;
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 2px solid #FFFFFF;
    opacity: 1;
}

/*estilos de video*/

.hero {
    position: relative;
    border-radius: 50px;
    height: 100vh; /* Ocupa todo el alto de la pantalla */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción sin estirar */
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Oscurece un poco el video para que el texto resalte */
    z-index: -1;
}

.content {
    position: relative;
    z-index: 1;
    color: white;
    width: 100%;
}
/*estilos de video*/

.contador {
    background-image: url('../images/acafut-envivo.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 20px;
    margin-top: 80px;
    margin-bottom: 80px;
}

.navbar a {
    color: #FFFFFF;
}

.hero img {
    padding-top: 50px;
}

.hero-tex {
    text-align: left;
}

.queesacafut {
    background-image: url('../images/que-esacafut-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0px;
}

.queesacafut h2 {
    font-family: 'UnisonPro';
    color: #ea3d4e;
    text-align: center;
}

.queesacafut h3 {
    font-family: 'Roboto';
    font-weight: bold;
    color: #ffffff;
    text-align: left;
}

.queesacafut p {
    color: #ffffff;
}

.photo-opportunity {
    background-color: #ea3d4e;
    border-radius: 25px;
    border: none;
}

.photo-opportunity h2{
    font-family: 'UnisonPro';
    color: #000000;
}

.photo-opportunity h3{
    font-family: 'Roboto';
    font-weight: bold;
    color: #ffffff;
}

.momentos-iconicos {
    background-color: #29397a;
    padding: 50px 0;
}

.momentos-iconicos .titulo{
    background-image: url('../images/momentos-titulo-bg.png');
    background-position: center;
    padding: 20px 0;
}

.momentos-iconicos h2{
    font-family: 'UnisonPro';
    color: #a4ce39;
    text-align: right;
}

.momentos-iconicos h3{
    font-family: 'Roboto';
    font-weight: bold;
    color: #ffffff;
}

.foto {
    position: absolute;
    width: 300px;
    right: 0;
}

/* El contenedor padre que se fijará */
#gallery-container {
  width: 100%;
  height: 100vh; /* Ocupa toda la pantalla */
  overflow: hidden; /* Oculta lo que está fuera de pantalla */
  background-color: #111;
  display: flex;
  align-items: center; /* Centra las imágenes verticalmente */
}

/* El contenedor interno que animaremos horizontalmente */
#gallery-inside {
  display: flex;
  flex-direction: row; /* Imágenes en fila */
  flex-wrap: nowrap;   /* ¡IMPORTANTE! No saltar de línea */
  height: 80%;         /* Altura de las imágenes */
}

/* Cada imagen o tarjeta */
.gallery-item {
  width: 80vw;         /* Ancho de cada imagen (puedes ajustarlo) */
  height: 100%;
  flex-shrink: 0;      /* ¡IMPORTANTE! No permite que las imágenes se encojan */
  margin: 0 5vw;       /* Espacio entre imágenes */
  background-color: #333;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  border-radius: 20px;
}

.contador {
    color: #ea3d4e;
    font-family: 'montserrat';
}

.contador .card {
    background: linear-gradient(to bottom,  #ea3d4e 0%,#ea3d4e 48%,#c82a3a 50%,#c82a3a 100%);
}

.contador h3 {
    font-family: 'Norwester';
    font-size: 3rem;
}

.localidades h2 {
    font-family: 'UnisonPro'!important;
    font-weight: bolder;
}

.localidades p {
    color: #ea3d4e;
}

.localidades h3 {
    color: #FFFFFF;
    background-color: #c6283f;
    font-family: 'Roboto';
    padding: 6px;
    border-radius: 10px;
    font-size: 22px;
}

.carrusel {
    background-color: #ea3d4e;
    border-radius: 20px;
    padding: 55px;
}

.owl-next span{
    position: absolute;
    right: 0;
    font-size: 100px;
    color: #FFF;
    top: 40%;
    margin-right: -35px;
    border-radius: 20px;
    width: 50px;
    height: 50px;
    content: url('../images/next-white.webp');
}

.owl-prev span{
    position: absolute;
    left: 0;
    font-size: 100px;
    color: #FFF;
    top: 40%;
    margin-left: -35px;
    border-radius: 20px;
    width: 50px;
    height: 50px;
    content: url('../images/prev-white.webp');
}

.owl-carousel .owl-item img {
    border-radius: 45px;
}

.letter-spacing {
    letter-spacing: 2px;
}

.pantallas h2 {
    font-family: 'UnisonPro'!important;
    font-weight: bolder;
}

.pantallas h2 > span {
    font-family: 'UnisonPro'!important;
    font-weight: bolder;
    color: #FFFFFF;
    background-color: #ea3d4e;
    border-radius: 10px;
    padding: 6px;
}

.pantallas p {
    color: #6d6e71;
}

b, strong {
    font-weight: bold;
}

.actividades h2 {
    font-family: 'UnisonPro'!important;
    font-weight: bolder;
}

.actividades h3 {
    color: #414042;
}

.actividades p {
    color: #414042;
}

.productos h2 {
    font-family: 'UnisonPro'!important;
    font-weight: bolder;
}

.productos p {
    color: #ea3d4e;
}

.my-carousel2 .owl-next span{
    position: absolute;
    right: 0;
    font-size: 100px;
    color: #000;
    top: 45%;
    margin-right: -35px;
    border-radius: 20px;
    width: 50px;
    height: 50px;
    content: url('../images/next-red.webp');
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

.my-carousel2 .owl-next span:hover{
    position: absolute;
    right: 0;
    font-size: 100px;
    color: #000;
    top: 45%;
    margin-right: -35px;
    border-radius: 20px;
    width: 50px;
    height: 50px;
    content: url('../images/next-red.webp');
    opacity: 1;
}

.my-carousel2 .owl-prev span{
    position: absolute;
    left: 0;
    font-size: 100px;
    color: #000;
    top: 45%;
    margin-left: -35px;
    border-radius: 20px;
    width: 50px;
    height: 50px;
    content: url('../images/prev-red.webp');
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

.my-carousel2 .owl-prev span:hover{
    position: absolute;
    left: 0;
    font-size: 100px;
    color: #000;
    top: 45%;
    margin-left: -35px;
    border-radius: 20px;
    width: 50px;
    height: 50px;
    content: url('../images/prev-red.webp');
    opacity: 1;
}

.productos .owl-carousel .owl-item img {
    border-radius: 0px;
}

.productos h5 {
    color: #ea3d4e;
}

.productos .card-text {
    color: #414042;
}

.productos .card {
    border-radius: 20px;
    border: solid 2px #FFFFFF;
}

.productos .card:hover {
    border-radius: 20px;
    border: solid 2px #ea3d4e;
}

.footer {
    background-color: #414042;
    padding: 20px;
    margin: 30px;
    border-radius: 20px;
}

.footer i{
    color: #ea3d4e;
}

.footer .input-group>.form-control, .input-group>.form-floating, .input-group>.form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    background-color: transparent;
    border: solid 1px #FFFFFF;
}

.input-group .btn {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    background-color: #ea3d4e;
    padding: 10px 20px;
}

.logo {
    height: 40px;
}

.btn-danger:hover {
    color: #FFFFFF!important;
    border: solid 2px #FFFFFF;
}

.UnisonPro {
    font-family: 'UnisonPro'!important;
}

.owl-stage-outer {
    padding: 0px 0px 40px 0px;

}

/* --- Estilos del Wizard para Bootstrap 5 --- */

.wizard {
    margin: 20px auto;
    background: #fff;
}

.wizard .nav-tabs {
    position: relative;
    margin: 40px auto;
    margin-bottom: 0;
    border-bottom-color: #e0e0e0;
    justify-content: center; /* Centra los pasos */
}

.wizard .wizard-inner {
    position: relative;
}

/* La línea que conecta los círculos */
.connecting-line {
    height: 2px;
    background: #e0e0e0;
    position: absolute;
    width: 70%; /* Ajusta según necesites */
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 50%;
    z-index: 1;
}

.wizard .nav-tabs > li.nav-item {
    z-index: 2;
    background: #fff; /* Para que la línea no pase por encima del círculo */
}

/* Estilo del círculo (enlace) */
span.round-tab {
    width: 70px;
    height: 70px;
    line-height: 70px;
    display: inline-block;
    border-radius: 100px;
    background: #fff;
    border: 2px solid #e0e0e0;
    color: #555;
    z-index: 2;
    position: relative;
    text-align: center;
    font-size: 25px;
    transition: all 0.3s ease;
}

/* Estado Activo y Hover */
.wizard .nav-link.active span.round-tab,
.wizard .nav-link:hover span.round-tab {
    background: #fff;
    border: 2px solid #dc3545; /* Rojo de tu marca */
    color: #dc3545;
}

/* Quitar bordes por defecto de Bootstrap en pestañas */
.wizard .nav-link {
    border: none !important;
    background: none !important;
}

/* Iconos dentro del círculo */
.wizard .nav-link i {
    transition: all 0.3s ease;
}

/* Estilos de los pasos (contenido) */
.wizard .tab-pane {
    position: relative;
    padding-top: 50px;
}

.wizard h3 {
    margin-top: 0;
    font-weight: bold;
}

/* Estilo para los botones en el wizard */
.wizard .btn-danger {
    padding: 10px 25px;
    border-radius: 30px;
}

/* Para ocultar los círculos deshabilitados un poco */
.wizard .nav-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wizard-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 50px;
    text-align: center;
}

.step-item {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* El círculo con el número */
.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #ccc;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

/* Texto debajo del círculo */
.step-item p {
    font-size: 16px;
    color: #444;
    line-height: 1.2;
}

/* La línea punteada */
.step-line {
    flex-grow: 0;
    width: 150px;
    height: 2px;
    border-top: 2px dotted #ccc;
    margin-top: 40px; /* Centrada con el círculo */
}

/* --- Estado Activo (Rojo) --- */
.step-item.active .step-circle {
    background-color: #f04e58; /* El rojo de tu imagen */
    border-color: #f04e58;
    color: white;
}

.step-item.active p {
    font-weight: 500;
}

/* Estado inactivo (Gris) */
.step-item .step-circle {
    background-color: #fff;
    border: 2px solid #ccc;
    color: #ccc;
}

.step-item p {
    color: #999; /* Texto gris para pasos no alcanzados */
}

/* Estado activo (Rojo - como la imagen) */
.step-item.active .step-circle {
    background-color: #f04e58;
    border-color: #f04e58;
    color: white;
}

.step-item.active p {
    color: #000;
    font-weight: bold;
}


/* Calendarios */

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Días circulares */
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.2s;
    border: 1px solid transparent;
}
.day:hover:not(.empty) { background: #f8f9fa; border-color: #dc3545; }
.active-event { background: #fff3f3; color: #dc3545; font-weight: bold; border: 1px dashed #dc3545; }
.active-day { background: #dc3545 !important; color: white !important; }
.day-name { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }

#event-details {
    transition: opacity 0.3s ease-in-out;
}

/* Estilo para los botones de navegación deshabilitados */
button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.day {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.active-event { border: 2px solid #dc3545; color: #dc3545; font-weight: bold; }
.active-day { background: #dc3545 !important; color: white !important; }

/* Estados del partido en la lista */
.match-item:hover, 
.match-item.selected-match {
    background-color: #dc3545 !important; /* Rojo */
}

.match-item:hover .match-title, 
.match-item.selected-match .match-title {
    color: #ffffff !important;
}

.match-item:hover .match-venue, 
.match-item.selected-match .match-venue {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Estilos del calendario (asegúrate de que existan) */
.day {
    cursor: pointer;
    padding: 10px;
    text-align: center;
    border: 1px solid #f8f9fa;
}

.active-event {
    background-color: #fff5f5;
    font-weight: bold;
    color: #dc3545;
    border-bottom: 2px solid #dc3545;
}

.active-day {
    background-color: #dc3545 !important;
    color: white !important;
}


.accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #EA3D4E;
}

.form-check-input:checked {
    background-color: #EA3D4E;
    border-color: #EA3D4E;
}

.pop {
    border-radius: 10px;
    padding: 5px 5px;
    color: #EA3D4E!important;
}

.rojo-acafut {
    color: #EA3D4E!important;
}

.timeline-images {
    margin-top: -30px;
    /* Permalink - use to edit and share this gradient. Enlace permanente - úsalo para editar y compartir este gradiente: https://colorzilla.com/gradient-editor/#29397a+0,29397a+53,ffffff+53,2989d8+53,ffffff+53 */
    background: linear-gradient(to bottom,  #29397a 0%,#29397a 50%,#ffffff 50%,#2989d8 50%,#ffffff 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

.card-img-overlay {
    padding: 2rem;
}

.momentos-img {
    /* Permalink - use to edit and share this gradient. Enlace permanente - úsalo para editar y compartir este gradiente: https://colorzilla.com/gradient-editor/#29397a+0,29397a+62,29397a+62,ffffff+62,ffffff+100 */
    background: linear-gradient(to bottom,  #29397a 0%,#29397a 50%,#29397a 50%,#ffffff 50%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}


@media only screen and (max-width: 600px) {

    .encabezado {
        background-color: #FFFFFF;
        padding: 10px;
        border-radius: 20px;
    }

    .timeline-images {
        margin-top: 30px;
    }

    .header {
        width: 100%;
        background-image: url(../images/acafut-portada-movil.webp);
        background-size: cover;
        border-radius: 20px;
    }

    .header img {
        padding-top: 5px;
    }

    .navbar {
        padding: 0px 30px;
    }

    .logo {
        height: 110px;
    }

    .navbar-collapse {
        background-color: #468e51;
        padding: 20px;
    }

    .contador h3 {
        font-family: 'Norwester';
        font-size: 2rem;
    }

    .navbar-toggler-icon {
        background-image: url('../images/nav-icon.svg')!important;
        border: none;
    }

    .contador {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 50px;
        line-height: 45px;
    }

    .hero {
        height: 70vh;
    }

    .introduccion {
        background-image: none;
    }

    .fondo-movil {
        background-image: url('../images/intro-acafut-bg-movil.webp');
    }

    .hr-sedes {
        margin: 7px 0;
        border-top: 2px solid #58595b;
        width: 90%;
    }

    .card-title {
        color: #58595b;
    }

    .card-text {
        color: #58595b;
    }

    .momentos-iconicos h2 {
        text-align: left;
    }
}

