/* ==================== CSS RESET & VARIABLES ==================== */
:root {
    /* Dark Theme Colors */
    --bg-dark: #0a0e14;
    --bg-darker: #050709;
    --bg-card: rgba(26, 32, 44, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Accent Colors - Taiwan inspired */
    --accent-teal: #00d4aa;
    --accent-coral: #ff6b6b;
    --accent-gold: #ffc107;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #7f8ca0;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0e14 0%, #1a1f2e 50%, #0f172a 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
    --gradient-coral: linear-gradient(135deg, var(--accent-coral) 0%, #ff8f70 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, #ffdb70 100%);

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Effects */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.3);
}

/* ==================== LIGHT THEME ==================== */
[data-theme="light"] {
    --bg-dark: #ffffff;
    --bg-darker: #f5f5f5;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(0, 0, 0, 0.03);

    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #5f6b7d;

    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f0f4f8 50%, #ffffff 100%);

    --glass-border: 1px solid rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.2);
}

/* Light theme specific overrides */
/* ==================== NAVIGATION ==================== */
.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    padding: 15px 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* ==================== HERO SECTION ==================== */
/* Hero background image layer */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    transition: opacity 0.5s ease, background-image 0.5s ease;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 107, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '';
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--accent-teal);
    border-radius: 2px;
    position: absolute;
    bottom: 56px;
    animation: scrollDot 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scrollDot {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateY(10px);
    }
}

/* ==================== CATEGORIES SECTION ==================== */
/* Category accent colors */
.category-card.visiter {
    --card-accent: var(--accent-coral);
}

.category-card.manger {
    --card-accent: var(--accent-gold);
}

.category-card.etudier {
    --card-accent: var(--accent-blue);
}

.category-card.vivre {
    --card-accent: var(--accent-teal);
}

.category-card.culture {
    --card-accent: var(--accent-purple);
}

.category-card.nature {
    --card-accent: #22c55e;
}

.category-card.marches {
    --card-accent: #f59e0b;
}

.category-card.sources-chaudes {
    --card-accent: #06b6d4;
}

.category-card.temples {
    --card-accent: #a855f7;
}

.category-card.tools {
    --card-accent: #ec4899;
}

/* ==================== FEATURED SECTION ==================== */
.featured-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
}

.featured-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.featured-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ==================== STATS SECTION ==================== */
/* ==================== CTA SECTION ==================== */
/* ==================== FOOTER ==================== */
/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

}
