/* Style du titre "Insight Hunter" dans le header */
.site-title {
    font-family: 'DotGothic16', 'Overpass Mono', sans-serif;
    font-size: 28px; /* Grossir le titre */
    letter-spacing: 2px; /* Espacement pour un effet plus tech */
    font-weight: 700; /* Met en valeur le titre */
    text-transform: uppercase; /* Style plus impactant */
    color: #ffffff; /* Assure une bonne lisibilité */
    transition: all 0.3s ease-in-out; /* Effet fluide au survol */
}

/* Effet d'animation au survol */
.site-title:hover {
    color: #0d6efd; /* Bleu tech OSINT */
    text-shadow: 0px 0px 8px rgba(13, 110, 253, 0.8);
}
/* Effet glitch pour le titre "Insight Hunter" */
@keyframes glitch {
    0% {
        text-shadow: 2px 2px 0px #ff0000, -2px -2px 0px #00ffea;
    }
    25% {
        text-shadow: -2px 2px 0px #ff0000, 2px -2px 0px #00ffea;
    }
    50% {
        text-shadow: 2px -2px 0px #ff0000, -2px 2px 0px #00ffea;
    }
    75% {
        text-shadow: -2px -2px 0px #ff0000, 2px 2px 0px #00ffea;
    }
    100% {
        text-shadow: 2px 2px 0px #ff0000, -2px -2px 0px #00ffea;
    }
}

/* Applique l'effet glitch */
.site-title {
    font-family: 'DotGothic16', 'Overpass Mono', sans-serif;
    font-size: 32px;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    display: inline-block;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease-in-out;
}

/* Activation de l'effet glitch au survol */
.site-title:hover {
    animation: glitch 0.2s infinite;
    color: #0d6efd;
    text-shadow: 0px 0px 10px rgba(13, 110, 253, 0.8);
    transform: scale(1.05);
}
/* Animation glitch lente en continu */
@keyframes glitch-slow {
    0% {
        text-shadow: 1px 1px 0px #ff0000, -1px -1px 0px #00ffea;
    }
    25% {
        text-shadow: -1px 1px 0px #ff0000, 1px -1px 0px #00ffea;
    }
    50% {
        text-shadow: 1px -1px 0px #ff0000, -1px 1px 0px #00ffea;
    }
    75% {
        text-shadow: -1px -1px 0px #ff0000, 1px 1px 0px #00ffea;
    }
    100% {
        text-shadow: 1px 1px 0px #ff0000, -1px -1px 0px #00ffea;
    }
}

/* Animation glitch rapide au survol */
@keyframes glitch-fast {
    0% {
        text-shadow: 2px 2px 0px #ff0000, -2px -2px 0px #00ffea;
    }
    25% {
        text-shadow: -2px 2px 0px #ff0000, 2px -2px 0px #00ffea;
    }
    50% {
        text-shadow: 2px -2px 0px #ff0000, -2px 2px 0px #00ffea;
    }
    75% {
        text-shadow: -2px -2px 0px #ff0000, 2px 2px 0px #00ffea;
    }
    100% {
        text-shadow: 2px 2px 0px #ff0000, -2px -2px 0px #00ffea;
    }
}

/* Applique l'effet glitch lent en permanence */
.site-title {
    font-family: 'DotGothic16', 'Overpass Mono', sans-serif;
    font-size: 32px;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    display: inline-block;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease-in-out;
    animation: glitch-slow 1.5s infinite alternate; /* Glitch lent en boucle */
}

/* Activation de l'effet glitch rapide au survol */
.site-title:hover {
    animation: glitch-fast 0.2s infinite; /* Glitch rapide */
    color: #0d6efd;
    text-shadow: 0px 0px 12px rgba(13, 110, 253, 0.9);
    transform: scale(1.08);
}

/* ====== VIDÉO DE FOND ====== */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Assombrit légèrement la vidéo */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.osint-title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: flicker 1.5s infinite alternate;
}

.osint-subtitle {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* Effet de scintillement façon terminal */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* ====== SECTION HERO (Effet OSINT) ====== */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    background: url('../img/osint_bg.jpg') no-repeat center center/cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Effet sombre */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.osint-title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: flicker 1.5s infinite alternate;
}

.osint-subtitle {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* Effet de scintillement façon terminal */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* ====== SECTION FONCTIONNALITÉS ====== */
.row .col-md-4 {
    margin-top: 30px;
}

.row .col-md-4 h5 {
    font-weight: bold;
    margin-top: 10px;
}

.row .col-md-4 i {
    transition: transform 0.3s ease-in-out;
}

.row .col-md-4:hover i {
    transform: scale(1.2);
}

/* ====== PAGE DE CONNEXION ====== */
.login-body {
    background: url('../img/osint_bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: white;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
}

.login-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: flicker 1.5s infinite alternate;
}

.login-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Animation effet "flicker" */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.login-footer p {
    font-size: 0.8rem;
    opacity: 0.7;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #f8b400;
    color: white;
    outline: none;
}

.btn-primary {
    background: #f8b400;
    border: none;
    font-weight: bold;
}

.btn-primary:hover {
    background: #d19a00;
}

/* ====== DASHBOARD - STYLE SOBRE OSINT ====== */
.dashboard-body {
    background-color: #121212;
    color: #e0e0e0;
}

/* TITRE SECTIONS */
.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #f8b400;
}

/* TUILES */
.dashboard-tile {
    background: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-tile i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #f8b400;
}

.dashboard-tile h5 {
    font-size: 1.2rem;
    font-weight: bold;
}

.dashboard-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 20px rgba(255, 200, 0, 0.3);
}

/* CARTES - COMMUNICATIONS */
.dashboard-card {
    background: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
}

.dashboard-card h5 {
    font-weight: bold;
    margin-bottom: 15px;
    color: #f8b400;
}

/* LISTE COMMUNICATIONS */
.list-group-item {
    background: #1a1a1a;
    border-color: #444;
    color: #e0e0e0;
}

/* BOUTON */
.btn-primary {
    background: #f8b400;
    border: none;
    font-weight: bold;
}

.btn-primary:hover {
    background: #d19a00;
}

/* ====== PAGE GESTION UTILISATEURS ====== */
.form-container {
    background: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #f8b400;
}

.table-dark {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
}

.table-dark th {
    background: #222;
    color: #f8b400;
}

.table-dark td {
    background: #1c1c1c;
}

.btn-primary {
    background: #f8b400;
    border: none;
    font-weight: bold;
}

.btn-primary:hover {
    background: #d19a00;
}

.btn-warning {
    background: #ff9800;
    border: none;
    color: white;
}

.btn-danger {
    background: #d32f2f;
    border: none;
}

/* ====== PAGE MESSAGERIE ====== */
.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #f8b400;
}

/* FORMULAIRE MESSAGERIE */
.form-container {
    background: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #f8b400;
    color: white;
    outline: none;
}

.btn-primary {
    background: #f8b400;
    border: none;
    font-weight: bold;
}

.btn-primary:hover {
    background: #d19a00;
}

/* LISTE DES MESSAGES */
.message-container {
    background: #1f1f1f;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
}

.list-group-item {
    background: #1a1a1a;
    border-color: #444;
    color: #e0e0e0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.list-group-item:hover {
    background: #f8b400 !important; /* Couleur dorée */
    color: black !important; /* Texte noir pour contraste */
    box-shadow: 0px 0px 10px rgba(248, 180, 0, 0.6);
}

.btn-danger {
    background: #d32f2f;
    border: none;
    padding: 5px 10px;
}

.btn-danger:hover {
    background: #b71c1c;
}

/* ====== PAGE NOTIFICATIONS ====== */
.notification-container {
    background: #1f1f1f;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
}

.list-group-item {
    background: #1a1a1a;
    border-color: #444;
    color: #e0e0e0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* SURBRILLANCE DORÉE LORS DU SURVOL */
.list-group-item:hover {
    background: #f8b400 !important;
    color: black !important;
    box-shadow: 0px 0px 10px rgba(248, 180, 0, 0.6);
}

/* ICÔNES */
.bi-exclamation-circle-fill {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-danger {
    background: #d32f2f;
    border: none;
    padding: 5px 10px;
}

.btn-danger:hover {
    background: #b71c1c;
}

/* ====== PAGE GESTION COMMUNICATIONS ====== */
.communication-container {
    background: #1f1f1f;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
}

.list-group-item {
    background: #1a1a1a;
    border-color: #444;
    color: #e0e0e0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* SURBRILLANCE DORÉE AU SURVOL */
.list-group-item:hover {
    background: #f8b400 !important;
    color: black !important;
    box-shadow: 0px 0px 10px rgba(248, 180, 0, 0.6);
}

/* ICÔNES */
.bi-megaphone-fill {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-danger {
    background: #d32f2f;
    border: none;
    padding: 5px 10px;
}

.btn-danger:hover {
    background: #b71c1c;
}

/* ====== PAGE D'ACTIVATION ====== */
.activate-body {
    background: url('../img/osint_bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.activate-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.activate-box {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: white;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
}

.activate-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: flicker 1.5s infinite alternate;
}

.activate-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Animation effet "flicker" */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.activate-footer p {
    font-size: 0.8rem;
    opacity: 0.7;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #f8b400;
    color: white;
    outline: none;
}

.btn-primary {
    background: #f8b400;
    border: none;
    font-weight: bold;
}

.btn-primary:hover {
    background: #d19a00;
}
/* Réinitialisation (FOOTER) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Assurer que le footer ne recouvre pas le contenu */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
    padding-bottom: 60px; /* Assure un espacement avec le footer */
}

/* Footer stylisé identique au header */
.footer {
    background-color: #212529; /* Même couleur que le header */
    color: white;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1030; /* Assure qu'il reste au-dessus des autres éléments */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* Icônes sociales */
.footer .social-icons {
    display: flex;
    align-items: center;
}

.footer .social-icons a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

.footer .social-icons a:hover {
    color: #0d6efd; /* Bleu OSINT */
}

/* Liens légaux */
.footer .legal-links {
    display: flex;
    align-items: center;
}

.footer .legal-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer .legal-links a:hover {
    color: white;
}

/* Assurer un bon affichage sur mobile */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .footer .social-icons,
    .footer .legal-links {
        margin-top: 10px;
    }
}


