/*
Theme Name: Mon TFE
Author: Ton Nom
Description: Thème WordPress créé pour mon TFE.
Version: 1.0
Text Domain: mon-tfe
*/
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: 'Roboto Condensed', sans-serif;
    background:#f6f5f5;
    color:#111;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* HEADER */

header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:7px 80px;
}

.logo img{
    width:90px;
}

nav{
    display:flex;
    gap:20px;
}

nav a{

    text-decoration:none;
    color:black;
    font-size: 16px;
    font-weight:600;
    transition:0.3s;
}

nav a:hover{
    color:#d49501;
}


/* HERO */

.hero img {
    max-width: 400px;
    height: auto;
    display: block;
    margin-left: 0; /* Annule l'ancien décalage vers la droite */
}

.hero {
    display: flex;
    justify-content: flex-start; /* Aligne les éléments (texte + image) vers la gauche */
    gap: 250px; /* Ajustez cette valeur (ex: 20px, 40px) pour gérer l'écart exact entre votre texte et l'image */
    align-items: center;
    padding-left: 50px;
    padding: 80px;
    margin-left: 100px;
    min-height: 80vh;
}


.hero .container{
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text{
    max-width:850px;
    text-align:center;
    margin-top: 40px;
}

.hero-text h1{

    color:#a81927; 

    font-size:6.5rem;
    letter-spacing: 10px;
    margin-bottom:10px;
}

.hero-text h2{

    font-size:3rem;

    margin-bottom:20px;
}

.hero-text p{

    line-height:1.8;

    margin-bottom:50px;
}

.cta{

    margin-top:10px;

    display:flex;

    flex-direction:column;

    align-items:center;

    margin-top:10px;
}

button{

    background:#d49501;

    color:white;

    border:none;

    padding:17px 45px;

    font-size:1rem;

    cursor:pointer;

    transition:0.3s;
}

.cta a {
    background: #d49501;
    color: white;
    border: none;
    padding: 17px 45px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 40px;
    display: inline-block;
    text-decoration: none !important;
    text-align: center;
    margin-top: 20px;
}
.btn-hero{
    display:inline-block;
    background:#d49501;
    color: #FFF;
    padding:12px 25px;
    font-weight:bold;
    text-decoration:none;
    border-radius:0px;
    transition:0.3s;
}

.btn-hero:hover{
    background:#e0b635;
}
/* Optionnel : Conserver l'effet au survol de la souris */
.cta a:hover {
    background: #b37e00; /* Une couleur un peu plus foncée au survol */
}

button:hover{

    background:#e29f02;
}
.btn-inscription{
    display:inline-block;
    background:#d49501;
    color: #FFF;
    padding:12px 25px;
    font-weight:bold;
    text-decoration:none;
    border-radius:0px;
    transition:0.3s;
}
.btn-inscription:hover{
    background:#e0b635;
}
.hero-image {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligne l'image et le texte au début, sans espace vide */
    gap: 80px; /* Réduit l'espace au minimum (mettez 0px pour coller) */
}

.hero-image img {
    width: 450px;
    max-width: 100%;
}


.hero-text h2{

    font-family: 'Anton', sans-serif;

    font-size: 18px;

    margin-bottom:20px;
}


.hero-text p{

    font-family:'Roboto Condensed', sans-serif;

    font-size: 18px;

    margin-bottom:15px;

}


.cta p{

    font-family:'Roboto Condensed', sans-serif;

    font-size: 18px;

    margin-top: 10px;
    }

/* SECTION VALEURS */

.values{

    padding:120px 80px;

}

.values h2{

    font-family:'Anton', sans-serif;

    font-size:1.5rem;

    margin-bottom:100px;
}


/* CONTAINER */
.values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 70px;
}


/* CARDS */

.value-card{

    background:#a81927; 

    color:white;
   
    width:130px;

    height:70px;

    display:grid;
    align-items:center;
    justify-content:center;

    font-family:'Roboto Condensed', sans-serif;

    font-size: 16px;
    font-weight:bold;

    box-shadow:0 8px 10px rgba(0,0,0,0.15);

    transition:0.3s;
}


/* HOVER */

.value-card:hover{

    transform:translatey(-6px);

    background:#a81927; 
}
/* SECTION ACCUEIL (LE CLUB) */

.club {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 80px;
    gap: 60px;
}

/* colonne texte */
.club .texte {
    flex: 1;
}

.club .texte h1 {
    font-family:'Anton', sans-serif;

    font-size:1.5rem;
    letter-spacing: 1px;
    margin-bottom:100px;
}

/* paragraphes */
.club .texte p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    font-family: 'Roboto Condensed', sans-serif;
}

/* colonne image */
.club .image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.club .image img {
    width: 100%;
    max-width: 500px;
    margin-top: 60px;
    border-radius: 0%;
}
/* SECTION INSCRIPTION (IMAGE GAUCHE / TEXTE DROITE) */

.inscription {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px;
    gap: 60px;
}

/* image à gauche */
.inscription .image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.inscription .image img {
    width: 100%;
    max-width: 500px;
    border-radius: 0%;
    margin-top: 80px;
}

.inscription .texte {
    flex: 1; 
    text-align: center; 
    padding-right: 60px; 
    max-width: 750px; 
    margin-top: -120px;
}

/* titre principal */
.inscription .texte h1 {
    font-size: 1.5rem;
    margin-bottom: 66px;
    font-family:'Anton', sans-serif;
}

/* sous-titre */
.inscription .texte h2 {
    font-size: 18px;
    margin-bottom: 30px;
    font-family: 'Roboto Condensed', sans-serif;
}

/* paragraphe */
.inscription .texte p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: 'Roboto Condensed', sans-serif;
}

/* bouton centré */
.inscription .cta {
    display: flex;
    justify-content: center; 
    display: inline-block;
    text-decoration: none; /* Supprime le soulignement automatique des liens */
    text-align: center;
}
/* FOOTER */


.footer {
    background-color: #ffffff; /* Un noir mat très moderne, moins agressif que le noir pur */
    color: #000000;            /* Un blanc cassé doux pour les yeux */
    padding: 80px 20px 30px 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: 'Roboto Condensed', sans-serif;

}


.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    gap: 120px; /* Espace entre les colonnes */
    flex-wrap: wrap; /* S'adapte automatiquement sur mobile */
}

/* 3. Style de chaque colonne */
.footer-section {
    flex: 1;
    min-width: 220px; /* Évite que les colonnes soient trop écrasées */
}

/* 4. Les Titres (La touche de rouge !) */
.footer-section h3 {
    color: #b31010; /* Le rouge Cobra Kai */
    font-size: 1.2rem;
    text-transform: uppercase; /* Donne un côté plus graphique/sportif */
    letter-spacing: 0px;       /* Un peu d'espace entre les lettres */
    margin-bottom: 20px;
    font-family: 'Roboto Condensed', sans-serif;
}

/* 5. Clean des listes de navigation */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

/* 6. Style des liens */
.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease; /* Transition douce pour l'effet au survol */
}

/* Effet au survol des liens (Deuxième touche de rouge) */
.footer-section a:hover {
    color: #b31010;
    padding-left: 5px; /* Petit effet de décalage sympa au survol */
}

/* 7. Ligne du bas (Copyright) */
.footer-bottom {
    max-width: 1100px;
    margin: 50px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #333333; /* Ligne de séparation fine et discrète */
    text-align: center;
    font-size: 0.85rem;
    color: #777777;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}




/* A propos */

.about{

    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:80px;
    background-color:#efefef; 
    background-image: url('images/fond-entrainement.jpg');
    background-size: cover; /* L'image s'étire pour couvrir tout l'écran */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition */
    background-attachment: fixed;
}
 

.about-content{

    max-width:800px;
    text-align:center;
    margin-bottom:35px;
}

.about-content h1{

    font-family:'Anton', sans-serif;
    font-size:1.5rem;

    color:#a81927;

    margin-bottom:50px;
}

.about-content p{

    font-family:'Roboto Condensed', sans-serif;

    font-size: 16px;

    line-height:1.8;

    margin-bottom:25px;
    color: #ffffff;
}



.about-section{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:120px 150px;

    gap:100px;
    background-color:#fcfcfc; 
}

.about-text{

    flex:1;
}

.about-text h1{

    font-family:'Anton', sans-serif;

    font-size:1.5rem;

    margin-bottom:80px;
}

.about-text p{

    font-family:'Roboto Condensed', sans-serif;

    font-size:16px;

    line-height:1.5;

    margin-bottom:35px;
}

.about-btn{

    display:inline-block;

    margin-top:30px;

    background:#d49501;

    color:white;

    text-decoration:none;

    padding:13px 18px;

    font-size:0.8rem;

    transition:0.3s;
}

.about-btn:hover{

    background:#f7ad02;
}

.about-image{

    flex:1;

    display:flex;

    justify-content:center;
}

.about-image img{

    width:400px;

    height:400px;

    object-fit:cover;
    margin-top: 20px;
    object-fit: cover;
    
   
    object-position: center 20%; 
}


/* SECTION SENSEI */

.sensei-section{

    padding:140px 100px;
}

.sensei-section h2{
    font-family:'Anton', sans-serif;

    font-size:1.5rem;

    margin-bottom:80px; 
    padding-left: 55px;
}

.sensei-container{

    display:flex;

    justify-content:center;

    gap:180px;

    flex-wrap:wrap;
}

.sensei-card{

    text-align:center;

    width:350px;
}

.sensei-card img{

    width: 100px;
    height: 200px;
    object-fit: cover;


    margin-bottom:20px;
}

.sensei-card h3{

    font-size:16px;

    margin-bottom:15px;
}

.badges span {
    display: inline-block;
    padding: 8px 14px;
    margin: 5px;
    border-radius: 20px;
    background-color: #a81927;
    color: #ffffff;
}


h5 {
    text-align: left;
    font-size: 24px;
    margin-bottom: 20px;
    color: #222;
}
h6 {  text-align: center;
    font-size: 18px;
    margin-top: 40px;
    margin-bottom: 50px;
    color: #a81927; 
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-left: 50px;
}

.card {
    padding: 60px;
    border-radius: 0px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);

}

.card h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.card h5 {
    font-size: 14px;
    margin-top: 15px;
    color: #000000;
}

ul {
    padding-left: 18px;
    margin: 8px 0;
}

li {
    font-size: 13px;
    color: #000000;
    margin-bottom: 5px;
}

.infos {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

h4 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #000000;
}

.content1 {
    display: flex;
    gap: 30px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    align-items: flex-start;
    justify-content: center;
}

.image1 {
    flex: 1;
}

.image1 img {
    width: 350px;
    height: 350px;
    margin-left: 150px;
    margin-top: 40px;
    object-fit: cover;
}


.texte {
    flex: 1;
}

.texte h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.texte ul {
    margin-bottom: 25px;
}

ul {
    padding-left: 18px;
    margin-top: 8px;
}

li {
    font-size: 13px;
    color: #000000;
    margin-bottom: 5px;
}

/* 1. Élargir l'accordéon pour qu'il prenne plus de place */
.ceintures .accordeon-cpt {
    width: 100%;       /* Prend toute la largeur disponible de la section */
    max-width: 1200px;  /* Empêche que ce soit trop géant sur les grands écrans */
    margin: 0 auto; 
    margin-bottom: 150px;
}

/* 2. Changer le style des blocs (bordures et look général) */
.ceintures .accordeon-cpt {
    border: 2px solid #b31010; /* Une belle bordure rouge karaté */
    border-radius: 6px;        /* Arrondit légèrement les angles */
    overflow: hidden;          /* Évite que le fond dépasse des angles arrondis */
}

/* 3. Optionnel : Si tu veux mettre le fond des titres en rouge et le texte en blanc */
/* (Attention, selon le code de ton prof, le titre est peut-être un <h3>, un <button> ou une <div>) */
.ceintures .accordeon-cpt h3,
.ceintures .accordeon-cpt button,
.ceintures .accordeon-cpt .titre { 
    background-color: #b31010; /* Fond rouge */
    color: #ffffff;            /* Texte blanc */
    transition: background 0.3s ease;
}

/* Petit effet au survol de la souris */
.ceintures .accordeon-cpt h3:hover,
.ceintures .accordeon-cpt button:hover {
    background-color: #8c0c0c; /* Un rouge un peu plus foncé au survol */
}




.content {
    display: flex;
    gap: 40px;
    padding: 25px;
    background: white;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

.content img {
    width: 100px;
    height: auto;
}

.texte {
    flex: 1;
}

.texte h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.texte ul {
    margin-bottom: 25px;
}

/* Inscription */

.form-container {
    background: rgba(255, 255, 255, 0.625);
    padding: 25px;
    border-radius: 12px;
    width: 550px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);

    /* sécurité de centrage */
    margin: auto;
}
.form-container h1 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
}

input, select, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

textarea {
    resize: none;
    height: 80px;
}

.checkbox {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: 12px;
}

.checkbox input {
    width: auto;
    margin-right: 8px;
}

button1 {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: #e63946;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button1:hover {
    background: #c1121f;
}

/*CONTACT*/
.contact-page {
    max-width: 1200px;
    margin: 80px auto;
    padding: 20px;
}

.contact-page h1 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 50px;
    color: #c1121f;
}

.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 320px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.icon {
    font-size: 0.8rem;
}

.info-box h3 {
    margin: 0 0 8px;
}

.info-box p {
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
}

.contact-form {
    flex: 1;
    min-width: 320px;
    font-size: 14px;
}

.contact-form form {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;

}

.contact-form button {
    width: 20%;
    padding: 15px;
    border: none;
    align-items: center;
    background: #d49501;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    margin: 20px auto 0;
}

.contact-form button:hover {
    background: #fdb203;
}

/* RESPONSIVE */

@media(max-width:1000px){

.hero{

    flex-direction:column;

    text-align:center;
}

nav{

    display:none;
}

.hero-text h1{

    font-size:4rem;
}

.hero-text h2{

    font-size:2.5rem;
}

.hero-image{

    margin-top:50px;
}

}