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

:root {
    /* Color Palette derived from Maarssen flag (Red, Gold/Yellow, Blue) */
    --color-bg-dark: #0f1218;
    --color-bg-card: rgba(25, 30, 45, 0.4);
    --color-bg-alt: #161a23;
    
    --color-primary-red: #e62020;  /* Keel (Red) */
    --color-primary-gold: #ffbe0f; /* Goud (Yellow) */
    --color-primary-blue: #0056b3; /* Azuur (Blue) */
    --color-blue-glow: rgba(0, 86, 179, 0.4);
    --color-red-glow: rgba(230, 32, 32, 0.2);

    --color-text: #ffffff;
    --color-text-muted: #a0a6b3;

    --font-main: 'Outfit', sans-serif;
    
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs for dynamic look */
.blobblob {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--color-blue-glow);
    top: -200px;
    right: -200px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--color-red-glow);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

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

.section {
    padding: 6rem 0;
}

.alt-bg {
    background-color: var(--color-bg-alt);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Typograhy & Elements */
h1, h2, h3, h4 {
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary-gold) 0%, var(--color-primary-red) 50%, var(--color-primary-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.glass-card {
    background: linear-gradient(145deg, rgba(25, 30, 45, 0.4) 0%, rgba(15, 18, 24, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 30%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent);
    transform: skewX(-20deg);
    transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 30px rgba(230, 32, 32, 0.05);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-red), #b01515);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 32, 32, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 32, 32, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--color-primary-gold);
    color: #000;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Nav */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 100;
    padding: 0.8rem 2rem;
    background: rgba(15, 18, 24, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.main-header.scrolled {
    background: rgba(15, 18, 24, 0.85);
    padding: 0.6rem 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    width: 85%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1;
}

.logo-text small {
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--color-primary-gold);
}

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

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 86, 179, 0.2);
    border: 1px solid rgba(0, 86, 179, 0.4);
    color: #66b3ff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    width: 100%;
    height: 400px;
    border-radius: 30px;
    position: relative;
    padding: 0;
}

.slideshow {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 30px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeCycle 20s infinite;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(25, 30, 45, 0.4), rgba(230, 32, 32, 0.1));
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }

@keyframes fadeCycle {
    0%, 20% { opacity: 1; transform: scale(1); }
    25%, 95% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.stat-circle {
    position: absolute;
    top: 40px;
    left: -30px;
    width: 140px;
    height: 140px;
    background: rgba(15, 18, 24, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-primary-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.secondary-circle {
    top: auto;
    bottom: 30px;
    left: auto;
    right: -20px;
    border-color: var(--color-primary-blue);
    animation-delay: -3s;
    width: 130px;
    height: 130px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

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

/* Trainingen Section */
.training-card {
    padding: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.training-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

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

.training-details {
    padding: 3rem;
}

.training-details h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.details-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.details-list .icon {
    font-size: 1.5rem;
    background: rgba(255, 190, 15, 0.1);
    padding: 0.5rem;
    border-radius: 10px;
}

/* Evenementen Section */
.events-col h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-primary-gold);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.events-list {
    list-style: none;
}

.event-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.event-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.event-item:hover {
    transform: translateX(10px);
}

.event-date {
    background: var(--color-primary-blue);
    color: white;
    border-radius: 12px;
    width: 60px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.8;
}

.event-desc h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: white;
}

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

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-gold);
    background: rgba(255,255,255,0.1);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* Footer */
.main-footer {
    background: #0a0c10;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-left { transform: translateX(-50px); }
.fade-right { transform: translateX(50px); }
.fade-left.active, .fade-right.active { transform: translateX(0); }

/* Responsive UI */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .training-info { grid-template-columns: 1fr; }
    .training-image { height: 300px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(15, 18, 24, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
    }
    
    .nav-links.active { right: 0; }
    .mobile-menu-btn { display: flex; z-index: 101; }
    .hero { padding-top: 8rem; }
    .contact-container { grid-template-columns: 1fr; }
    .stat-circle { width: 100px; height: 100px; padding: 1rem; left: -10px; }
    .secondary-circle { right: -10px; }
    .stat-number { font-size: 1.5rem; }
}

/* Trainers Page */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.trainer-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.trainer-avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-primary-gold);
    transition: var(--transition);
}

.trainer-card:hover .trainer-avatar {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary-gold);
}

.trainer-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.trainer-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
