/* =========================================
   1. IMPORTS & CONFIGURATION GÉNÉRALE
   ========================================= */
@import url('http://fonts.googleapis.com/css2?family=Bangers&family=Kanit:wght@300;400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: black;
    background-image: url('../images/galerie/dbz_back.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'Kanit', sans-serif;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Bangers', cursive;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFD700;
    text-align: center;
    transform: skewX(-8deg);
    -webkit-text-stroke: 1.5px #000;
    text-shadow: 3px 3px 0px #000, 5px 5px 0px #e72c1f;
}

h1 { 
    font-size: 2.5rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.presentation {
    font-size: 1.15rem;
    text-align: justify;
    color: #f0f0f0;
}

.titre-rouge {
    color: #FFD700; 
    font-family: 'Bangers', cursive;
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: left;
    text-shadow: none; 
    -webkit-text-stroke: 0;
}

.sous-titre-blanc {
    color: #fff;
    text-align: center;
    font-family: 'Kanit', sans-serif;
    text-decoration: underline;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

header {
    background-color: #FF6600;
    border-bottom: 5px solid #FFD700;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(33, 59, 77, 0.683);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

nav ul {
    list-style: none;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #0a0e29;
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #FFD700;
    background-color: #0a0e29;
    box-shadow: 3 1 15px #FFD700;
}

nav ul li a.active {
    color: #0a0e29 !important;      
    background-color: #FFD700;     
    box-shadow: 0 0 10px #FF6600;  
}


.logo-group {
    display: flex;
    align-items: center;
    gap: 50px;
    text-decoration: none;
}

.logo-icon {
    height: 100px;
    width: auto;
    transition: transform 0.5s ease;
}

.logo-group:hover .logo-icon {
    transform: rotate(360deg);
}

.logo-title {
    height: 100px;
    width: auto;
}

main {
    flex: 1;
    max-width: 1080px; 
    margin: 20px auto;    
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.35); 
    border-radius: 15px;
    width: 90%;            
}

footer {
    background-color: #060818;
    color: #FF6600;
    text-align: center;
    padding: 25px;
    border-top: 4px solid #FF6600;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
}

.btn-dbz {
    background-color: #FF6600;
    color: #0a0e29;
    border: 2px solid #FFD700;
    padding: 10px 20px;
    font-family: 'Kanit', sans-serif;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

.btn-dbz:hover {
    background-color: #FFD700;
    transform: scale(1.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
    padding: 10px 20px;
    font-family: 'Kanit', sans-serif;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: #FFD700;
    color: #000;
}

.btn-rouge {
    display: inline-block;
    background-color: #FF6600;
    color: #fff;
    padding: 8px 20px;
    text-decoration: none;
    font-family: 'Kanit', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    border: none;
}

.btn-rouge:hover {
    background-color: #FFD700;
    color: #fff;
    box-shadow: 0 0 10px #FF6600;
}

main img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 1 3 15px rgba(255, 102, 0, 0.5);
}

.badge-date {
    background-color: #FF6600;
    color: #000;
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    font-weight: bold;
    font-family: 'Kanit', sans-serif;
    margin-bottom: 15px;
    box-shadow: 0 0 15px #FF6600;
}

.banner { text-align: center; padding-bottom: 10px; }

.hero-banner {
    position: relative;
    width: 100%;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
    border-bottom: 5px solid #FF6600;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.main-title {
    font-size: 5rem;
    margin: 0;
    text-shadow: 4px 4px 0 #000;
}

.intro-text {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #fff;
}

.section-infos {
    max-width: 1100px;
    margin: 50px auto; 
    background-color: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.section-title {
    color: #FF6600;
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: left;
}

.accueil-container {
    display: flex;          
    align-items: center;   
    gap: 40px;             
    flex-wrap: wrap;        
}

.accueil-texte {
    flex: 1;                
    min-width: 300px;      
    font-size: 1.1rem;      
    line-height: 1.6;      
}

.accueil-texte h3 {
    color: #FF6600;       
    font-family: 'Kanit', sans-serif;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFD700;
    display: inline-block;
}

.accueil-texte strong {
    color: #FFD700;         
}

.accueil-image {
    flex: 1;                
    min-width: 300px;
    text-align: center;
}

.accueil-image img {
    width: 100%;           
    max-width: 400px;      
    border-radius: 15px;    
    border: 3px solid #fff; 
    box-shadow: 0 0 15px #FF6600; 
    transition: transform 0.3s;
}

.cta-block {
    margin-top: 30px;    
}

.stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-width: 300px;
}

.stat-box {
    border: 2px solid #333;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s, border-color 0.3s;
}

.stat-box:hover {
    transform: transform scale(1.05);
    border-color: #FF6600;
}

.chiffre {
    font-family: 'Bangers', cursive;
    font-size: 3rem;
    color: #FFD700;
}

.accueil-image img, .galerie img { 
    transition: filter 0.5s ease, transform 0.3s ease;
    filter: grayscale(100%); 
}

.accueil-image img:hover, .galerie img:hover {
    filter: grayscale(0%);   
    transform: scale(1.05);  
}

.page-contact {
    max-width: 400px !important;
}

form {
    max-width: 300px;
    margin: 0 auto;         
    background-color: rgba(255, 255, 255, 0.1); 
    padding: 20px;          
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5); 
}

#en-tete {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.groupe-input {
    width: 48%;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #FFD700; 
    font-family: 'Kanit', sans-serif;
}

label span {
    color: red; 
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    box-sizing: border-box; 
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #FF6600;
    border-radius: 5px;
    background-color: #fff;
    font-family: 'Kanit', sans-serif;
}

textarea {
    height: 150px; 
    resize: vertical;
}

input[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

.message-retour {
    background-color: #fff;
    border: 3px solid #FFD700;
    color: #000;
    padding: 15px;
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 0 10px #FF6600;
}

.credits-content h3 {
    color: #FFD700;       
    font-family: 'Kanit', sans-serif;
    text-transform: uppercase;
    margin-top: 30px;
    border-bottom: 2px solid #FF6600; 
    display: inline-block;            
}

.main-partenaires {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px; 
    background-color: rgba(0, 0, 0, 0.65); 
    border-radius: 15px; 
    box-shadow: 0 0 30px rgba(0,0,0,0.5); 
}

.intro-partenaires p {
    color: #fff;
    font-size: 1rem;
    text-align: left;
    margin-bottom: 40px;
}

.presentation-partenaires {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #e0e0e0;
}

.docs-container {
    border: 2px solid #FF6600;
    border-radius: 15px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    max-width: 700px;
    margin: 0 auto 60px auto;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.titre-docs {
    color: #FFD700;
    font-family: 'Kanit', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

.desc-docs {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 30px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.doc-item {
    border: 1px solid #FF6600;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.doc-item:hover {
    background-color: rgba(255, 0, 0, 0.1);
}

.doc-item p {
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.members-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.member-card {
    width: 200px;
    background-color: #000;
    border: 1px solid #FF6600; 
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.member-card img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    object-position: top; 
    border-radius: 0; 
    border-bottom: 2px solid #FFD700;
    margin-bottom: 15px;
    box-shadow: none;
    filter: none !important; 
}

.member-card h3 {
    color: #fff;
    font-family: 'Kanit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: none;
    -webkit-text-stroke: 0;
    transform: none; 
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid #333;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: #FF6600; 
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.4);
}

.tableau-dbz {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
}

.tableau-dbz th {
    background-color: #FF6600;
    color: #0a0e29;
    font-family: 'Bangers', cursive;
    padding: 15px;
}

.tableau-dbz td { border: 1px solid #333; padding: 12px; }
.tableau-dbz tr:nth-child(even) { background-color: #252525; }

.dataTables_wrapper {
    color: #FFD700; 
}

table.dataTable tbody tr {
    background-color: #1a1a1a !important; 
    color: white !important;
}

table.dataTable tbody tr td.sorting_1 {
    background-color: #1a1a1a !important; 
    color: white !important;
}

table.dataTable tbody tr:hover,
table.dataTable tbody tr:hover td.sorting_1 {
    background-color: #FF6600 !important;
    color: black !important;
}

.dataTables_wrapper, 
.dataTables_wrapper label, 
.dataTables_wrapper div,
.dataTables_wrapper span,
.dataTables_wrapper a,
.dataTables_wrapper .paginate_button {
    color: white !important;
}

.dataTables_wrapper input, 
.dataTables_wrapper select {
    color: black !important;
    background-color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #FFD700 !important;  
    font-weight: white !important;
    border-radius: 5px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #FF6600 !important; 
    color: white !important;         
    border: 1px solid #FFD700 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #FFD700 !important; 
    color: white !important;        
    border: 1px solid #FF6600 !important;
}