:root {
    --bg-dark: #1a1a1b;
    --bg-gray: #dcdcdc;
    --primary-red: #e32b21;
    --text-light: #ffffff;
    --text-dark: #1a1a1b;
}

@font-face {
    font-family: 'Playhigh Expanded';
    src: url('assets/FONT/playhigh-modern-condensed/WEB/Playhigh-Expanded.woff2') format('woff2'),
        url('assets/FONT/playhigh-modern-condensed/WEB/Playhigh-Expanded.woff') format('woff');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Playhigh Expanded';
    src: url('assets/FONT/playhigh-modern-condensed/WEB/Playhigh-ExpandedItalic.woff2') format('woff2'),
        url('assets/FONT/playhigh-modern-condensed/WEB/Playhigh-ExpandedItalic.woff') format('woff');
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial Black', Gadget, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.header {
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    background: rgba(26, 26, 27, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    position: relative;
    z-index: 201;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(26, 26, 27, 0.98);
    backdrop-filter: blur(20px);
    z-index: 199;
    transition: right 0.4s ease;
    padding: 100px 40px 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu.active {
    right: 0;
}

.menu-close {
    position: absolute;
    top: 25px;
    right: 40px;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
    width: 50px;
    height: 50px;
    transition: transform 0.2s ease;
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-close:hover {
    transform: scale(1.1);
    color: var(--primary-red);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    z-index: 198;
    transition: opacity 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.menu-links a {
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    display: block;
}

.menu-links a:hover {
    color: var(--primary-red);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1600&q=80');
}

.hero-slide:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?auto=format&fit=crop&w=1600&q=80');
}

.hero-slide:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1623874514711-0f321325f318?auto=format&fit=crop&w=1600&q=80');
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-logo-container {
    position: relative;
    width: min(70vw, 700px);
    margin: 0 auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-main,
.hero-logo-shadow,
.hero-logo-shadow-2 {
    width: 100%;
    height: auto;
}

.hero-logo-main {
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.1s ease-out;
}

.hero-logo-shadow {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transform: translate(-10px, 10px);
    transition: transform 0.1s ease-out;
}

.hero-logo-shadow-2 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transform: translate(-18px, 18px);
    transition: transform 0.1s ease-out;
}

.footnote { font-size: 12px; margin: 40px 0; opacity: 0.8; }

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
    margin-top: 40px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 100px 40px; }

.beyond-training { background: #222; padding: 150px 0; }
.italic-title { font-size: 48px; font-style: italic; color: var(--primary-red); font-family: 'Playhigh Expanded', sans-serif; }
.description { font-size: 18px; line-height: 1.6; color: #888; font-family: sans-serif; }
.red-text { color: var(--primary-red); margin-bottom: 20px; }
.red-bold { color: var(--primary-red); font-weight: bold; }

.ems-section { background: #222; }
.ems-content { padding: 100px 60px; }
.big-italic { font-size: 100px; font-style: italic; color: var(--primary-red); margin-bottom: 20px; font-family: 'Playhigh Expanded', sans-serif; }
.big-italic.dark { color: var(--text-dark); }
.ems-content p { font-family: sans-serif; line-height: 1.6; color: #ccc; }

.image-box { position: relative; height: 300px; overflow: hidden; }
.image-box img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.mini-btn {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(255,255,255,0.7);
    padding: 5px 10px; font-size: 8px; text-decoration: none; color: black;
}

.about-section { background: var(--bg-gray); color: var(--text-dark); }
.about-text p { font-family: sans-serif; line-height: 1.6; }
.about-visual { position: relative; height: 400px; }
.red-box { 
    width: 250px; 
    height: 350px; 
    background: var(--primary-red); 
    position: absolute; 
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.dark-box { 
    width: 250px; 
    height: 350px; 
    background: #222; 
    position: absolute; 
    top: 100px; 
    left: 100px;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.box-collision-left {
    transform: translateX(-300px);
}

.box-collision-left.animate-in {
    transform: translateX(0);
}

.box-collision-right {
    transform: translateX(300px);
}

.box-collision-right.animate-in {
    transform: translateX(0);
}

.contact-section { background: var(--bg-gray); color: var(--text-dark); border-top: 1px solid #ccc; }
.big-italic-outline { font-size: 80px; font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--text-dark); font-family: 'Playhigh Expanded', sans-serif; }
.label { font-size: 12px; margin: 20px 0; color: #666; }
.info-list { margin-top: 40px; }
.info-row { padding: 15px 0; border-bottom: 1px solid #bbb; font-family: sans-serif; }
.info-row span { font-weight: bold; margin-right: 15px; }
.info-row a { color: inherit; text-decoration: none; border-bottom: 1px solid black; }

form input, form textarea {
    width: 100%;
    padding: 15px 0;
    margin-bottom: 10px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #bbb;
    font-family: sans-serif;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .glitch-text { font-size: 60px; }
    .big-italic { font-size: 60px; }
}
