/*Estilos de pagina*/
/*reset de border por defectp*/
* {
    /* eliminar formato por defecto*/
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 62.5%;

}

*,
*:before,
*:after {
    box-sizing: inherit;


}

body {
    font-size: 16px;
    /*1 rem = 10px*/



}

/*menu de navegacion*/
.toggle-menu {
    position: absolute;
    cursor: pointer;
    z-index: 400;
    width: 100%;
    background: #ffdb0b;
    height: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-content: center;




}

@media (min-width:900px) {
    .toggle-menu {
        display: none;
        padding: 0;
        background-color: none;
    }

}

.icon-menu {


    width: 30px;
}

img {
    max-width: 100%;

}

.logo {
    width: 100px;

}

figure {
    position: relative;
    margin: 0 auto;

}

.menu-icon {
    padding-left: 60%;
}

.nav-bg {
    height: 80px;
    background-color: #ffdb0b;
}

.main-nav {
    height: 50px;
}



.main-menu {
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    background-color: #ffdb0b;
    transition: transform 0.3s;
    transform: translateY(-100%);
    position: relative;
    z-index: 200;



}

.main-menu_show {
    transform: translateY(0);
    padding-top: 4rem;


}

@media (min-width:900px) {
    .main-menu {
        flex-direction: row;
        transform: translateY(0);
        justify-content: center;
        align-items: center;

    }

    .nav-bg {
    height: 37px;
}



}



.main-menu_item {
    padding: 1rem;


}



.main-menu_link {
    color: black;
    text-decoration: none;
    font-size: 1.5rem;
    font-family:  'Open Sans';
    font-weight: 700;
}

.main-menu_link:hover {
    color: white;


}

@media (min-width:900px) {
    .main-menu_link {
        font-size: 1.6rem;
    }
}




/*logo header*/
.header-logo {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffdb0b;
}

.logo-container {
    margin: 0 auto;
}

#logo-header {
    width: 25rem;
    height: 14rem;
    padding-bottom: 2rem;
}

@media (max-width:900px) {
    .header-logo {
        position: relative;
        display: none;
        align-items: center;
        background: #574c0f;
    }
    .nav-bg {
    height: 37px !important;
}

}

/***********************************/

/* Estilos para el formulario PQRS */
.form-label {
    font-family: 'Krub', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: #333;
}

.form-control,
.form-select {
    padding: 0.8rem 1rem;
    font-size: 1.4rem;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
}

.form-control:focus,
.form-select:focus {
    border-color: #ffdb0b;
    box-shadow: 0 0 0 0.25rem rgba(255, 219, 11, 0.25);
}

.btn-warning {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.6rem;
    padding: 1rem;
    transition: all 0.3s;
}

.btn-warning:hover {
    background-color: #e6c500 !important;
    transform: translateY(-2px);
}

.invalid-feedback {
    font-size: 1.2rem;
}

.card {
    border-radius: 1rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .form-label {
        font-size: 1.6rem;
    }

    .form-control,
    .form-select {
        font-size: 1.6rem;
        padding: 1rem;
    }
}



/*horarios*/
:root {
    --primary-color: #ffdb0b;
    --secondary-color: #096820;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: #f5f5f5;
}

/* Estilos del menú de navegación existente */
.toggle-menu {
    position: absolute;
    cursor: pointer;
    z-index: 400;
    width: 100%;
    background: #ffdb0b;
    height: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-content: center;
}

@media (min-width:900px) {
    .toggle-menu {
        display: none;
        padding: 0;
        background-color: none;
    }
}

.icon-menu {
    width: 30px;
}

img {
    max-width: 100%;
}

.logo {
    width: 100px;
}



figure {

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;

}

.menu-icon {
    padding-left: 60%;
}

.nav-bg {
    height: 80px;
}

.main-nav {
    height: 50px;
}

.main-menu {
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    background-color: #ffdb0b;
    transition: transform 0.3s;
    transform: translateY(-100%);
    position: relative;
    z-index: 200;
}

.main-menu_show {
    transform: translateY(0);
    padding-top: 4rem;
}

@media (min-width:900px) {
    .main-menu {
        flex-direction: row;
        transform: translateY(0);
        justify-content: center;
        align-items: center;
    }
}

.main-menu_item {
    padding: 1rem;
}

.main-menu_link {
    color: black;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

.main-menu_link:hover {
    color: white;
}

@media (min-width:900px) {
    .main-menu_link {
        font-size: 1.6rem;
    }
}

/* Logo header */
.header-logo {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffdb0b;
}

.logo-container {
    margin: 0 auto;
}

#logo-header {
    width: 25rem;
    height: 14rem;
    padding-bottom: 2rem;
}

@media (max-width:900px) {
    .header-logo {
        position: relative;
        display: none;
        align-items: center;
        background: #574c0f;
    }
}

/* Estilos de la sección de transporte */
.transport-section {
    padding: 2rem 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 1200px;
    
 
}

.route-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;

}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.route-card.active {
    border-color: var(--secondary-color);
    background-color: rgba(9, 104, 32, 0.05);
}

.route-image {
    height: 120px;
    object-fit: cover;
    width: 100%;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 9rem;
}

.schedule-table th {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px;
    text-align: center;
}

.schedule-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.time-slot {
    padding: 5px 10px;
    border-radius: 4px;
    margin: 2px;
    display: inline-block;
    font-size: 15px;
}

.time-past {
    background-color: #e9ecef;
    color: #6c757d;
    /*!text-decoration: line-through;*/
    font-size: 15px;
}

.time-current {
    background-color: var(--primary-color);
    font-weight: bold;
    font-size: 15px;
}

.time-future {
    background-color: var(--light-gray);
    font-size: 15px;
}

.direction-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 15px;
}

.direction-btn:hover {
    background-color: #074d1a;
}





@media (max-width: 768px) {
    .route-card {
        margin-bottom: 15px;
    }

    .transport-section {
        padding: 1rem;
        margin: 1rem;
    }


}

/* ⭐ NUEVO: Estilos para la imagen banner */
.route-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.route-banner-img {
    width: 60%;
    height: auto;
    max-height: 322px;
    object-fit: cover;
    display: block;
}

/* Versión móvil */
@media (max-width: 768px) {
    .route-banner {
        border-radius: 6px;
    }

    .route-banner-img {
        max-height: 150px;
    }
}

/* Versión tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .route-banner-img {
        max-height: 340px;
    }
}

/* ⭐ MODIFICADO: Estilos para horarios pasados (color rojo) */
.time-past {
    background-color: #ffebee;
    color: #d32f2f;
    font-weight: bold;
    /* text-decoration: line-through; ELIMINADO */
}

.time-current {
    background-color: var(--primary-color);
    font-weight: bold;
}

.time-future {
    background-color: var(--light-gray);
}

/* ⭐ NUEVO: Estilos para la imagen banner MODIFICADO */
.route-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    /* Centrar la imagen */
    margin-bottom: 20px;
}

.route-banner-img {
    width: 60%;
    /* Mantener el 60% como en tu CSS */
    height: auto;
    max-height: 322px;
    object-fit: contain;
    /* Cambiado de cover a contain para ver imagen completa */
    display: inline-block;
    /* Para centrar */
}

/* Versión móvil */
@media (max-width: 768px) {
    .route-banner {
        border-radius: 6px;
    }

    .route-banner-img {
        max-height: 150px;
        width: 80%;
        /* Más ancho en móvil */
    }
}

/* Versión tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .route-banner-img {
        max-height: 340px;
        width: 70%;
    }
}

#day-indicator {
    font-size: 3rem;
}


#notas {
    font-size: 2rem;
}


option {
    font-size: 1.5rem;
}

.form-select {
    font-size: 1.5rem !important;
}


/*  //////////////////////////////*/

.text-success {
    color: #198754 !important;
    font-size: 1.5rem;
}

.text-danger {
    color: #dc3545 !important;
    font-size: 1.5rem;
}

.text-warning {
    color: #ffc107 !important;
    font-size: 1.5rem;
}

.fw-bold {
    font-weight: bold !important;
    font-size: 1.5rem;
}




/* Para 360px hacia abajo */
@media screen and (max-width: 360px) {
    .route-image {
        height: 169px;
    }
}

/* Para 361px - 766px */
@media screen and (min-width: 361px) and (max-width: 766px) {
    .route-image {
        height: 200px;
    }
}

/* Rango específico 767px - 795px */
@media screen and (min-width: 767px) and (max-width: 795px) {
    .route-image {
        height: 102px;
    }
}

/* Para 796px - 1199px */
@media screen and (min-width: 796px) and (max-width: 1199px) {
    .route-image {
        height: 116px;
    }
}

/* Para 1200px en adelante */
@media screen and (min-width: 1200px) {
    .route-image {
        height: 175px;
        /* O el valor que quieras */
    }
}

.card-body {
    background-color: #ffe300 !important;
    border-top: 2px solid #fff !important;

}

/* NUEVO: Estilos para la tabla de tarifas */
.fare-selector {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.fare-selector h4 {
    color: #096820;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.fare-table-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.fare-table-section h4 {
    color: #096820;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.fare-table-section table {
    font-family: 'Open Sans', sans-serif;
    border-radius: 8px;
    overflow: hidden;
}

.fare-table-section th {
    background-color: #096820;
    color: white;
    font-weight: 600;
    font-size: 1.4rem;
    padding: 12px 15px;
    text-align: center;
}

.fare-table-section td {
    padding: 10px 15px;
    vertical-align: middle;
    text-align: center;
}

.fare-table-section tbody tr:hover {
    background-color: rgba(255, 219, 11, 0.1);
}

/* Responsive para tabla de tarifas */
@media (max-width: 768px) {
    .fare-table-section {
        padding: 15px;
    }

    .fare-table-section th,
    .fare-table-section td {
        padding: 8px 10px;
        font-size: 1.3rem;
    }

    .fare-selector .col-md-6 {
        width: 100%;
    }
}


.card-title {

    color: var(--bs-card-title-color);
    font-weight: bold;
}


/*hotarios tile*/

#title-horarios {
    font-weight: bold;
    font-size: 2.5rem;
}

.negrita{
    font-size: 2rem !important;
}

