/* Style pour la navigation principale */
nav {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  will-change: opacity;
  z-index: 2;
  z-index: 1000;
  background: linear-gradient(135 deg, rgba(255,255,255,0.1), rgba(255, 255, 255, 0.575));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgb(201, 115, 3);
  box-shadow: rgba(255,255,255,0);
  }

/* Alignement horizontal de la liste de liens */
nav .nav-links {
    display: flex; /* Met les liens sur une ligne */
    list-style: none;
    gap: 2rem; /* Espace entre les liens */
    margin: 0;
    padding: 0;
}

/* Style des liens */
nav .nav-links a {
    text-decoration: none;
    color: #ffffff; /* Ta couleur --fg */
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

/* Effet au survol ET pour la page active */
nav .nav-links a:hover, 
nav .nav-links a.active {
    background-color: rgba(255, 255, 255, 0.911); /* Fond léger */
    color: #000; /* Change la couleur au besoin */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Petite ombre pour l'effet "hover" */
    backdrop-filter: blur(5px);
}

/* global.css */

/* Variables pour garder une cohérence avec ton index.php */
:root {
    --fg: #241910;
    --bg: #fefbf4;
}

body {
            /* On s'assure que le fond correspond au reste du site */
            background-color: #111111; 
            margin: 0;
            color: white;
            display: flex;
            flex-direction: column;
            min-height: 100vh; /* Prend toute la hauteur de l'écran */
            margin: 0;
        }

        main {
    padding-top: 120px; 
    padding-bottom: 50px; 
    min-height: 80vh;
    display: flex;
    flex-direction: column;  /* ← AJOUTER */
    align-items: center;     /* ← AJOUTER */
    flex: 1;
}

        h2 {
            text-align: center;
            margin-bottom: 30px;
            color: #ff7505;
        }

/* Style pour harmoniser DataTables avec ton thème */
#csgoTable {
    border-radius: 10px;
    overflow: hidden;
}

#csgoTable thead th {
    background: rgba(255, 255, 255, 0.2);
    color: var(--fg);
    border-bottom: 2px solid var(--fg) !important;
}
#csgoTable thead th {
  background: linear-gradient(180deg, #a05006, #000);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  padding: 15px;
}
/* --- Style spécifique à la page Contact --- */

.page-contact main {
    display: flex;
    justify-content: center;
    align-items: center; /* Centre verticalement */
    min-height: calc(100vh - 150px); /* Ajuste selon la taille du header/footer */
}

.contact-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 117, 5, 0.3); /* Bordure orange subtile */
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 117, 5, 0.1);
}

.contact-container h2 {
    margin-top: 0;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Mise en page du formulaire */
#en-tete {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 15px;
}

.input-group label {
    margin-bottom: 8px;
    color: #ff7505;
    font-size: 0.9rem;
    font-weight: bold;
}

.input-group label span {
    color: #fff;
}

/* Style des champs de saisie */
.contact-container input, 
.contact-container textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-container input:focus, 
.contact-container textarea:focus {
    outline: none;
    border-color: #ff7505;
    box-shadow: 0 0 10px rgba(255, 117, 5, 0.4);
}

/* Décoration du bouton */
#button {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background: linear-gradient(135deg, #ff7505, #a05006);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    font-size: 1rem;
}

#button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 117, 5, 0.4);
    background: linear-gradient(135deg, #ff8c2b, #ff7505);
}

#button:active {
    transform: translateY(0);
}

/* Message d'information (session) */
.info-msg {
    background: rgba(255, 117, 5, 0.2);
    border: 1px solid #ff7505;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.nombre-image {
    text-align: center;
    margin-top: 100px;
}

/* Mise en page de la grille */
/* Conteneur principal (La Grille) */
.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    /* --- AJOUTS --- */
    padding-top: 120px; /* Espace pour le header */
    width: 90%;         /* Largeur de la zone de contenu */
    margin: 0 auto;     /* Centre la galerie horizontalement */
    max-width: 1200px;  /* Empêche la galerie d'être trop large sur grand écran */
}

/* Conteneur individuel de l'image (Le cadre) */
.image-item {
    overflow: hidden; /* Important : coupe l'image qui dépasse lors du zoom */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 250px; /* Optionnel : force une hauteur uniforme si les images ont des tailles différentes */
}

/* Style de l'image */
.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit le cadre sans déformer l'image */
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease; /* Animation fluide */
    filter: grayscale(0);
}

/* L'animation au survol */
.image-item:hover img {
    transform: scale(1.1); /* Zoom de 10% */ 
    cursor: pointer; /* Change le curseur en main */
    filter: grayscale(1);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    /* --- AJOUTS --- */
    padding-top: 120px; /* Espace pour le header */
    width: 90%;         /* Largeur de la zone de contenu */
    margin: 0 auto;     /* Centre la galerie horizontalement */
    max-width: 1200px;  /* Empêche la galerie d'être trop large sur grand écran */
}

.partner-link {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ff7505, #a05006); /* Dégradé orange du site */
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.partner-link:hover {
    transform: translateY(-3px); /* Petit saut au survol */
    background: linear-gradient(135deg, #ff8c2b, #ff7505); /* Version plus claire au survol */
    box-shadow: 0 6px 20px rgba(255, 117, 5, 0.4);
    color: white;
}

.footer {
    backdrop-filter: blur(10px); /* Rappel de l'effet de ton header */
    border-top: 2px solid #ff7505; /* Bordure orange caractéristique de ton thème */
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    margin-top: auto; /* S'assure de rester en bas grâce au flex du body */
}

.footer p {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 5px 0;
    text-transform: uppercase; /* Style pro / gaming */
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
}

/* Style spécifique pour le copyright ou le nom pour les mettre en avant */
.footer p:last-child {
    color: #ff7505; /* Ton orange de référence */
    font-weight: bold;
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Style "Extra" pour le lien spécifique du footer */
.footer-link-extra {
    color: #ff7505; /* Orange du thème */
    text-decoration: none;
    position: relative;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Petit trait animé sous le lien */
.footer-link-extra::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #ff7505;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px #ff7505; /* Effet de lueur orange */
}

/* Effet au survol : le lien brille et le trait s'allonge */
.footer-link-extra:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #ff7505; /* Effet de texte brillant */
}

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

.plan_projet {
    text-align: center;
    width: 100%;
    margin-top: 50px;
    padding: 20px;
}

.plan_projet h1 {
    color: #ff7505;
    margin-bottom: 20px;
}

.plan_link {
    display: flex;
    justify-content: center;  /* Centre horizontalement */
    align-items: center;
    gap: 20px;                /* Espace entre les liens */
    flex-wrap: wrap;          /* Passe à la ligne sur petit écran */
}

.plan_link a {
    color: #ff7505;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 25px;
    border: 1px solid #ff7505;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 117, 5, 0.1);
}

.plan_link a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #ff7505, #a05006);
    text-shadow: 0 0 10px #ff7505;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 117, 5, 0.4);
}