/* Travel Map Styles */
.travel-container {
    min-height: calc(100vh - 200px);
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.travel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.travel-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    color: var(--text-primary, #333);
}

.travel-header p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* Map Wrapper */
.map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
}

#travel-map {
    height: 70vh;
    min-height: 400px;
    width: 100%;
    z-index: 1;
}

/* Map Stats */
.map-stats {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--color-blue-darkest, #062943) 0%, var(--color-blue-darker, #18405F) 100%);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(6, 41, 67, 0.3);
    z-index: 1000;
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid var(--color-blue-medium, #4A718F);
}

.map-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-yellow-light, #FFD9A7);
}

.map-stats i {
    color: var(--color-yellow-medium, #DEAD6C);
}

.map-stats strong {
    color: var(--color-yellow-light, #FFD9A7);
}

/* Custom Marker Styles */
.custom-marker {
    background: transparent;
    border: none;
}

.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, var(--color-blue-medium, #4A718F) 0%, var(--color-blue-darker, #18405F) 100%);
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -15px;
    animation: bounce 0.5s ease-in-out;
    box-shadow: 0 2px 8px rgba(6, 41, 67, 0.4);
}

.marker-pin::after {
    content: '';
    width: 14px;
    height: 14px;
    margin: 8px 0 0 8px;
    background: var(--color-yellow-light, #FFD9A7);
    position: absolute;
    border-radius: 50%;
}

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

/* Leaflet Popup Customization */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0;
    min-width: 180px;
}

.popup-content {
    padding: 1rem;
    text-align: center;
}

.popup-content h6 {
    margin: 0 0 0.5rem;
    color: var(--text-primary, #333);
    font-size: 1.1rem;
}

.popup-content p {
    margin: 0 0 0.75rem;
    color: var(--text-secondary, #666);
    font-size: 0.9rem;
}

.popup-content .btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--color-blue-medium, #4A718F) 0%, var(--color-blue-dark, #2C5675) 100%);
    border: 1px solid var(--color-blue-darker, #18405F);
    color: var(--color-yellow-light, #FFD9A7);
}

.popup-content .btn:hover {
    background: linear-gradient(135deg, var(--color-blue-dark, #2C5675) 0%, var(--color-blue-darker, #18405F) 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(6, 41, 67, 0.3);
}

/* Modal Customization */
.modal-content {
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-background, #ffffff);
    border: 2px solid var(--color-blue-medium, #4A718F);
}

.modal-header {
    background: linear-gradient(135deg, var(--color-blue-darkest, #062943) 0%, var(--color-blue-dark, #2C5675) 100%);
    color: var(--color-yellow-light, #FFD9A7);
    border: none;
    border-bottom: 2px solid var(--color-yellow-medium, #DEAD6C);
}

.modal-header .modal-title {
    color: var(--color-yellow-light, #FFD9A7);
}

.modal-header .btn-close {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(5deg);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

#carouselImages img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--color-blue-darker, #18405F);
    border-radius: 50%;
    padding: 1rem;
    border: 2px solid var(--color-yellow-medium, #DEAD6C);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--color-blue-dark, #2C5675);
    border-color: var(--color-yellow-light, #FFD9A7);
}

.modal-body .text-muted {
    color: var(--color-blue-medium, #4A718F) !important;
}

.modal-body .text-muted i {
    color: var(--color-yellow-medium, #DEAD6C);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .travel-container {
        padding: 1rem 0.5rem;
    }

    #travel-map {
        height: 60vh;
        min-height: 350px;
    }

    .map-stats {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        gap: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    #carouselImages img {
        height: 250px;
    }

    .popup-content {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    #travel-map {
        height: 50vh;
        min-height: 300px;
    }

    .map-stats {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    .travel-header h1 {
        font-size: 1.5rem;
    }
}

