/* Loader */
#loader {
    background-color: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-logo {
    height: 100px;
    width: auto;
    opacity: 0;
    transform: scale(0.95);
    animation: loaderFadeIn 1.5s ease-out forwards;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

@keyframes loaderFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#loader.none {
    opacity: 0;
    visibility: hidden;
}

.scroll-bar {
    overflow: hidden;
}

/* Typography & General */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.horizontal {
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.horizontal.left-align {
    margin: 0 0 20px 0;
}

/* Animations */
.fade-up-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Section */
.jumbotron-container {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--primary-color);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    animation: fadeInVideo 1s ease forwards;
}

@keyframes fadeInVideo {
    to { opacity: 1; }
}

.jumbotron-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    opacity: 0;
    animation: fadeInOverlay 1s ease 0.3s forwards;
}

@keyframes fadeInOverlay {
    to { opacity: 1; }
}

.jumbotron-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: var(--bg-white);
    padding-left: 10%;
    max-width: 800px;
}

.jumbotron-header {
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--bg-white);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.jumbotron-subtitle {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #eeeeee;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    margin-left: 20px;
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.hero-buttons {
    animation: fadeUp 0.8s ease 1.2s forwards;
    opacity: 0;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background-color: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(212, 175, 55, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-color, #333333);
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    background-color: var(--bg-white);
}

.feature-card:hover .feature-icon svg {
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 20px;
    background-color: var(--bg-white);
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.why-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius);
}

.why-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
    box-shadow: var(--box-shadow);
}

.gold-accent-border {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--accent-color);
    border-radius: var(--border-radius);
    z-index: 1;
}

.why-content {
    flex: 1;
}

.why-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.why-checklist {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.why-checklist li {
    font-size: 16px;
    display: flex;
    align-items: center;
    color: var(--text-main);
    font-weight: 500;
}

.check-icon {
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 20px;
}

/* Map Section */
.map-section {
    padding: 100px 20px;
    background-color: var(--bg-secondary);
}

/* Location Banner */
.location-banner {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 20px 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--accent-color);
}
.banner-icon {
    font-size: 24px;
}
.banner-text strong {
    display: block;
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 5px;
}
.banner-text p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.5;
}

/* Location Container */
.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    height: 700px;
}

/* Cards Wrapper */
.location-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    padding-right: 10px;
}
.location-cards-wrapper::-webkit-scrollbar {
    width: 6px;
}
.location-cards-wrapper::-webkit-scrollbar-track {
    background: transparent;
}
.location-cards-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

/* Location Card */
.location-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}
.location-card:hover, .location-card.active {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--accent-color);
}
.loc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.loc-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    transition: var(--transition);
}
.location-card:hover .loc-icon-wrapper, .location-card.active .loc-icon-wrapper {
    color: var(--accent-color);
}
.loc-badge {
    border: 1px solid var(--accent-color);
    background-color: transparent;
    color: var(--text-main);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.location-card h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-main);
}
.location-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}
.view-map-btn {
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    transition: var(--transition);
}
.view-map-btn:hover {
    color: var(--primary-color);
}

/* Map View */
.map-view-wrapper {
    position: relative;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}
.map-view {
    width: 100%;
    height: 100%;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.leaflet-popup-content b {
    color: #111111;
    font-size: 16px;
}

/* Custom Marker Styles */
.custom-marker {
    display: flex;
    justify-content: center;
    align-items: center;
}
.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: var(--accent-color);
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    animation: markerBounce 0.5s ease-out;
}
.marker-pin::after {
    content: '';
    width: 14px;
    height: 14px;
    margin: 8px 0 0 8px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
}
.marker-blue { background: #3B82F6; }
.marker-orange { background: #F97316; }
.marker-red { background: #EF4444; }
.marker-green { background: #22C55E; }
.marker-cyan { background: #06B6D4; }
.marker-purple { background: #A855F7; }

@keyframes markerBounce {
    0% { transform: rotate(-45deg) scale(0); }
    50% { transform: rotate(-45deg) scale(1.2); }
    100% { transform: rotate(-45deg) scale(1); }
}

.bounce-active .marker-pin {
    animation: markerPulse 1s infinite alternate;
}
@keyframes markerPulse {
    0% { transform: rotate(-45deg) scale(1); }
    100% { transform: rotate(-45deg) scale(1.15); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .why-container {
        flex-direction: column;
    }
    
    .gold-accent-border {
        left: 10px;
        top: 10px;
    }
    
    .location-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    .location-cards-wrapper {
        height: 500px;
    }
    .map-view-wrapper {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .jumbotron-header {
        font-size: 42px;
    }
    
    .why-checklist {
        grid-template-columns: 1fr;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .jumbotron-header {
        font-size: 32px;
    }
    
    .jumbotron-subtitle {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .features-section, .why-choose-us, .map-section {
        padding: 60px 15px;
    }
    
    .jumbotron-content {
        padding-left: 5%;
        padding-right: 5%;
    }
}
/* Floating Action Buttons */
.floating-buttons-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    animation: fadeSlideUp 1s ease forwards;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fab-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.fab-whatsapp {
    background-color: #25D366;
    animation: bounce 2s infinite ease-in-out;
}

.fab-call {
    background-color: var(--accent-color);
}

.fab:hover {
    transform: scale(1.1);
}

.fab-call:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.fab-tooltip {
    position: absolute;
    right: 75px;
    background-color: rgba(17, 17, 17, 0.9);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.fab-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(17, 17, 17, 0.9);
}

.fab-wrapper:hover .fab-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .floating-buttons-container {
        bottom: 20px;
        right: 20px;
    }
    .fab {
        width: 50px;
        height: 50px;
    }
    .fab svg {
        width: 24px;
        height: 24px;
    }
}

/* =========================================
   Reviews Section (Infinite Marquee)
   ========================================= */
.reviews-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
    overflow: hidden;
}

.reviews-marquee-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    overflow: hidden;
    padding: 20px 0;
    gap: 30px;
}

.reviews-marquee-container:hover .reviews-marquee {
    animation-play-state: paused;
}

.reviews-marquee {
    display: flex;
    gap: 30px;
    animation: scroll-marquee 25s linear infinite;
    min-width: 100%;
    flex-shrink: 0;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 30px)); }
}

.review-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    width: 400px;
    min-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

[data-theme="dark"] .review-card {
    background: #1a1a1a;
    border-color: #333;
}

[data-theme="dark"] .review-card:hover {
    border-color: var(--accent-color);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.reviewer-info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.reviewer-tag {
    font-size: 13px;
    color: #666;
    background: rgba(212, 175, 55, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 5px;
    display: inline-block;
}

[data-theme="dark"] .reviewer-tag {
    color: #ccc;
    background: rgba(212, 175, 55, 0.2);
}

.review-stars {
    display: flex;
    gap: 2px;
    color: var(--accent-color);
    margin-top: 4px;
    margin-bottom: 6px;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

[data-theme="dark"] .review-text {
    color: #bbb;
}

@media (max-width: 768px) {
    .review-card {
        width: 300px;
        min-width: 300px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .review-card {
        width: 280px;
        min-width: 280px;
        padding: 15px;
    }
}

/* =========================================
   FAQ Section (Accordion)
   ========================================= */
.faq-section {
    padding: 80px 20px;
    background-color: var(--bg-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fafafa;
}

[data-theme="dark"] .faq-item {
    border-color: #333;
    background: #111;
}

.faq-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-color);
}

.chevron-icon {
    transition: transform 0.3s ease, color 0.3s ease;
    color: #888;
}

.faq-item.active .chevron-icon {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--bg-white);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* arbitrary large enough height */
    padding: 0 20px 20px 20px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
}

[data-theme="dark"] .faq-answer p {
    color: #bbb;
    border-top-color: rgba(255,255,255,0.05);
}

/* =========================================
   Route Visualization & Info Panel
   ========================================= */

/* Route Info Panel */
.route-info-panel {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    min-width: 280px;
    max-width: 360px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-family: 'Outfit', sans-serif;
}

.route-info-panel.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

[data-theme="dark"] .route-info-panel {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Route Info Close Button */
.route-info-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}
.route-info-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #333;
}
[data-theme="dark"] .route-info-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #eee;
}

/* Route Endpoints */
.route-info-endpoints {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 14px;
    padding-right: 25px;
}
.route-endpoint {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    padding: 4px 0;
}
.route-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.origin-dot {
    background: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.dest-dot {
    background: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.route-endpoint-line {
    width: 2px;
    height: 16px;
    background: linear-gradient(to bottom, #D4AF37, #3B82F6);
    margin-left: 4px;
    border-radius: 1px;
    opacity: 0.5;
}

/* Route Meta Info Badges */
.route-info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.route-meta-badge,
.route-meta-time,
.route-meta-distance {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.route-meta-badge {
    background: rgba(212, 175, 55, 0.1);
    color: #B8941F;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
[data-theme="dark"] .route-meta-badge {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
}
.route-meta-time {
    background: rgba(59, 130, 246, 0.08);
    color: #2563EB;
    border: 1px solid rgba(59, 130, 246, 0.15);
}
[data-theme="dark"] .route-meta-time {
    background: rgba(59, 130, 246, 0.15);
    color: #60A5FA;
}
.route-meta-distance {
    background: rgba(34, 197, 94, 0.08);
    color: #16A34A;
    border: 1px solid rgba(34, 197, 94, 0.15);
}
[data-theme="dark"] .route-meta-distance {
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
}

/* Clear Route Button */
.route-clear-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
}
.route-clear-btn:hover {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.3);
    color: #EF4444;
}
[data-theme="dark"] .route-clear-btn {
    border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .route-clear-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
}

/* Route Error Toast */
.route-error-toast {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    z-index: 1000;
    background: rgba(239, 68, 68, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}
.route-error-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Marker States — Dimmed & Active */
.custom-marker.marker-dimmed {
    opacity: 0.35;
    transition: opacity 0.3s ease;
}
.custom-marker.marker-active {
    opacity: 1;
    transition: opacity 0.3s ease;
}
.custom-marker.marker-active .marker-pin {
    animation: markerGlow 2s ease-in-out infinite;
}
@keyframes markerGlow {
    0%, 100% { transform: rotate(-45deg) scale(1); filter: drop-shadow(0 0 0 transparent); }
    50% { transform: rotate(-45deg) scale(1.12); filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4)); }
}

/* Route Line Dash Animation */
.route-line-dash {
    animation: routeDash 30s linear infinite;
}
@keyframes routeDash {
    to { stroke-dashoffset: -1000; }
}

/* Enhanced Marker Popup */
.marker-popup-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
    min-width: 160px;
}
.popup-subtitle {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}
.popup-walk-badge {
    font-size: 11px;
    color: #666;
    background: rgba(0, 0, 0, 0.04);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
}
[data-theme="dark"] .popup-walk-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #bbb;
}
.popup-route-btn {
    background: #D4AF37;
    color: #111;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease;
    margin-top: 2px;
}
.popup-route-btn:hover {
    background: #C49F2E;
    transform: translateY(-1px);
}

/* Active Location Card with Route */
.location-card.active .view-map-btn {
    color: var(--primary-color);
    font-weight: 700;
}

/* Mobile Responsive — Route Panel */
@media (max-width: 768px) {
    .route-info-panel {
        left: 10px;
        right: 10px;
        bottom: 10px;
        min-width: unset;
        max-width: unset;
        padding: 16px;
        border-radius: 14px;
    }
    .route-info-endpoints {
        padding-right: 20px;
    }
    .route-endpoint {
        font-size: 13px;
    }
    .route-info-meta {
        gap: 6px;
    }
    .route-meta-badge,
    .route-meta-time,
    .route-meta-distance {
        font-size: 11px;
        padding: 4px 10px;
    }
    .route-error-toast {
        left: 10px;
        right: 10px;
        transform: translateX(0) translateY(-10px);
        white-space: normal;
        text-align: center;
    }
    .route-error-toast.visible {
        transform: translateX(0) translateY(0);
    }
}

