/* --- CONFIGURATION GLOBALE --- */
:root {
    --primary-blue: #3b82f6;
    --primary-green: #22c55e;
    --dark-bg: #0f172a;
    --slate-800: #1e293b;
}

/* Éviter le scroll horizontal pendant les animations AOS */
body {
    overflow-x: hidden;
    background-color: var(--dark-bg);
}

/* Police spécifique pour le branding */
.font-orbitron {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* --- EFFET PHOTO PROFIL --- */
.hero-image-container img {
    filter: grayscale(0%);
    transition: filter 0.5s ease, transform 0.5s ease, border-color 0.5s ease;
    border: 2px solid transparent;
}

.hero-image-container img:hover {
    filter: grayscale(100%);
    transform: scale(1.03);
    border-color: var(--primary-blue);
}

.notranslate {
    /* Cette classe est reconnue nativement par Google Translate */
}

/* --- NAVIGATION & GLASSMORPHISM --- */
.navigation-bar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- PERSONNALISATION SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* --- CARTES & COMPOSANTS --- */
.group {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.group:hover {
    box-shadow: 0 20px 40px -15px rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
}

/* Effets pour les badges de ressources (PDF, Langues) */
.badge-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-image-container img {
        max-width: 250px;
        margin: 0 auto;
    }
}