/* VARIABLES & BASE */
:root {
    --red: #ff1e1e;
    --dark: #0a0a0a;
    --gray: #1a1a1a;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin:0; padding:0; box-sizing: border-box; }
body { background: var(--dark); color: var(--white); font-family: 'Montserrat', sans-serif; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
li { list-style: none; }

/* REUSABLES */
.container { width: 90%; max-width: 1400px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
.red { color: var(--red); }
.dark-bg { background: #050505; }
.title-l { font-size: clamp(2.5rem, 8vw, 6rem); font-weight: 900; line-height: 0.9; text-transform: uppercase; margin-bottom: 50px; }

/* HEADER & BURGER */
.main-header { position: fixed; top:0; width:100%; z-index: 1000; padding: 25px 0; transition: var(--transition); }
.header-scrolled { background: rgba(0,0,0,0.9); padding: 15px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0 5%; }
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: 2px; }
.logo span { color: var(--red); }

.burger-btn { width: 35px; height: 20px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; z-index: 1100; }
.burger-line { width: 100%; height: 2px; background: white; transition: var(--transition); }
.burger-btn.active .burger-line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger-btn.active .burger-line:nth-child(2) { opacity: 0; }
.burger-btn.active .burger-line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* OVERLAY MENU */
.menu-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background: var(--red); transform: translateY(-100%); transition: 0.6s cubic-bezier(0.8, 0, 0.2, 1); z-index: 1050; display: flex; align-items: center; justify-content: center; }
.menu-overlay.open { transform: translateY(0); }
.overlay-nav ul li { margin: 25px 0; text-align: center; }
.overlay-nav ul li a { font-size: 3rem; font-weight: 900; color: var(--dark); transition: 0.3s; }
.overlay-nav ul li a:hover { color: white; }

/* HERO */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; text-align: center; }
.hero-bg-text { position: absolute; font-size: 20vw; font-weight: 900; color: rgba(255,255,255,0.02); z-index: 1; white-space: nowrap; }
.hero-content { z-index: 2; }
.hero-content h1 { font-size: clamp(3rem, 10vw, 8rem); font-weight: 900; letter-spacing: -5px; color: var(--white); }
.btn-main { background: var(--red); color: white; padding: 15px 35px; font-weight: 900; display: inline-block; margin: 10px; transition: var(--transition); border: none; cursor: pointer; }
.btn-outline { border: 2px solid white; color: white; padding: 13px 33px; font-weight: 900; display: inline-block; margin: 10px; transition: var(--transition); }
.btn-main:hover, .btn-outline:hover { transform: translateY(-5px); background: white; color: var(--red); border-color: white; }

/* PLANNING */
.planning-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.planning-card { background: var(--gray); padding: 40px; border-bottom: 4px solid var(--red); }
.card-head { font-size: 1.5rem; font-weight: 900; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.days-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* BOXEURS & FILTRES */
.fighter-controls { margin-bottom: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
#fighterSearch { background: var(--gray); border: 1px solid rgba(255,255,255,0.1); padding: 15px; color: white; width: 300px; outline: none; }
#fighterSearch:focus { border-color: var(--red); }
.filter-btn { background: none; border: 1px solid var(--gray); color: #888; padding: 10px 20px; cursor: pointer; font-weight: 900; transition: 0.3s; }
.filter-btn.active { background: var(--red); color: white; border-color: var(--red); }

.fighter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.fighter-card { background: var(--gray); position: relative; cursor: pointer; transition: var(--transition); overflow: hidden; }
.fighter-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(255,30,30,0.2); }
.fighter-badge { position: absolute; top:15px; right:15px; background: var(--red); padding: 5px 10px; font-size: 0.7rem; font-weight: 900; }
.fighter-badge.blue { background: #0084ff; }
.fighter-img-box { height: 300px; background: #111; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: rgba(255,255,255,0.05); }
.fighter-info { padding: 20px; border-top: 2px solid var(--red); }
.fighter-card.hidden { display: none; }

/* CONTACT FORM */
.contact-flex { display: flex; gap: 50px; flex-wrap: wrap; }
.contact-info, .modern-form { flex: 1; min-width: 300px; }
.input-group { position: relative; margin-bottom: 35px; }
.input-group input, .input-group textarea { width: 100%; background: none; border: none; border-bottom: 1px solid #333; padding: 10px 0; color: white; font-size: 1.1rem; outline: none; }
.input-group label { position: absolute; top: 10px; left: 0; color: #666; transition: 0.3s; pointer-events: none; }
.input-group input:focus ~ label, .input-group input:valid ~ label, .input-group textarea:focus ~ label, .input-group textarea:valid ~ label { top: -20px; font-size: 0.8rem; color: var(--red); }

/* MODAL */
.modal { position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.95); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
.modal-content { background: var(--gray); padding: 50px; width: 90%; max-width: 600px; border-left: 10px solid var(--red); position: relative; }
.close-modal { position: absolute; top:20px; right:20px; font-size: 2rem; cursor: pointer; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.m-item label { display: block; color: var(--red); font-size: 0.7rem; font-weight: 900; }
.m-item span { font-size: 1.3rem; }

@media (max-width: 768px) {
    .title-l { font-size: 3rem; }
    .hero-content h1 { font-size: 4rem; }
}