/* ===== CSS Variables - Light Theme ===== */
:root {
    --primary-color: #c41e3a;
    --primary-dark: #8b0000;
    --secondary-color: #1a1a2e;
    --accent-color: #f4a261;
    
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-dark: #1a1a2e;
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-light: #ffffff;
    --text-muted: #718096;
    
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto; /* Ensure instant scroll works */
}

html, body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    height: auto;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== Page Layout ===== */
.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Header & Navigation ===== */
.site-header {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    border-radius: var(--radius-sm);
}

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

.nav-link.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.25rem;
}

.nav-link.cta-button:hover {
    background: var(--primary-dark);
    color: white;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.mobile-open {
        display: flex;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
    /* Free MMA/Boxing stock image from Unsplash */
    background-image: url('https://images.unsplash.com/photo-1549719386-74dfcbf7dbed?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg, 
        rgba(26,26,46,0.85) 0%, 
        rgba(196,30,58,0.3) 50%,
        rgba(22,33,62,0.9) 100%
    );
    backdrop-filter: blur(1px);
    pointer-events: none; /* Allow clicks to pass through to buttons */
}

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

.hero-title {
    margin-bottom: 0.5rem;
}

.title-warrior {
    display: block;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.title-combat {
    display: block;
    font-size: clamp(1.1rem, 3vw, 1.75rem);
    font-weight: 500;
    color: white;
    letter-spacing: 0.3em;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    border-color: white;
    color: white;
}

.hero-buttons .btn-outline:hover {
    background: white;
    color: var(--secondary-color);
}

/* Hero Social Media Links */
.hero-social {
    margin-top: 2.5rem;
    text-align: center;
}

.hero-social-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: transparent;
}

.social-link.youtube:hover {
    background: #ff0000;
    border-color: transparent;
}

.social-link.tiktok:hover {
    background: #000000;
    border-color: transparent;
}

/* ===== Splash Section ===== */
.splash-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.splash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.splash-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.splash-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.splash-item:hover .splash-image {
    transform: scale(1.1);
}

.splash-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.splash-overlay h3 {
    color: white;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .splash-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Features Section ===== */
.features-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-title {
    font-family: 'Open Sans', sans-serif;
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-family: 'Open Sans', sans-serif;
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-highlights {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.cta-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Open Sans', sans-serif;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.highlight-icon {
    color: #fbbf24;
    font-weight: 700;
}

.cta-buttons-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    font-family: 'Open Sans', sans-serif;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-cta-outline {
    font-family: 'Open Sans', sans-serif;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: white;
    padding: 0.95rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* ===== Page Headers ===== */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
}

/* ===== Schedule Section ===== */
.schedule-section {
    padding: 4rem 0;
}

.schedule-filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.day-schedule {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.day-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.class-card {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.class-card:last-child {
    border-bottom: none;
}

.class-time {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.class-name {
    color: var(--text-primary);
    font-weight: 500;
}

.class-level {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Coaches Section ===== */
.coaches-section {
    padding: 4rem 0;
}

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

.coach-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.coach-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-info {
    padding: 1.5rem;
}

.coach-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.coach-specialty {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
}

.coach-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.coach-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.achievement {
    background: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===== Pricing Section ===== */
.pricing-section {
    padding: 4rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 1.5rem;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
}

.price .period {
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h2, .contact-form-container h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
}

.info-item h3 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

/* ===== Map Section ===== */
.map-section {
    height: 450px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
}

/* ===== Dashboard Section ===== */
.dashboard-section {
    padding: 4rem 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.dashboard-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.membership-type {
    font-weight: 600;
    color: var(--text-primary);
}

.expiry {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.upcoming-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.class-date {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn {
    display: block;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    color: var(--text-primary);
    transition: background 0.2s;
}

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

/* ===== Footer ===== */
.site-footer {
    background: var(--secondary-color);
    color: white;
    padding: 4rem 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-brand {
    font-family: 'Ethnocentric', 'Oswald', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-heading {
    font-family: 'Open Sans', 'Aktiv Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-social-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.footer-social-link.instagram:hover svg {
    color: #E4405F;
}

.footer-social-link.facebook:hover svg {
    color: #1877F2;
}

.footer-social-link.youtube:hover svg {
    color: #FF0000;
}

.footer-social-link.tiktok:hover svg {
    color: #000000;
}

.footer-social-link.twitter:hover svg {
    color: #000000;
}

.footer-social-link span {
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive Social Media */
@media (max-width: 768px) {
    .hero-social {
        margin-top: 2rem;
    }
    
    .hero-social-label {
        font-size: 0.8rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-social-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .footer-social-link {
        padding: 0.25rem 0;
    }
}
