/* Destination Cards */
.destination-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Horizontal Scroll Container */
.horizontal-scroll {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Scroll Buttons */
.scroll-button {
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.scroll-button:hover {
    transform: scale(1.1) translateY(-50%);
}

/* Touch Scroll Handling */
.cursor-grabbing {
    cursor: grabbing;
    user-select: none;
}

@media (hover: none) {
    /* Hide scroll buttons on touch devices */
    .scroll-left,
    .scroll-right {
        display: none;
    }
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .destination-card {
        width: 100%;
    }
}

/* Smooth transitions */
.group-hover\:scale-110 {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card content fade in */
.destination-card .card-content {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.destination-card:hover .card-content {
    opacity: 1;
    transform: translateY(0);
}

/* Map and Popup Styles */
.custom-popup .leaflet-popup-content-wrapper {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.custom-popup .leaflet-popup-content {
    margin: 16px;
    min-width: 200px;
}

.custom-popup .leaflet-popup-tip {
    background: #ffffff;
}

.popup-content h3 {
    color: #1a1a1a;
    margin-bottom: 8px;
}

.popup-content p {
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Map Container Styles */
#ghana-map {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.leaflet-container {
    font-family: inherit;
    border-radius: 8px;
}

/* Custom Marker Styles */
.leaflet-marker-icon {
    transition: transform 0.3s ease;
}

.leaflet-marker-icon:hover {
    transform: scale(1.2);
}