@font-face {
    font-family: 'FjallaOne';
    src: url(/assets/font/FjallaOne-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: 'FjallaOne', sans-serif;
    background-color: #ffffff;
}

/* Estilos para la barra de navegación */

.bg-dark {
    background-color: #1b1b1b !important;
}

.navbar-brand-logo {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
}

.navbar-nav .nav-link {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    border-bottom: 2px solid #008c81;
}

.navbar-top-icons a {
    font-size: 1.2rem;
    color: #adb5bd;
    transition: color 0.3s ease;
}

.navbar-top-icons a:hover {
    color: #ffffff;
}

.navbar-brand-logo img {
    width: 75px;
}

/* Cambiar el ícono del toggler a una 'X' cuando está abierto */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}

/* Contenedor de la cabecera con imagen */
.header-image-container {
    height: 60vh;
    min-height: 400px;
    background-image: url(/assets/img/banner_missa.webp);
    background-size: cover;
    background-position: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Superposición oscura para mejorar la legibilidad del texto */
.header-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Contenido de texto en la cabecera */
.header-content {
    position: relative;
    z-index: 2;
    color: white;
}

.header-content h1 {
    font-weight: 900;
    font-size: 4rem;
}

/* Estilo para la sección de fechas */
.tour-section {
    margin-top: 5vh;
    position: relative;
    z-index: 3;
}

/* Estilo personalizado para cada elemento de la lista de fechas */
.list-group-item {
    padding: 0 !important;
    cursor: pointer;
}

.tour-item {
    border-width: 0 0 1px 0;
}

.tour-item:hover {
    background-color: #efefef;
}

.tour-date {
    text-align: center;
    min-width: 90px;
    background-color: #212529;
    border-radius: 0.375rem;

    margin-top: 2rem;
}

.tour-date .month {
    font-size: 1.2rem;
    font-weight: 700;
    color: #008c81;
    text-transform: uppercase;
}

.tour-date .day {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.btn-tickets {
    transition: all 0.3s ease;
    background-color: #008c81;
    border-color: #008c81;
}

.btn-tickets:hover {
    background-color: #00665e;
    border-color: #00665e;
}

.navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
}

.venue-details h5,
.venue-details p {
    text-transform: uppercase !important;
}

.badge-proximamente {
    position: absolute;
    bottom: 27px;
    left: 50%;
    transform: translateX(-50%) rotate(10deg);
    background-color: #dc3545;
    color: white;
    font-weight: bold;
    padding: 4px 12px;
    font-size: 1rem;
    border-radius: 3px;
    z-index: 10;
    pointer-events: none;
}

.not-available{
    pointer-events: none;
}

@media (max-width: 991.98px) {

    /* Estilos para el menú móvil desplegado */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #f8f9fa;
        z-index: 1050;
        margin-top: 6rem;
    }

    .navbar-collapse .navbar-nav .nav-link {
        color: #212529 !important;
        padding: 1rem 1.5rem;
        text-align: left;
        border-bottom: 1px solid #dee2e6;
    }

    .navbar-collapse .navbar-nav .nav-link:hover,
    .navbar-collapse .navbar-nav .nav-link.active {
        background-color: #e9ecef;
        border-bottom: 1px solid #dee2e6;
    }

    .navbar-brand-logo {
        order: 2;

    }

    .navbar-toggler {
        order: 1;
    }

    .navbar-top-icons.right-icons-mobile {
        order: 3;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .tour-item {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }

    .tour-date {
        margin-bottom: 1rem;

    }

    .venue-details {
        margin-bottom: 1rem;

    }


}

@media (min-width: 992px) {

    #mainNav {
        background-color: #212121;
    }

    .tour-date {
        border-bottom-left-radius: 0.375rem;
        border-top-left-radius: 0.375rem;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        margin-top: 0;
    }

    .navbar-brand-logo img {
        width: 110px;
    }

    .navbar .container-fluid {
        flex-wrap: wrap;
    }

    .navbar-top-row {
        flex-basis: 100%;
        order: 1;
    }

    .navbar-collapse {
        flex-basis: 100%;
        order: 2;
    }
}