/* Explore Page Styles */

/* Hero Section */
.explore-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Map Section */
.map-section {
    padding: 2rem 0;
}

.map-container {
    position: relative;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

#map {
    width: 100%;
    height: 100%;
}

.map-filters {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: var(--gray-100);
}

.filter-btn.active {
    background: var(--primary-600);
    color: white;
}

/* Destinations Section */
.destinations {
    padding: 4rem 0;
    background: var(--gray-50);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.destination-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

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

.destination-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.destination-content {
    padding: 1.5rem;
}

.destination-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.destination-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.destination-link {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.destination-link:hover {
    color: var(--primary-700);
}

/* Trip Planning Tools */
.trip-tools {
    padding: 4rem 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.tool-card:hover {
    transform: translateY(-4px);
}

.tool-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    background: var(--primary-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tool-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.tool-btn {
    background: var(--primary-600);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tool-btn:hover {
    background: var(--primary-700);
}

/* CTA Section */
.explore-cta {
    background: var(--primary-900);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.explore-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.explore-cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-900);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .destination-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-container {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .destination-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 400px;
    }
    
    .map-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .filter-btn {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
}