/* Global styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Hero section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('https://images.unsplash.com/photo-1520769669658-f07657f5a307');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

/* Destination cards */
.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
}

.card-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
}

.location {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
    }

    .destination-card {
        height: 250px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.destination-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Add to your existing styles.css */

/* Map Styles */
.custom-marker {
    background: none;
    border: none;
}

.custom-marker i {
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.5));
}

.location-list {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.location-list .list-group-item {
    border-left: none;
    border-right: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.location-list .list-group-item:first-child {
    border-top: none;
}

.location-list .list-group-item:last-child {
    border-bottom: none;
}

.location-list .list-group-item:hover {
    background-color: #f8f9fa;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--light-color);
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Dark Mode Styles */
.dark-mode .navbar {
    background-color: #2d2d2d !important;
}

.dark-mode .navbar-light .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8);
}

.dark-mode .navbar-light .navbar-nav .nav-link:hover {
    color: #fff;
}

.dark-mode .dropdown-menu {
    background-color: #2d2d2d;
    border-color: #404040;
}

.dark-mode .dropdown-item {
    color: rgba(255,255,255,0.8);
}

.dark-mode .dropdown-item:hover {
    background-color: #404040;
    color: #fff;
}