/* ══════════════════════════════════════════
   KICKBOXING CLUB - STYLE SPORTIF
   Couleurs: Jaune #FFCC00 / Gris / Noir
   ══════════════════════════════════════════ */

:root {
    --yellow: #FFCC00;
    --yellow-dark: #E6B800;
    --yellow-light: #FFD633;
    --black: #0A0A0A;
    --black-light: #1A1A1A;
    --gray-dark: #2A2A2A;
    --gray: #3A3A3A;
    --gray-medium: #666;
    --gray-light: #999;
    --gray-lighter: #CCC;
    --white: #F5F5F5;
    --red: #E53935;
    --green: #43A047;
    --blue: #1E88E5;
    --orange: #FB8C00;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

/* Filigrane du site (logo kb_512.png en fond transparent) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('kb_512.png') center center / min(55vw, 500px) auto no-repeat;
    opacity: 0.06;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: overlay;
}

/* Icone du logo (gant de boxe en SVG inline) */
.brand-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    color: var(--yellow);
    fill: currentColor;
    margin-right: 5px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.accent { color: var(--yellow); }

/* ── NAVBAR ── */
#navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: transparent;
}
#navbar.scrolled {
    background: rgba(10,10,10,0.95);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem; font-weight: 700;
    color: var(--white); text-decoration: none;
    text-transform: uppercase;
}
.nav-logo span { color: var(--yellow); }
.nav-logo i { color: var(--yellow); margin-right: 5px; }

.nav-menu {
    list-style: none; display: flex; gap: 5px; align-items: center;
}
.nav-menu a {
    color: var(--gray-lighter); text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem; text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}
.nav-menu a::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
    background: var(--yellow); transition: all 0.3s ease; transform: translateX(-50%);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--yellow); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 60%; }

.nav-admin {
    background: var(--gray-dark) !important;
    border-radius: 50% !important;
    width: 36px; height: 36px;
    display: flex !important; align-items: center; justify-content: center;
    padding: 0 !important;
}
.nav-admin:hover { background: var(--yellow) !important; color: var(--black) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span {
    display: block; width: 25px; height: 2px; background: var(--white);
    margin: 5px 0; transition: 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO ── */
#hero {
    position: relative; height: 100vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    background: var(--black);
    overflow: hidden;
}
.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: grayscale(60%) brightness(0.4);
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(26,26,26,0.5) 50%, rgba(10,10,10,0.85) 100%),
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,204,0,0.03) 35px, rgba(255,204,0,0.03) 70px);
    z-index: 1;
}
/* Diagonal stripes decoration */
.hero-overlay::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 600px; height: 200%;
    background: repeating-linear-gradient(
        -45deg,
        transparent, transparent 40px,
        rgba(255,204,0,0.05) 40px, rgba(255,204,0,0.05) 42px
    );
    transform: rotate(10deg);
}
.hero-overlay::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--black), transparent);
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center; padding: 20px;
}
.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(255,204,0,0.2);
}
.hero-sub {
    display: block; font-size: 0.35em;
    font-weight: 400; letter-spacing: 8px;
    color: var(--gray-light);
    margin-bottom: 10px;
}
.hero-tagline {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: var(--gray-light);
    letter-spacing: 5px;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background: var(--yellow);
    color: var(--black);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px;
    text-decoration: none;
    border: none; cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 100%, 15px 100%);
    transition: all 0.3s ease;
}
.btn-hero:hover {
    background: var(--yellow-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,204,0,0.3);
}
.btn-hero i { margin-left: 8px; }

.hero-scroll-indicator {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); z-index: 2;
    animation: bounce 2s infinite;
}
.mouse {
    width: 26px; height: 40px;
    border: 2px solid var(--gray-light);
    border-radius: 13px;
    display: flex; justify-content: center; padding-top: 8px;
}
.wheel {
    width: 3px; height: 8px;
    background: var(--yellow);
    border-radius: 2px;
    animation: scroll 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }
@keyframes scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }

/* ── SECTIONS ── */
.section {
    padding: 100px 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.section.revealed {
    opacity: 1;
    transform: translateY(0);
}
.section-dark {
    background: var(--black-light);
}
.section-dark::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
}
.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}
.separator {
    width: 60px; height: 4px;
    background: var(--yellow);
    margin: 0 auto;
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 100%, 5px 100%);
}

/* ── PRESENTATION ── */
.presentation-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.presentation-text .lead {
    font-size: 1.2rem;
    color: var(--yellow);
    margin-bottom: 20px;
    font-weight: 300;
}
.presentation-text p {
    color: var(--gray-lighter);
    line-height: 1.8;
    margin-bottom: 15px;
}
.stats-row {
    display: flex; gap: 30px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-dark);
}
.stat { text-align: center; flex: 1; }
.stat-number {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem; font-weight: 700;
    color: var(--yellow);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.presentation-image { display: flex; justify-content: center; }
.image-placeholder {
    width: 100%; aspect-ratio: 4/3;
    background: var(--gray-dark);
    border: 2px dashed var(--gray);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--gray-light);
    border-radius: 8px;
}
.image-placeholder i { font-size: 3rem; margin-bottom: 15px; color: var(--yellow); opacity: 0.5; }

/* ── SCHEDULE TABLE ── */
.schedule-table-wrapper { overflow-x: auto; }
.schedule-table {
    width: 100%; border-collapse: collapse;
    background: var(--gray-dark);
    border-radius: 8px; overflow: hidden;
}
.schedule-table th {
    background: var(--yellow);
    color: var(--black);
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 20px;
    text-align: left;
}
.schedule-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--gray-lighter);
}
.schedule-table tr:hover td { background: rgba(255,204,0,0.05); }
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-green { background: rgba(67,160,71,0.2); color: var(--green); }
.badge-orange { background: rgba(251,140,0,0.2); color: var(--orange); }
.badge-red { background: rgba(229,57,53,0.2); color: var(--red); }
.badge-blue { background: rgba(30,136,229,0.2); color: var(--blue); }

/* ── TRAINERS ── */
.trainers-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.trainer-card {
    background: var(--gray-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}
.trainer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: var(--yellow);
}
.trainer-photo {
    height: 200px;
    background: linear-gradient(135deg, var(--gray) 0%, var(--black-light) 100%);
    display: flex; align-items: center; justify-content: center;
}
.trainer-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.trainer-photo i {
    font-size: 4rem;
    color: var(--yellow);
    opacity: 0.4;
}
.trainer-info { padding: 25px; }
.trainer-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}
.trainer-title {
    display: inline-block;
    color: var(--yellow);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.trainer-info p {
    color: var(--gray-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ── GALLERY ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}
.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex; align-items: flex-end;
    padding: 15px;
    opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
    color: var(--yellow);
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
}
.gallery-empty {
    text-align: center;
    color: var(--gray-light);
    font-size: 1.1rem;
    padding: 40px;
}

/* ── INSCRIPTION ── */
.inscription-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.inscription-icon {
    font-size: 4rem;
    color: var(--yellow);
    margin-bottom: 25px;
}
.inscription-content > p {
    color: var(--gray-lighter);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}
.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: var(--yellow);
    color: var(--black);
    font-family: 'Oswald', sans-serif;
    font-size: 1rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px;
    text-decoration: none; border: none; cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: var(--yellow-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,204,0,0.3);
}
.btn-primary i { margin-right: 8px; }
.inscription-docs {
    margin-top: 40px;
    text-align: left;
    background: var(--gray-dark);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--yellow);
}
.inscription-docs h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.inscription-docs ul { list-style: none; }
.inscription-docs li {
    padding: 8px 0;
    color: var(--gray-lighter);
}
.inscription-docs li i {
    color: var(--yellow);
    margin-right: 10px;
}

/* ── INFORMATIONS ── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.info-card {
    background: var(--gray-dark);
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.info-card:hover {
    border-color: var(--yellow);
    transform: translateY(-3px);
}
.info-icon {
    width: 70px; height: 70px;
    margin: 0 auto 20px;
    background: rgba(255,204,0,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.info-icon i {
    font-size: 1.6rem;
    color: var(--yellow);
}
.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.info-card p {
    color: var(--gray-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ── CONTACT ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--gray-dark);
    border: 1px solid var(--gray);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-medium); }
.form-group textarea { resize: vertical; }

.form-feedback { margin-top: 10px; }
.form-feedback .success { color: var(--green); font-weight: 700; }
.form-feedback .error { color: var(--red); font-weight: 700; }

.contact-info-side { display: flex; flex-direction: column; gap: 25px; }
.contact-detail {
    display: flex; align-items: flex-start; gap: 15px;
}
.contact-detail i {
    font-size: 1.3rem;
    color: var(--yellow);
    margin-top: 4px;
}
.contact-detail strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.contact-detail p {
    color: var(--gray-light);
    line-height: 1.6;
}
.contact-socials {
    display: flex; gap: 12px;
    margin-top: 10px;
}
.contact-socials a {
    width: 45px; height: 45px;
    background: var(--gray-dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-lighter);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}
.contact-socials a:hover {
    background: var(--yellow);
    color: var(--black);
}

/* ── FOOTER ── */
#footer {
    background: var(--black-light);
    padding: 30px 0;
    border-top: 1px solid var(--gray-dark);
}
.footer-content {
    text-align: center;
}
.footer-brand {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem; font-weight: 700;
    margin-bottom: 10px;
}
.footer-brand span { color: var(--yellow); }
.footer-brand i { color: var(--yellow); }
#footer p {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* ── LIGHTBOX ── */
.lightbox {
    position: fixed; inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: 4px; }
.lightbox-close {
    position: absolute; top: 20px; right: 30px;
    background: none; border: none;
    color: var(--white); font-size: 2.5rem;
    cursor: pointer; transition: color 0.3s;
}
.lightbox-close:hover { color: var(--yellow); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--black-light);
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        gap: 0;
    }
    .nav-menu.active { right: 0; }
    .nav-menu li { width: 100%; }
    .nav-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--gray-dark); }
    .nav-menu a::after { display: none; }

    .presentation-grid { grid-template-columns: 1fr; gap: 30px; }
    .stats-row { flex-wrap: wrap; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }

    .section { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }

    /* Tableau horaires en cartes sur mobile */
    .schedule-table thead { display: none; }
    .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td {
        display: block; width: 100%;
    }
    .schedule-table tr {
        background: var(--gray-dark);
        margin-bottom: 12px;
        border-radius: 8px;
        padding: 18px 20px;
        border-left: 4px solid var(--yellow);
    }
    .schedule-table td {
        padding: 4px 0;
        border-bottom: none;
        position: relative;
        padding-left: 100px;
        text-align: left;
    }
    .schedule-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0; top: 4px;
        font-family: 'Oswald', sans-serif;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--yellow);
        font-weight: 600;
    }
}
