/* ═══════════════════════════════════════════════════════════════════════════════ */
/* NATURE PARKS CATEGORY - COMPLETE CSS WITH GREEN-TEAL THEME                      */
/* ═══════════════════════════════════════════════════════════════════════════════ */

/* ──────────── GLOBAL STYLES ──────────── */
* {
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, Arial, sans-serif;
}

/* ──────────── LOADING ANIMATION ──────────── */
.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ──────────── GLASS UTILITY ──────────── */
.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ──────────── NAVIGATION STYLES ──────────── */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-background-animation {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.1), rgba(13, 148, 136, 0.1));
    animation: nav-pulse 4s ease-in-out infinite;
}

@keyframes nav-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.nav-reduced .nav-desktop .h-12 {
    height: 3rem;
}

.nav-reduced .nav-desktop a {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

.nav-reduced .gradient-text {
    font-size: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 250px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    margin: 4px 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    transform: translateX(4px);
}

.dropdown-item.active {
    background: linear-gradient(135deg, #10b981, #0d9488);
    color: white;
}

.dropdown-item i {
    margin-right: 8px;
    width: 16px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
    z-index: 200;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-item {
    display: block;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    border-radius: 8px;
    margin: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
}

/* ──────────── HERO SECTION ──────────── */
.hero-section-reduced {
    height: 56vh;
    min-height: 350px;
    position: relative;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.hero-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background: #10b981;
    transform: scale(1.2);
}

.image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
    color: white;
}

/* ──────────── FEATURED CARDS ──────────── */
.featured-park-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.featured-park-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ──────────── FLOATING WEATHER WIDGET ──────────── */
.floating-weather {
    position: fixed;
    top: 20%;
    right: 20px;
    width: 250px;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-weather.visible {
    opacity: 1;
    visibility: visible;
}

.weather-animation {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    pointer-events: none;
}

.nature-animation {
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.1) 0%, rgba(13, 148, 136, 0.2) 100%);
}

.leaf {
    position: absolute;
    background: rgba(16, 185, 129, 0.3);
    border-radius: 50% 0;
    animation: float-leaf 8s ease-in-out infinite;
}

.leaf-1 {
    top: 20%;
    left: 15%;
    width: 16px;
    height: 12px;
    animation-delay: 0s;
}

.leaf-2 {
    top: 40%;
    right: 20%;
    width: 12px;
    height: 10px;
    animation-delay: 3s;
}

.leaf-3 {
    top: 65%;
    left: 25%;
    width: 10px;
    height: 8px;
    animation-delay: 6s;
}

@keyframes float-leaf {
    0%, 100% { transform: translateX(0px) translateY(0px) rotate(0deg); }
    25% { transform: translateX(8px) translateY(-5px) rotate(45deg); }
    50% { transform: translateX(-3px) translateY(5px) rotate(-30deg); }
    75% { transform: translateX(5px) translateY(-3px) rotate(15deg); }
}

/* ──────────── BUTTONS & INTERACTIVE ELEMENTS ──────────── */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #0f766e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

/* ──────────── FILTERS SECTION ──────────── */
.filter-active {
    background: #10b981 !important;
    color: white !important;
}

/* ──────────── VIEW TOGGLE ──────────── */
.view-toggle button.active {
    background: #10b981;
    color: white;
}

/* ──────────── DIRECTORY STYLES ──────────── */
.park-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.park-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.directory-list-view .park-card {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 16px;
}

.directory-list-view .park-card img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

.directory-list-view .park-info {
    flex: 1;
}

/* ──────────── 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;
}

/* ──────────── NATURE PARK SPECIFIC BADGES ──────────── */
.badge-botanical {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge-island {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.badge-wildlife {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.badge-sanctuary {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.badge-eco {
    background: rgba(6, 78, 59, 0.1);
    color: #064e3b;
}

/* ──────────── SIZE INDICATORS ──────────── */
.size-small {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.size-medium {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.size-large {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

/* ──────────── ACCESSIBILITY INDICATORS ──────────── */
.accessibility-easy {
    color: #22c55e;
}

.accessibility-medium {
    color: #f59e0b;
}

.accessibility-difficult {
    color: #dc2626;
}

/* ──────────── RESPONSIVE DESIGN ──────────── */
@media (max-width: 1024px) {
    .floating-weather {
        display: none;
    }
    
    .hero-section-reduced {
        height: 40vh;
        min-height: 280px;
    }
    
    .featured-park-card {
        margin-bottom: 20px;
    }
    
    .directory-list-view .park-card {
        flex-direction: column;
        text-align: center;
    }
    
    .directory-list-view .park-card img {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
}

@media (min-width: 1025px) {
    .nav-desktop {
        display: block;
    }
    
    .nav-mobile {
        display: none;
    }
}

/* ──────────── ENHANCED HOVER EFFECTS ──────────── */
.glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ──────────── NATURE PARK SPECIFIC STYLES ──────────── */
.nature-theme {
    background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
}

.botanical-icon {
    color: #10b981;
}

.wildlife-icon {
    color: #22c55e;
}

.eco-icon {
    color: #059669;
}

/* ──────────── ACCESSIBILITY ──────────── */
.focus-visible:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}

/* ──────────── ACTIVITY FILTERS ──────────── */
.activity-boating {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.activity-hiking {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.activity-photography {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.activity-picnic {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

/* ──────────── ENVIRONMENTAL INDICATORS ──────────── */
.eco-friendly {
    border-left: 4px solid #10b981;
}

.protected-area {
    border-left: 4px solid #059669;
}

/* ──────────── NATURE PATTERNS ──────────── */
.nature-pattern {
    background-image: radial-gradient(circle at 20px 20px, rgba(16, 185, 129, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
}

/* ──────────── SEASONAL HIGHLIGHTS ──────────── */
.season-spring {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.season-summer {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

.season-monsoon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.season-winter {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}
