:root {
    --chiro-red: #db3e41;
    --chiro-blue: #1d4e89;
    --chiro-yellow: #f2a900;
    --chiro-brown: #724c2a;
    --bg-color: #fdfbf7;
    --text-color: #333;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Patrick Hand', cursive;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--chiro-blue);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.hero-img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-section:hover .hero-img {
    transform: scale(1.05);
}

.hero-text {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 4px solid var(--chiro-red);
    max-width: 80%;
}

/* Playful Cards */
.card {
    border: none;
    border-radius: 20px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-header {
    background-color: var(--chiro-yellow);
    color: white;
    font-family: var(--font-heading);
    border-bottom: none;
    padding: 1rem;
}

/* Buttons */
.btn-chiro {
    background-color: var(--chiro-red);
    color: white;
    font-family: var(--font-heading);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: transform 0.2s ease, background-color 0.2s;
    box-shadow: 0 4px 0 #a82b2e; /* 3D effect */
}

.btn-chiro:hover {
    background-color: #c42b2e;
    transform: translateY(-2px);
    color: white;
}

.btn-chiro:active {
    transform: translateY(2px);
    box-shadow: none;
}

/* Navbar */
.navbar {
    background-color: white !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    border-bottom: 5px solid var(--chiro-yellow);
}

.navbar-brand {
    font-family: var(--font-heading);
    color: var(--chiro-red) !important;
    font-size: 1.8rem;
    transform: rotate(-2deg);
}

.nav-link {
    font-family: var(--font-heading);
    color: var(--chiro-blue) !important;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: transform 0.2s;
}

.nav-link:hover {
    transform: scale(1.1) rotate(2deg);
    color: var(--chiro-red) !important;
}

/* Footer */
footer {
    background-color: var(--chiro-blue);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
    border-radius: 50px 50px 0 0;
}

/* Input Fields */
input, textarea {
    border: 3px solid #ddd !important;
    border-radius: 15px !important;
    padding: 1rem !important;
    font-family: var(--font-body);
}

input:focus, textarea:focus {
    border-color: var(--chiro-yellow) !important;
    box-shadow: none !important;
}

/* Group Colors */
.group-header {
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    display: inline-block;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.group-ribbels { background-color: #8e44ad; } /* Paars */
.group-speelclub { background-color: #f1c40f; color: #333; } /* Geel */
.group-rakwis { background-color: #2ecc71; } /* Groen */
.group-titos { background-color: #e74c3c; } /* Rood */
.group-ketis { background-color: #3498db; } /* Blauw */
.group-aspis { background-color: #e67e22; } /* Oranje */

/* Leader Carousel */
.leader-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--chiro-yellow) transparent;
}

.leader-carousel::-webkit-scrollbar {
    height: 8px;
}

.leader-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.leader-carousel::-webkit-scrollbar-thumb {
    background-color: var(--chiro-yellow);
    border-radius: 20px;
}

.leader-card-wrapper {
    flex: 0 0 auto;
    width: 280px; /* Fixed width for cards */
    scroll-snap-align: center;
    cursor: pointer;
}

/* Zwoele Modal Animation */
.modal.fade .modal-dialog {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-content {
    border-radius: 30px;
    border: none;
    overflow: hidden;
}

.leader-modal-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-bottom: 5px solid var(--chiro-yellow);
}

/* Calendar Styles */
.calendar-card {
    display: flex;
    align-items: center; /* Vertically center items since description is gone */
    padding: 1.2rem;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calendar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: transparent;
}

.calendar-date-badge {
    background-color: var(--chiro-red);
    color: white;
    padding: 0.8rem;
    border-radius: 12px;
    text-align: center;
    width: 70px; /* Fixed width for consistency */
    flex-shrink: 0; /* Prevent shrinking */
    margin-right: 1.5rem;
    font-family: var(--font-heading);
    box-shadow: 0 3px 0 #a82b2e;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calendar-day {
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.calendar-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 2px;
}

.calendar-title {
    font-size: 1.4rem;
    margin-bottom: 0; /* No margin since description is hidden */
    color: var(--chiro-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.calendar-icon {
    font-size: 1.5rem;
    color: var(--chiro-yellow);
    margin-left: auto;
    transition: transform 0.2s;
}

.calendar-card:hover .calendar-icon {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    body { font-size: 1.1rem; }
    .hero-img { height: 50vh; }
    .hero-text { padding: 1.2rem; max-width: 90%; bottom: 15%; }
    .navbar { padding: 0.75rem 0; }
    .navbar-brand { font-size: 1.5rem; }
    .nav-link { font-size: 1.05rem; margin: 0 6px; }
    .leader-card-wrapper { width: 70vw; }
    .leader-modal-img { height: 260px; }
    .calendar-title { font-size: 1.25rem; }
    .calendar-date-badge { width: 64px; }
}

@media (max-width: 576px) {
    body { font-size: 1rem; }
    .hero-img { height: 40vh; }
    .hero-text { padding: 1rem; bottom: 12%; }
    .navbar-brand { font-size: 1.3rem; }
    .nav-link { font-size: 0.95rem; margin: 0 4px; }
    .leader-card-wrapper { width: 85vw; }
    .leader-modal-img { height: 200px; }
    .calendar-card { padding: 1rem; }
    .calendar-title { font-size: 1.15rem; }
    .calendar-date-badge { width: 60px; margin-right: 1rem; }
}
