/* Category Page Specific Styles */

/* REDUCED NAV HEIGHT */
.nav-reduced .nav-desktop .h-16 {
    height: 3rem; /* Reduced from 4rem */
}

.nav-reduced .nav-desktop a {
    font-size: 0.875rem; /* Smaller text */
    padding: 0.5rem 0.75rem; /* Reduced padding */
}

.nav-reduced .gradient-text {
    font-size: 1.25rem; /* Reduced logo size */
}

/* REDUCED HERO HEIGHT (70% of original) */
.hero-section-reduced {
    height: 56vh; /* Reduced from 80vh */
    min-height: 350px; /* Reduced from 500px */
}

/* Featured Waterfall Cards */
.featured-waterfall-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-waterfall-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Map Markers */
.map-marker {
    position: relative;
}

.map-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.map-marker:hover .map-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Updated Category Cards - With Gradient Backgrounds */
.category-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

/* UPDATED: Floating Weather Widget (Shows after reviews scroll) */
.floating-weather {
    position: fixed;
    top: 20%;
    right: 20px;
    width: 250px;
    z-index: 30;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.floating-weather.visible {
    opacity: 1;
    visibility: visible;
}

.floating-weather .weather-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    border-radius: 16px;
    overflow: hidden;
}

.floating-weather .weather-animation.cloudy-animation {
    background: linear-gradient(45deg, rgba(156, 163, 175, 0.1) 0%, rgba(209, 213, 219, 0.2) 100%);
}

.floating-weather .cloud {
    position: absolute;
    background: rgba(156, 163, 175, 0.3);
    border-radius: 20px;
    animation: float-cloud 6s ease-in-out infinite;
}

.floating-weather .cloud-1 {
    top: 15%;
    left: 10%;
    width: 20px;
    height: 8px;
    animation-delay: 0s;
}

.floating-weather .cloud-2 {
    top: 35%;
    right: 15%;
    width: 15px;
    height: 6px;
    animation-delay: 2s;
}

.floating-weather .cloud-3 {
    top: 55%;
    left: 20%;
    width: 12px;
    height: 5px;
    animation-delay: 4s;
}

@keyframes float-cloud {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    33% { transform: translateX(8px) translateY(-3px); }
    66% { transform: translateX(-3px) translateY(3px); }
}

/* Filter Section */
.filter-active {
    background: #3b82f6 !important;
    color: white !important;
}

/* View Toggle */
.view-toggle button.active {
    background: #3b82f6;
    color: white;
}

/* Waterfall Directory - List View */
.directory-list-view .waterfall-card {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 16px;
}

.directory-list-view .waterfall-card img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

.directory-list-view .waterfall-info {
    flex: 1;
}

/* Button Styles - Matching Menu Colors */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #2563eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .floating-weather {
        display: none;
    }
    
    .hero-section-reduced {
        height: 40vh;
        min-height: 280px;
    }
    
    .featured-waterfall-card {
        margin-bottom: 20px;
    }
    
    .directory-list-view .waterfall-card {
        flex-direction: column;
        text-align: center;
    }
    
    .directory-list-view .waterfall-card img {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Active States */
.dropdown-item.active {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

/* Enhanced Hover Effects */
.glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Waterfall Rating Stars */
.rating-stars {
    color: #fbbf24;
}

/* Distance and Difficulty Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-distance {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.badge-easy {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.badge-moderate {
    background: rgba(251, 146, 60, 0.1);
    color: #ea580c;
}

.badge-challenging {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}
