:root {
    --container-color: #f4f4f4;
    /* --container-color:  #f5ebe0; */
    --background-color:  #fdfdfd;
    --popup-title:rgb(101, 56, 5);
    --text-color: #151515; 
    --marker-color: #b87333;
    --link-color: #ef8d1d;
    --btn-bg: #e6e6e6;
    --btn-primary: linear-gradient(135deg, #d89b5c, #b87333);
    --btn-hover-bg: #ffffff;
    --map-border-color: rgba(0, 0, 0, 0.9);
    --git-shadow: drop-shadow(0 0 1px rgba(255, 255, 255, 0.9));
}

[data-theme="dark"] {
    --background-color: #171717; 
    --container-color:  #3a3a3a;
    --popup-title:  #f6bb73;
    --text-color: rgb(228, 228, 228); 
    --marker-color: #ff5722; 
    --link-color: #ff8c42;
    --btn-bg: #3a3a3a;
    --btn-border: border: 3px solid rgba(234, 110, 16, 0.1);
    --btn-hover-bg: #0b0b0b;
    --map-border-color: rgba(255, 255, 255, 0.7);
    --git-shadow: drop-shadow(0 0 1px rgba(0, 0, 0, 0.9));
}
.custom-cluster {
    background: #c58b4e;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}
.custom-cluster {
    transition: transform 0.2s ease;
}

.custom-cluster:hover {
    transform: scale(1.1);
}
body, html{
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
}
body {
    font-family: "Quicksand", sans-serif;
    font-weight: 400 !important;
    background-color: var(--btn-bg);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    cursor: url('../img/pointer.png') 16 16, auto !important;
}
li:hover,
h3, h4:hover {
    cursor: pointer;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1500;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}
header {
    margin-top: 9px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    color: white;
}

/* .btn-link{
    position: fixed;
} */
 .app-header {
     position: sticky;
     top: 0;
     z-index: 1000;
     height: 60px;
     background: #292929;
     width: 100% !important;
     border-bottom: 1px solid rgba(0, 0, 0, 0.05);
 }

 .side-menu {
     position: fixed;
     top: 0;
     left: -280px;
     width: 280px;
    height: 100vh;
     padding: 20px;

     background: rgba(20, 20, 20, 0.85);
     backdrop-filter: blur(20px);
    display: flex;
        flex-direction: column;

     border-right: 1px solid rgba(255, 255, 255, 0.08);
     transition: 0.3s ease;
     z-index: 2000;
 }
/* #side-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;

    display: flex;
    flex-direction: column;

    z-index: 9999;
} */

 .side-menu.open {
     left: 0;
 }

 /* HEADER */
 .menu-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 25px;
 }

 .menu-title {
     font-size: 1.2rem;
     opacity: 0.8;
     color: white !important;
 }

 .section-title{
    color: white;
 }

 @media (min-width: 765px) {
     .container-list {
         top: 60px !important;
     }
 }

 /* ICON BUTTONS */
 .icon-btn {
     width: 40px;
     height: 40px;
     border-radius: 50%;

     background: rgba(255, 255, 255, 0.08);
     border: none;
     color: white;

     display: flex;
     align-items: center;
     justify-content: center;

     filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.8));
     font-size: 1.2rem;
     transition: 0.2s;
 }

 .icon-btn:hover {
     background: sandybrown;
 }

 /* MENU ITEMS */
 .menu-item {
     width: 100%;
     padding: 14px;
     margin-bottom: 10px;

     display: flex;
     gap: 12px;
     align-items: center;

     border-radius: 14px;
     border: none !important;

     background: rgba(255, 255, 255, 0.05);
     color: white;

     font-size: 1rem;
     transition: 0.2s;
 }

 .menu-item:hover {
     background: var(--btn-primary);
 }

 /* SECTION */
 .menu-section {
     margin-top: 20px;
 }

 .section-title {
     font-size: 0.9rem;
     opacity: 0.6;
     margin-bottom: 10px;
     display: block;
 }

 /* CHIPS */
 .chips {
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
 }

 .chip {
     padding: 8px 12px;
     border-radius: 20px;

     background: rgba(255, 255, 255, 0.08);
     border: none;
     color: white;

     font-size: 0.9rem;
     transition: 0.2s;
 }

 .chip.active,
 .chip:hover {
     background: var(--btn-primary);
 }

 .side-menu.open {
     left: 0;
 }
.title {
    flex: 1;
    text-align: center; 
}
.title1{
    margin-top: 3%;
    text-shadow: 1px 1px 1px rgba(196, 127, 48, 0.7);
    font-size: 3em;
}
.subtitle {
    color: var(--text-color);
    text-shadow: 1px 1px 1px rgba(136, 136, 136, 0.9); 
}
.lang{
    max-width: 20px;
}
.head-btn {
    margin-top: 0 !important;
    border-radius: 12px;
    background-color: #c47f3047;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.9);
}
a {
    color: #c47f30; 
}
a:hover {
    text-decoration: wavy;
    color: #c47f30;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(196, 127, 48, 0.9);
}

h1 {
    color: #c47f30 !important;
    text-shadow: 0 0 5px rgba(196, 127, 48, 0.9); 
    font-size: 3.5em;
}
ul {
    max-height: 360px; 
    overflow-y: auto;
    padding-right: 10px; 
}
.logo {
    filter: drop-shadow(0 0 3px rgba(196, 127, 48, 0.7)) !important;
}
.container-fluid{
 padding-top: env(safe-area-inset-top) !important;
}
#map {
    
    height: 80dvh !important;
    width: 100%;
    /* border-radius: 10px; */
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3ss);
    margin-top: 55px !important;
}

ul{
    scrollbar-width: thin;
    scrollbar-color:  #c47f30 #E1D7CD;
    max-height: 68dvh;
    overflow-y: auto;
    margin: 0 6%;
}

.list-group-item {
    border: none;
    border-radius: 30px;
    /* border: var(--btn-border); */
    margin-bottom: 10px;
    /* border-bottom: 2px groove rgba(196, 127, 48, 0.7) !important; */
    background: var(--background-color) !important;
    color: var(--text-color) !important;
    margin: 2%;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    flex-direction: row; 
 
}
.info-row {
    background-color: var(--container-color);
    border-radius: 7px;
    box-shadow: 1px 1px 9px rgba(0, 0, 0, 0.1);
}
footer {
    background-color: var(--container-color); 
    padding: 10px 0;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}

footer p, .leaflet-popup-content{
    color: var(--text-color) !important;
}

.leaflet-popup-tip{
    background-color: #c47f30 !important;
    border: 2px solid #4a4a4a !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
}

#google_translate_element {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 999;
    border-radius: 30px !important;
}
.logo {
    width: 60px;
    height: auto;
    margin-top: -1%;
    filter: brightness(1.2);
}
.container {
    background-color: var(--container-color);
    border-radius: 10px;
    width: 100%;
    /* padding: 33px; */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

h3{
    color: var(--text-color);
    font-size: 1.5em;
    text-align: center;
    color: var(--popup-title);
    margin: 6% 3% 0 3% !important;
}
.map-controls {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 16px;

    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);

    z-index: 1500;
}
@media (max-width: 600px) {
    .map-controls {
        padding: 7% 6px 6px 6px;
    }
}

.map-controls button {
    border: none;
    background: transparent;
    color: white;

    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 6px;
}

.map-controls button:hover {
    opacity: 0.8;
}

.map-controls .divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}
.btn-warning{
    border-radius: 16px !important;
    font-size: 1.3em;
    opacity: 0.9;
    background-color: transparent !important;
    border: 3px solid var(--btn-primary) !important;
}
.btn {
    background:var(--btn-primary); 
    color: white;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.btn:hover {
    /* background-color: var(--btn-hover-bg); */
    color: white;
    /* transform: scale(1.1); */
    box-shadow: 0 0 3px rgba(242, 154, 48, 0.9);
    
}
li:hover{
   transform: translateY(1px);
   border-bottom: 3px solid #CD935A !important;
}
.leaflet-popup-content{
    margin: 0 0 6% 0 !important;
    /* padding-bottom: 6%; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-warning .btn-block{
    margin-bottom: 6px !important;
    margin: 3% 6% !important;
}
#map>div.leaflet-pane.leaflet-map-pane>div.leaflet-pane.leaflet-popup-pane>div>div.leaflet-popup-content-wrapper>div>button{
    /* width: 90%; */
    justify-content: center;
    border-radius: 15px 15px 12px 12px !important;
    box-shadow: 0 -3px 6px rgba(21, 21, 21, 0.6);
}

.leaflet-popup-content-wrapper {
    background-color: var(--container-color);
    width: 250px; 
    max-width: 270px; 
    padding: 0px; 
    cursor: url('../img/pointer.png') 16 16, auto !important;
}

.leaflet-popup-content-wrapper p {
    color: var(--text-color);
    line-height: 1.5;
    font-size: 14px;
    text-align: center;
    margin: 3% 6% !important;
}

.faq-question:hover {
    color: rgba(196, 127, 48);
    transform: scale(1.02);
}
.tittle, .list-title{
    color: #c47f30;
    text-shadow: 0 0 5px rgba(196, 127, 48);
    text-align: center;
}
.list-title {
    margin-bottom: 15px;
    font-size: 2.1em;
}
.mr-3 {
    width: 200px;
    height: auto;
    border-radius: 10px;
    margin: 0 3% 0 3% !important;
}
.git{
    color: var(--text-color);
    text-shadow: 0 0 3px rgb(225, 136, 34);
    filter: var(--git-shadow);
    
}
.bus-lines {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}
.bus-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color:#D24400;
    color: white;
    text-shadow: 1px 1px 1px black;
    font-weight: bold;
    font-size: 16px;
    font-family: "Quicksand", sans-serif;
}

.bus-circle:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    
}
.bus{
    color: var(--popup-title);
}
#info{
    font-size: 1.5em;
    font-weight: bold;
}
.card{
    background-color: var(--background-color);
    border-color: var(--container-color) !important;
    border-radius: 10px;   
}
.card-header{
    font-family: "Amatic SC", sans-serif;
    font-size: 1.2em;
    
}
.card-body{
    margin: 2%;
    text-align: center; 
    line-height: 1.5;
}
.card h3, .subt{
    color: var(--popup-title);
    text-shadow: 0.6px 0.6px 1px rgba(43, 43, 43, 0.9);
}
.card h3:hover{
    color:  #ec9128;
}
.video{
    display: flex;
    justify-content: center;
    align-items: center;
}
video {
    border-radius: 7px;
    height: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
    .container {
        padding: 11%;
    }
    .faq-item {
        flex-direction: column;
        text-align: center; 
    }

    .faq-item img {
        order: 2; 
        margin-bottom: 15px;
        max-width: 80%;
    }

    .faq-item div {
        order: 1;
        width: 100%;
    }
    .header-bts{
        position: relative !important;
        margin: 2px;
        margin-bottom: -15px;
    }
    h1{
        font-size: 3.1em;
    }
    .card, #intro {
       margin: 0 -25% !important;
    }
    #history{
        margin: 0 -35% !important;
    }
    .logo{
        display: none;
    }
    #map, ul{
        height: 600px !important;
    }
    video{
        max-width: 300px;
    }
   
} 
@media (min-width: 1280px) { 
    .container {
        max-width: 85%;
    }
}
@media (min-width: 1600px) { 
    .container {
        max-width: 85%;
    }
}

.tools-tabs {
    /* display: flex; */
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.tab-btn {
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    /* background: #494949; */
    background: var(--background-color) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 14px;
    margin-bottom:2%;
}

.tab-btn.active {
    background: linear-gradient(135deg, #d89b5c, #b87333) !important;
    color: white;
    font-weight: bold;
    border: none !important;
}

/* contenido */
.tab-content {
    display: none;
    margin-top: 15px;
}

.tab-content.active {
    display: block;
    margin: 0 auto;
    justify-content: center;
    width: 100%;
}

 .tool-card {
    margin: 4px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     width: 120px;
     padding: 15px;
     border-radius: 16px;

     background: var(--background-color);
     color: var(--text-color);
     text-decoration: none;

     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
     transition: 0.2s;
 }

 .tools-grid  {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 10px;
 } 

 .tool-card img {
     width: 30px;
     margin-bottom: 8px;
 }

.tool-card:active {
    transform: scale(0.95);
}

.tools-section {
    max-width: 1000px;
    margin: auto !important;
}

.media-section {
    padding: 20px;
}

.media-title {
    /* font-family: 'Rouge Script', cursive; */
    text-align: center;
    /* color: #d89b5c; */
    margin-bottom: 15px;
}

.event-card:active, .news-card:active {
    transform: scale(0.97);
}

.event-card img, .news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
  
}

.event-content, .news-content {
    padding: 10px;
}

.event-title, .news-title {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.event-date, .news-date {
    font-size: 11px;
    opacity: 0.6;
}

.event-card, .news-card {
    margin: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 175px;
    background: var(--background-color);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    transition: 0.2s;
    cursor: pointer;
}

.groups-list {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    /* gap: 12px; */
}
.desc-card {
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */

    width: 100%;
    padding: 0px 14px 0px 0;
    border-radius: 16px;

    /* background: #2a2a2a; */
    background: var(--background-color);
    color: var(--text-color);
    text-decoration: none;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    transition: 0.2s;

}
.group-card {
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 0px 14px 0px 0;
    border-radius: 16px;

    background: var(--background-color);
    color: var(--text-color);
    text-decoration: none;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    transition: 0.2s;
}

.group-card:active {
    transform: scale(0.98);
}

/* icono */
.group-icon {
    width: 80px;
    height: 80px;
    border-radius: 10px 20px 0px 10px; 
    margin-right: 16px;
    object-fit: cover;
}

/* info */
.group-info {
    flex: 1;
}

.group-title {
    font-size: 14px;
    font-weight: 500;
}

.group-subtitle {
    font-size: 12px;
    opacity: 0.6;
}

/* botón */
.group-action {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--btn-primary);
    color: white;
}

.desc-card.pro {
    padding: 10px;
}

/* estructura interna */
.desc-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.badge {
    color: white;
}
/* meta info */
.desc-meta {
    margin-top: 4px;
    font-size: 12px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.rating {
    color: #ffc107;
}

.reviews {
    opacity: 0.6;
}

/* derecha */
.desc-right {
    text-align: right;
}

/* precio */
.price {
    font-weight: 500;
    font-size: 18px;
}

.old-price {
    font-size: 11px;
    opacity: 0.7;
    /* text-decoration: line-through; */
}

.old-price .old-price-value {
    text-decoration: line-through;
}

.discount {
    background: #ff9800;
    color: #000;
    padding: 1px 5px;
    border-radius: 5px;
    margin-left: 4px;
    font-size: 12px;
    text-decoration: none !important;
}
.price-discount {
    background: #ff9800;
    color: white;
    padding: 1px 5px;
    border-radius: 5px;
    margin-left: 4px;
    font-size: 16px;
    text-decoration: none !important;
    font-weight: 300;
}



/* botón fake */
.fake-btn {
    margin-top: 6px;
    background: var(--btn-primary);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    color: white;
}

/* responsive automático */
@media (max-width: 390px) {
    .desc-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .desc-right {
        width: 100%;
        text-align: left;
    }

    .fake-btn {
        width: 100%;
        text-align: center;
    }
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 20px;
    max-width: 800px;
    margin: auto;
}

.experience-card {
    background: var(--background-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.experience-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.exp-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;    
    gap: 4px;
}

.exp-title {
    font-weight: 600;
    font-size: 14px;
}

.tab-icon {
    width: 23px;
    height: 23px;
    fill: currentColor !important;
}

.exp-sub {
    font-size: 12px;
    opacity: 0.6;
}

.exp-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto;
    }

        @media (max-width: 390px) {
            .exp-footer {
                flex-direction: column;
                align-items: stretch;
                gap: 6px;
            }
    
            .price {
                text-align: left;
                font-size: 15px;
            }
    
            .exp-btn {
                width: 100%;
                text-align: center;
            }
        }

.price {
    font-weight: 700;
}

.exp-btn {
    background: #d89b5c;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
}



.app-footer {
    background: #1f1f1f;
    color: #ccc;
    padding: 25px 15px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 10px;
   
}

.logo {
    background: linear-gradient(135deg, #d89b5c, #b87333);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: bold;
}

.brand-name {
    font-weight: 500;
    color: #fff;
}

.footer-links {
    margin: 10px 0;
}

.footer-links a {
    color: #aaa;
    margin: 0 10px;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #d89b5c;
}

.footer-copy {
    font-size: 12px;
    opacity: 0.8;
    color: #828282 !important;
}





