/* 
 * Wushu Apeldoorn - Modern Clean Light Theme
 * Focused on athletic performance, discipline, modern aesthetics, light clean background.
 */

:root {
    --w-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --w-font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    
    /* Harmonious modern athletic color palette */
    --w-primary: #dc2626;          /* Athletic Crimson / Vermilion */
    --w-primary-hover: #b91c1c;
    --w-primary-subtle: #fef2f2;
    --w-primary-border: #fecaca;
    
    --w-accent: #f59e0b;           /* Gold / Amber accent */
    --w-accent-subtle: #fffbeb;
    
    --w-dark: #0f172a;             /* Deep slate / ink */
    --w-dark-rgb: 15, 23, 42;
    --w-muted: #64748b;            /* Slate muted text */
    --w-light: #ffffff;
    --w-surface: #f8fafc;          /* Slate 50 clean surface */
    --w-surface-alt: #f1f5f9;      /* Slate 100 */
    --w-border: #e2e8f0;           /* Slate 200 border */
    
    --w-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --w-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
    --w-shadow-lg: 0 10px 25px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
    --w-shadow-xl: 0 20px 35px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.04);
}

[x-cloak] {
    display: none !important;
}

.w-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1055;
}

body {
    font-family: var(--w-font-sans);
    color: var(--w-dark);
    background-color: var(--w-surface);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: var(--w-font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--w-dark);
}

/* ==========================================================================
   Fancier Modern Navigation System
   ========================================================================== */

.w-navbar {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.w-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    border-bottom-color: rgba(226, 232, 240, 0.9);
}

/* Brand icon with athletic glow */
.w-brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--w-primary) 0%, #ef4444 100%);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-brand:hover .w-brand-icon {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

.w-dragon-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-brand:hover .w-dragon-icon {
    transform: rotate(8deg) scale(1.1);
}


/* Desktop Navigation Links (Clean, Seamless & Dynamic) */
.w-nav-link {
    position: relative;
    font-weight: 600;
    font-size: 0.92rem;
    color: #475569 !important;
    padding: 0.48rem 0.95rem !important;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.w-nav-link:hover {
    color: var(--w-primary) !important;
    background: rgba(220, 38, 38, 0.05);
    text-decoration: none !important;
    transform: translateY(-1px);
}

.w-nav-link:focus {
    text-decoration: none !important;
    outline: none;
}

.w-nav-link.active {
    color: var(--w-primary) !important;
    font-weight: 700;
    background: rgba(220, 38, 38, 0.08);
    text-decoration: none !important;
}

.w-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--w-primary);
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.6);
}

/* Backwards compatibility for w-nav-pill */
.w-nav-pill {
    position: relative;
    font-weight: 600;
    font-size: 0.92rem;
    color: #475569 !important;
    padding: 0.48rem 0.95rem !important;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.w-nav-pill:hover {
    color: var(--w-primary) !important;
    background: rgba(220, 38, 38, 0.05);
    text-decoration: none !important;
    transform: translateY(-1px);
}

.w-nav-pill.active {
    color: var(--w-primary) !important;
    font-weight: 700;
    background: rgba(220, 38, 38, 0.08);
    text-decoration: none !important;
}

.w-nav-pill.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--w-primary);
    box-shadow: 0 0 6px rgba(220, 38, 38, 0.6);
}

/* Fancy CTA Proefles Button with shine sweep */
.btn-w-cta {
    position: relative;
    overflow: hidden;
    padding: 0.62rem 1.35rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.w-cta-arrow {
    transition: transform 0.2s ease;
}

.btn-w-cta:hover .w-cta-arrow {
    transform: translateX(3px);
}

.btn-w-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: left 0.6s ease;
}

.btn-w-cta:hover::after {
    left: 130%;
}

/* Animated Hamburger Button */
.w-burger-btn {
    width: 42px;
    height: 42px;
    padding: 11px 9px;
    background: #ffffff;
    border: 1px solid var(--w-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--w-shadow-sm);
}

.w-burger-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.w-burger-line {
    width: 100%;
    height: 2px;
    background-color: var(--w-dark);
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.w-burger-btn.is-open .w-burger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.w-burger-btn.is-open .w-burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.w-burger-btn.is-open .w-burger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile navbar spacing adjustments */
@media (max-width: 991.98px) {
    .w-navbar .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .w-navbar .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .w-burger-btn {
        margin-right: 2px;
    }
}

/* Fancier Mobile Menu Card */
.w-mobile-menu-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.12);
}

.w-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #334155;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.w-mobile-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.w-mobile-link:hover, .w-mobile-link:active {
    background: var(--w-primary-subtle);
    color: var(--w-primary) !important;
    text-decoration: none !important;
}

.w-mobile-link:hover .w-mobile-icon, .w-mobile-link:active .w-mobile-icon {
    background: var(--w-primary);
    color: #ffffff;
}

.w-mobile-link.active {
    background: var(--w-primary-subtle);
    color: var(--w-primary) !important;
    font-weight: 700;
}

.w-mobile-link.active .w-mobile-icon {
    background: var(--w-primary);
    color: #ffffff;
}

/* Custom Primary Button */
.btn-w-primary {
    background: linear-gradient(135deg, var(--w-primary) 0%, #ef4444 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
    transition: all 0.25s ease;
}

.btn-w-primary:hover {
    background: linear-gradient(135deg, var(--w-primary-hover) 0%, var(--w-primary) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-w-outline {
    background: transparent;
    color: var(--w-dark);
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    border: 1.5px solid var(--w-border);
    transition: all 0.25s ease;
}

.btn-w-outline:hover {
    background: #ffffff;
    color: var(--w-primary);
    border-color: var(--w-primary-border);
    transform: translateY(-2px);
    box-shadow: var(--w-shadow);
}

/* Badges */
.w-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: var(--w-primary-subtle);
    color: var(--w-primary);
    border: 1px solid var(--w-primary-border);
}

.w-badge-amber {
    background: var(--w-accent-subtle);
    color: #b45309;
    border: 1px solid #fde68a;
}

/* Cards */
.w-card {
    background: #ffffff;
    border: 1px solid var(--w-border);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--w-shadow-sm);
}

.w-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--w-shadow-xl);
    border-color: #cbd5e1;
}

.w-card-interactive {
    cursor: pointer;
}

/* Feature Icons */
.w-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--w-primary-subtle);
    color: var(--w-primary);
}

/* Hero Section */
.w-hero-section {
    position: relative;
    padding: 5rem 0 4rem;
    background: radial-gradient(100% 70% at 50% 0%, #fff1f2 0%, var(--w-surface) 100%);
    border-bottom: 1px solid var(--w-border);
}

.w-hero-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--w-shadow-xl);
    border: 6px solid #ffffff;
}

.w-hero-floating-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 1rem 1.25rem;
    border-radius: 14px;
    box-shadow: var(--w-shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Rooster / Schedule Filter Buttons */
.w-filter-btn {
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--w-border);
    background: #ffffff;
    color: #475569;
    transition: all 0.2s ease;
}

.w-filter-btn:hover {
    border-color: var(--w-primary-border);
    color: var(--w-primary);
}

.w-filter-btn.active {
    background: var(--w-primary);
    color: #ffffff;
    border-color: var(--w-primary);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

/* Schedule Table Item */
.w-schedule-card {
    background: #ffffff;
    border: 1px solid var(--w-border);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    transition: all 0.2s ease;
}

.w-schedule-card:hover {
    border-color: var(--w-primary-border);
    box-shadow: var(--w-shadow);
}

/* Accordion FAQ */
.w-faq-item {
    background: #ffffff;
    border: 1px solid var(--w-border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.w-faq-item.active {
    border-color: var(--w-primary-border);
    box-shadow: var(--w-shadow-sm);
}

.w-faq-header {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.w-faq-body {
    padding: 0 1.5rem 1.25rem;
    color: #475569;
}

/* Section Headings */
.w-section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    margin-bottom: 0.75rem;
}

.w-section-subtitle {
    font-size: 1.1rem;
    color: var(--w-muted);
    max-width: 620px;
    margin: 0 auto;
}

/* Modern clean modal */
.w-modal .modal-content {
    border: 1px solid var(--w-border);
    border-radius: 20px;
    box-shadow: var(--w-shadow-xl);
}

/* Responsive adjustment */
@media (max-width: 991px) {
    .w-hero-section {
        padding: 3rem 0;
    }
}

/* Mobile-only full width button utility */
@media (max-width: 575.98px) {
    .btn-mobile-full {
        width: 100% !important;
    }
}