:root{
    --guindaprimario: #682145;
    --guindasecundario: #45112a;
    --doradoprimario: #bc955c;
    --doradosecundario: #ddc9a3;
    --verdeprimario: #30453b;
    --verdesecundario: #265b4d;
    --blancosuave: #f6f3ee;
}
@font-face {
    font-family: 'Zodiak';
    src: url(../../fonts/Zodiak-Variable.ttf);
}
@font-face {
    font-family: 'ZodiakItalic';
    src: url(../../fonts/Zodiak-VariableItalic.ttf);
}
@font-face {
    font-family: 'Open';
    src: url(../../fonts/OpenSans-VariableFont_wdth\,wght.ttf);
}
@font-face {
    font-family: 'OpenItalic';
    src: url(../../fonts/OpenSans-Italic-VariableFont_wdth\,wght.ttf);
}
h1{
    font-family: 'Zodiak';
    color: var(--guindaprimario);
}
/*Estilos del Slider de eventos*/
.carousel-item h3{
    font-family: 'Open';
    color: var(--verdeprimario);
}
.tituloevento{
    font-family: 'Zodiak';
    color: var(--guindaprimario);
}
.dateevento{
    font-family: 'Open';
}
.carousel-control-next-icon, .carousel-control-prev-icon{
    padding: 25px;
    background-color: rgba(47, 79, 79, 0.4);
    border-radius: 50%;
    background-size: 70% 70% !important;
}
@media (min-width: 768px) {
    .carousel-control-next-icon, .carousel-control-prev-icon{
        padding: 40px;
        background-size: 50% 50% !important;
    }
}
.modal-header p{
    color: var(--guindaprimario);
}
.modal-body img{
    transition: all ease 0.2s;
}
.modal-body img:hover{
    transform: scale(1.02);
}
.botonesdate p{
    background-color: var(--guindasecundario);
    cursor: pointer;
}
.descripcionevento{
    background-color: #f3f5fa;
}
.descripcionevento h6{
    color: #45112a;
}
.descripcionevento div{
    background-color: #fff;
}
.modal-footer-evento button{
    background-color: var(--doradoprimario);
    color: #fff;
}
.modal-footer-evento button:hover{
    background-color: var(--doradoprimario);
    color: #fff;
}
/* Estilos del Card de mapas */
.card-header{
    background-color: #45112a !important;
}
.filter-buttons{
    width: 100% !important;
    display: grid;
    grid-template-columns: repeat(2, 50%);
    row-gap: 3px;
}
.filter-buttons button{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.button1, .button3{
    border-radius: 5px 0 0 5px;
}
.button2, .button4{
    border-radius: 0 5px 5px 0;
}
@media (min-width: 768px) {
    .filter-buttons{
        width: auto !important;
        grid-template-columns: repeat(2, 1fr);
    }
    .button2, .button3{
        border-radius: 0;
    }
}
.filter-title {
    color: white;
}
.btn-filter {
    background-color: white;
    color: #495057;
    transition: all 0.3s ease;
}
.btn-filter:hover {
    background-color: #f1f3f5;
}
.btn-filter.active {
    background-color: #bc955c;
    color: white;
    border: none !important
}
/* Estilos del mapa */
.map-container {
    position: relative;
}
#map {
    height: 500px;
    z-index: 1;
}
/* Modal estilos */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}
.place-modal-header, .modal-footer{
    background-color: #f3f5fa;
    border-bottom: 1px solid #e9ecef;
}
.modal-title {
    color: var(--guindaprimario);
}
/* Imagen del lugar */
.place-image-container {
    overflow: hidden;
    border-radius: 8px;
}
.place-image {
    transition: transform 0.3s ease;
    object-fit: cover;
    height: auto;
}
.place-image:hover {
    transform: scale(1.02);
}
.placeholder-image {
    height: 200px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #ced4da;
}
/* Selector de idioma */
.language-selector {
    background-color: #f3f5fa;
    border-radius: 8px;
}
.language-title {
    color: var(--guindaprimario);
    margin-bottom: 10px;
}
.language-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.lang-btn {
    flex: 1;
    min-width: 100px;
    background-color: var(--guindasecundario);
    border: 1px solid var(--guindasecundario);
    color: white;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-bottom: #495057;
}
.lang-btn:hover {
    transform: translateY(-5px);
}
.lang-btn:hover{
    background-color: #45112a !important;
    color: white !important;
}
.lang-btn.active {
    background-color: var(--doradoprimario);
    color: white;
    border-color: var(--doradoprimario);
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.25);
}
/* Audio player */
.audio-player-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}
.audio-title {
    font-size: 1.1rem;
    color: #682145;
    margin-bottom: 10px;
}
.custom-audio-player {
    border-radius: 8px;
    background-color: #f3f5fa;
}
/* Descripción */
.description-container {
    background-color: #f3f5fa;
    border-radius: 8px;
    padding: 15px;
}
.description-title {
    font-size: 1.1rem;
    color: #682145;
    margin-bottom: 10px;
}
.description-content {
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    line-height: 1.6;
    max-height: 300px;
    overflow-y: auto;
}
/* Leyenda */
.map-legend {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-width: 200px;
    backdrop-filter: blur(10px);
    z-index: 5;
}
.legend-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 5px;
}
.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.legend-item:hover {
    background: rgba(0,123,255,0.1);
}
.botonruta{
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
}
.botonruta:hover, .botonruta:focus{
    background-color: transparent !important;
    color: black !important;
}
.route-color {
    display: inline-block;
    width: 20px;
    height: 4px;
    border-radius: 2px;
    margin-right: 10px;
}
.route-name {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}
/* Marcadores de paradas del BinniBus */
.bus-stop-marker {
    background: white;
    border-radius: 50%;
    border: 2px solid #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.bus-stop-marker i {
    color: #0d6efd;
    font-size: 12px;
}
.bus-stop-marker.origin {
    border-color: #28a745;
    background-color: #28a745;
}
.bus-stop-marker.origin i {
    color: white;
    font-size: 14px;
}
.bus-stop-marker.destination {
    border-color: #dc3545;
    background-color: #dc3545;
}
.bus-stop-marker.destination i {
    color: white;
    font-size: 14px;
}
/* Tooltip de paradas */
.stop-tooltip {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 200px;
}
.route-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin-right: 5px;
}
/* Modales */
.place-modal-header, .route-modal-header {
    color: white;
    border-radius: 8px 8px 0 0;
}
.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    margin-bottom: 15px;
}
.info-card h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 10px;
}
/* Timeline de paradas */
.stops-timeline {
    position: relative;
    padding-left: 30px;
}
.stop-item {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
.stop-item:last-child {
    border-bottom: none;
}
.stop-marker {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
}
.stop-item.origin .stop-marker {
    background: #28a745;
    font-size: 12px;
}
.stop-item.destination .stop-marker {
    background: #dc3545;
    font-size: 12px;
}
.stop-info h6 {
    color: #2c3e50;
    margin-bottom: 5px;
}
/* Botón WhatsApp */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
}
/* Estilos responsivos */
@media (max-width: 768px) {
    .language-buttons {
        flex-direction: column;
    }
    .lang-btn {
        width: 100%;
    }
    #map {
        height: 400px;
    }
}