/* ========================================
   Battle Zone Boxing - Modern Website
   ======================================== */

/* CSS Variables */
:root {
    --primary: #DC2626;
    --primary-dark: #B91C1C;
    --secondary: #1F2937;
    --dark: #111827;
    --darker: #0a0a0a;
    --light: #F9FAFB;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --white: #FFFFFF;
    --accent: #FBBF24;

    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 12px;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--white);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-light);
    position: relative;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

.nav-btn:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/hero-bg.jpg') center top/contain no-repeat;
    background-color: var(--darker);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hero-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 24px;
}

.hero-title {
    font-size: clamp(48px, 10vw, 120px);
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gray-light), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(36px, 6vw, 64px);
    color: var(--white);
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transform: translate(20px, 20px);
    z-index: -1;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ========================================
   Programs Section
   ======================================== */
.programs {
    background: var(--darker);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    position: relative;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 32px;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
}

.program-card.featured {
    background: linear-gradient(135deg, var(--dark) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-color: var(--primary);
}

.program-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
}

.program-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 12px;
    margin-bottom: 24px;
}

.program-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.program-title {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.program-desc {
    color: var(--gray-light);
    font-size: 15px;
    margin-bottom: 20px;
}

.program-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.program-link:hover {
    color: var(--accent);
}

/* ========================================
   Coaches Section
   ======================================== */
.coaches {
    background: var(--dark);
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.coach-card {
    background: var(--darker);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.coach-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.coach-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

.coach-card:hover .coach-image img {
    transform: scale(1.05);
}

.coach-info {
    padding: 24px;
}

.coach-name {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.coach-title {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 12px;
}

.coach-bio {
    color: var(--gray-light);
    font-size: 15px;
}

/* ========================================
   Events Section
   ======================================== */
.events {
    background: var(--darker);
}

.events-grid {
    display: grid;
    gap: 24px;
}

.event-card {
    display: flex;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.event-card:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    background: var(--primary);
    padding: 24px;
}

.event-day {
    font-family: var(--font-display);
    font-size: 48px;
    line-height: 1;
}

.event-month {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.event-info {
    flex: 1;
    padding: 24px;
}

.event-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 8px;
}

.event-title {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.event-desc {
    color: var(--gray-light);
    font-size: 15px;
    margin-bottom: 16px;
}

.event-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    color: var(--gray);
    font-size: 14px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.events-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.events-cta p {
    color: var(--gray-light);
    margin-bottom: 16px;
}

/* ========================================
   Schedule Section
   ======================================== */
.schedule {
    background: var(--dark);
}

.schedule-wrapper {
    background: var(--darker);
    border-radius: 8px;
    overflow: hidden;
}

.schedule-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-tab {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.schedule-tab:hover {
    color: var(--white);
}

.schedule-tab.active {
    color: var(--white);
}

.schedule-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.schedule-content {
    padding: 24px;
}

.schedule-day {
    display: none;
}

.schedule-day.active {
    display: block;
}

.schedule-item {
    display: grid;
    grid-template-columns: 200px 1fr 150px;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    color: var(--primary);
    font-weight: 600;
}

.schedule-class {
    font-weight: 600;
}

.schedule-coach {
    color: var(--gray-light);
    text-align: right;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    position: relative;
    background: url('../img/cta-bg.jpg') center/cover no-repeat;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(220, 38, 38, 0.9) 0%,
        rgba(139, 10, 10, 0.9) 100%
    );
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-text h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-text p,
.contact-text a {
    color: var(--gray-light);
    font-size: 15px;
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 8px;
    color: var(--gray-light);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Contact Form */
.contact-form {
    background: var(--dark);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--dark);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 15px;
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-links ul a {
    color: var(--gray-light);
    font-size: 15px;
}

.footer-links ul a:hover {
    color: var(--primary);
}

.footer-newsletter p {
    color: var(--gray-light);
    font-size: 15px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form .btn {
    padding: 12px 20px;
    font-size: 12px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--gray);
    font-size: 14px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-image::after {
        display: none;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px;
        gap: 24px;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .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);
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        flex-direction: row;
        gap: 8px;
        padding: 16px;
        min-width: auto;
    }

    .event-day {
        font-size: 32px;
    }

    .schedule-tabs {
        overflow-x: auto;
    }

    .schedule-tab {
        padding: 16px;
        white-space: nowrap;
    }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .schedule-coach {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .contact-form {
        padding: 24px;
    }
}
