/* ═══════════════════════════════════════════════════════════════════════════════ */
/* CULTURAL SITES CATEGORY - COMPLETE CSS                                          */
/* ═══════════════════════════════════════════════════════════════════════════════ */

/* ──────────── 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 #f97316;
    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, #f97316 0%, #dc2626 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-background-animation {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(249, 115, 22, 0.1), rgba(220, 38, 38, 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(249, 115, 22, 0.1);
    color: #f97316;
    transform: translateX(4px);
}

.dropdown-item.active {
    background: linear-gradient(135deg, #f97316, #dc2626);
    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, #f97316 0%, #dc2626 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: #f97316;
    transform: scale(1.2);
}

.image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
    color: white;
}

/* ──────────── FEATURED CARDS ──────────── */
.featured-site-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-site-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;
}

.cloudy-animation {
    background: linear-gradient(45deg, rgba(156, 163, 175, 0.1) 0%, rgba(209, 213, 219, 0.2) 100%);
}

.cloud {
    position: absolute;
    background: rgba(249, 115, 22, 0.3);
    border-radius: 20px;
    animation: float-cloud 6s ease-in-out infinite;
}

.cloud-1 {
    top: 15%;
    left: 10%;
    width: 20px;
    height: 8px;
    animation-delay: 0s;
}

.cloud-2 {
    top: 35%;
    right: 15%;
    width: 15px;
    height: 6px;
    animation-delay: 2s;
}

.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); }
}

/* ──────────── BUTTONS & INTERACTIVE ELEMENTS ──────────── */
.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #b91c1c 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: #f97316 !important;
    color: white !important;
}

/* ──────────── VIEW TOGGLE ──────────── */
.view-toggle button.active {
    background: #f97316;
    color: white;
}

/* ──────────── DIRECTORY STYLES ──────────── */
.site-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;
}

.site-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.directory-list-view .site-card {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 16px;
}

.directory-list-view .site-card img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

.directory-list-view .site-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;
}

/* ──────────── RESPONSIVE DESIGN ──────────── */
@media (max-width: 1024px) {
    .floating-weather {
        display: none;
    }
    
    .hero-section-reduced {
        height: 40vh;
        min-height: 280px;
    }
    
    .featured-site-card {
        margin-bottom: 20px;
    }
    
    .directory-list-view .site-card {
        flex-direction: column;
        text-align: center;
    }
    
    .directory-list-view .site-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);
}

/* ──────────── CULTURAL SITE SPECIFIC STYLES ──────────── */
.cultural-theme {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
}

.temple-icon {
    color: #f97316;
}

.fort-icon {
    color: #d97706;
}

.monastery-icon {
    color: #dc2626;
}

/* ──────────── ACCESSIBILITY ──────────── */
.focus-visible:focus {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}
