/*
Theme Name: KVW Lopik
Theme URI: https://kvwlopik.nl
Description: Custom WordPress thema voor Kindervakantieweek Lopik - gebaseerd op Lovart design
Version: 5.0.0
Author: Cobytes / CP Rossum
License: GPL v2 or later
*/

/* ==============================
   CSS VARIABLES
   ============================== */
:root {
    --green: #38B349;
    --yellow: #FFD700;
    --magenta: #E91E63;
    --blue: #2196F3;
    --light-bg: #F8F9FA;
    --dark-text: #434343;
    --white: #ffffff;
}

/* ==============================
   @FONT-FACE (MiSans from Lovart CDN)
   ============================== */
@font-face {
    font-family: 'ZCOOLKuaiLe';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/ZCOOLKuaiLe-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MiSans';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/MiSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MiSansBold';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/MiSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==============================
   RESET & BASE
   ============================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'MiSans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ==============================
   HEADER
   ============================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-emoji {
    font-size: 32px;
    line-height: 1;
}

.logo-text {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 28px;
    color: var(--green);
    line-height: 1;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 8px 16px;
    transition: color 0.3s ease;
    display: block;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--green);
}

.main-navigation .btn-nav-contact a,
a.btn-nav-contact {
    background: var(--yellow);
    color: #333;
    padding: 8px 18px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.main-navigation .btn-nav-contact a:hover,
a.btn-nav-contact:hover {
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6);
    transform: translateY(-1px);
    color: #333;
}

/* Hamburger menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Wave decoration (3-color gradient bar) */
.wave-decoration {
    width: 100%;
    height: 15px;
    background: linear-gradient(to right, var(--green) 33%, var(--yellow) 33%, var(--yellow) 66%, var(--magenta) 66%);
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
    padding: 0 30px;
    margin-left: 5%;
}

.hero-content h1 {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 42px;
    color: var(--green);
    text-transform: uppercase;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-content p {
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 18px;
    color: #555;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: var(--magenta);
    color: #fff;
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
    color: #fff;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ==============================
   CONTENT / CARDS SECTION
   ============================== */
.site-content {
    padding: 60px 30px;
    background: #fff;
}

.cards-section {
    background: var(--light-bg);
    padding: 60px 30px;
    position: relative;
    overflow: hidden;
}

.cards-section .decorative-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.cards-section .decorative-circle-1 {
    width: 200px;
    height: 200px;
    background: var(--green);
    top: -50px;
    right: -50px;
}

.cards-section .decorative-circle-2 {
    width: 150px;
    height: 150px;
    background: var(--magenta);
    bottom: -30px;
    left: -30px;
}

.section-title {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Card variants - border-top instead of full border */
.card-green {
    border-top: 5px solid var(--green);
}

.card-yellow {
    border-top: 5px solid var(--yellow);
}

.card-magenta {
    border-top: 5px solid var(--magenta);
}

.card-blue {
    border-top: 5px solid var(--blue);
}

/* Card icon */
.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}

.card-green .card-icon {
    background: var(--green);
}

.card-yellow .card-icon {
    background: var(--yellow);
}

.card-magenta .card-icon {
    background: var(--magenta);
}

.card-blue .card-icon {
    background: var(--blue);
}

/* Card content */
.card h3,
.card-title {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.card p,
.card-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Card buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-yellow {
    background: var(--yellow);
    color: #333;
}

.btn-magenta {
    background: var(--magenta);
    color: #fff;
}

.btn-green {
    background: var(--green);
    color: #fff;
}

.btn-blue {
    background: var(--blue);
    color: #fff;
}

.card-green .btn {
    background: var(--yellow);
    color: #333;
}

.card-yellow .btn {
    background: var(--magenta);
    color: #fff;
}

.card-magenta .btn {
    background: var(--green);
    color: #fff;
}

/* Card input field (newsletter etc.) */
.card input[type="text"],
.card input[type="email"],
.card-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #eee;
    background: var(--light-bg);
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
    transition: border-color 0.3s ease;
}

.card input[type="text"]:focus,
.card input[type="email"]:focus,
.card-input:focus {
    border-color: var(--green);
    background: #fff;
}

/* Newsletter form in card */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==============================
   INFO SECTION
   ============================== */
.info-section {
    padding: 50px 30px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-image {
    width: 40%;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
}

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

.info-text {
    width: 60%;
}

.info-text h2 {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 32px;
    color: var(--magenta);
    margin-bottom: 15px;
}

.info-text p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.info-tags {
    display: flex;
    gap: 10px;
}

.tag {
    padding: 6px 12px;
    background-color: #f0f0f0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: var(--dark-text);
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
    background: linear-gradient(to bottom, var(--white), #f1f3f5);
    position: relative;
    padding: 40px 30px 20px;
}

.footer-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--green) 33.33%, var(--yellow) 33.33%, var(--yellow) 66.66%, var(--magenta) 66.66%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: transform 0.2s;
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.1);
}

.bg-green { background-color: var(--green); }
.bg-yellow { background-color: var(--yellow); }
.bg-magenta { background-color: var(--magenta); }
.bg-blue { background-color: var(--blue); }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.footer-links a {
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    color: #999;
    font-size: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Legacy social-links class (keep for contact page compatibility) */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--blue);
    font-size: 18px;
    transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* ==============================
   PAGE HEADER (colored banner)
   ============================== */
.page-header {
    background: linear-gradient(135deg, var(--green) 0%, var(--blue) 50%, var(--magenta) 100%);
    padding: 60px 30px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(233, 30, 99, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.page-header h1 {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 42px;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.page-header p {
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 16px;
    color: #fff;
    opacity: 0.9;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.page-header-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 1;
}

.page-header-wave svg {
    display: block;
    width: 100%;
    height: 40px;
}

/* ==============================
   PROGRAMMA PAGE
   ============================== */
.programma-section {
    padding: 60px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Time slots row */
.time-slots {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.time-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.time-slot-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.time-slot-circle.green { background: var(--green); }
.time-slot-circle.yellow { background: var(--yellow); color: #333; }
.time-slot-circle.magenta { background: var(--magenta); }
.time-slot-circle.blue { background: var(--blue); }

.time-slot-label {
    font-size: 13px;
    color: #666;
    font-family: 'MiSans', sans-serif;
}

/* Day cards grid */
.day-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.day-cards-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 66.666%;
    margin: 0 auto;
}

.day-card {
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.day-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.day-card-green {
    border: 3px solid var(--green);
}

.day-card-yellow {
    border: 3px solid var(--yellow);
}

.day-card-magenta {
    border: 3px solid var(--magenta);
}

.day-card-blue {
    border: 3px solid var(--blue);
}

.day-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    color: #fff;
}

.day-card-green .day-card-icon { background: var(--green); }
.day-card-yellow .day-card-icon { background: var(--yellow); }
.day-card-magenta .day-card-icon { background: var(--magenta); }
.day-card-blue .day-card-icon { background: var(--blue); }

.day-card h3 {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 22px;
    margin-bottom: 6px;
    color: #333;
}

.day-card .activity-name {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.day-card .btn-lees-meer {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* ==============================
   INSCHRIJVEN PAGE
   ============================== */
.inschrijven-section {
    padding: 60px 30px;
    max-width: 900px;
    margin: 0 auto;
}

.inschrijven-hero {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
}

.inschrijven-hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.inschrijven-info {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.inschrijven-info h2 {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 24px;
    color: var(--green);
    margin-bottom: 12px;
}

.inschrijven-info p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

.inschrijven-info .price {
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 18px;
    color: var(--magenta);
    margin-top: 12px;
}

/* Registration form */
.registration-form {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.registration-form h2 {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 26px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

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

.form-group label {
    display: block;
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    background: var(--light-bg);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #fff;
    outline: none;
}

/* Colorful form borders - alternating */
.form-group:nth-child(4n+1) input,
.form-group:nth-child(4n+1) select,
.form-group:nth-child(4n+1) textarea {
    border-color: var(--green);
}

.form-group:nth-child(4n+2) input,
.form-group:nth-child(4n+2) select,
.form-group:nth-child(4n+2) textarea {
    border-color: var(--yellow);
}

.form-group:nth-child(4n+3) input,
.form-group:nth-child(4n+3) select,
.form-group:nth-child(4n+3) textarea {
    border-color: var(--magenta);
}

.form-group:nth-child(4n+4) input,
.form-group:nth-child(4n+4) select,
.form-group:nth-child(4n+4) textarea {
    border-color: var(--blue);
}

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

.form-submit-btn {
    display: block;
    width: 100%;
    padding: 14px 32px;
    background: var(--magenta);
    color: #fff;
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    margin-top: 10px;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
}

/* ==============================
   FOTO'S PAGE
   ============================== */
.fotos-section {
    padding: 60px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Category filter tabs */
.photo-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.photo-filter-tab {
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--light-bg);
    color: #666;
    border: 2px solid transparent;
}

.photo-filter-tab:hover,
.photo-filter-tab.active {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.photo-filter-tab.active-yellow {
    background: var(--yellow);
    color: #333;
    border-color: var(--yellow);
}

.photo-filter-tab.active-magenta {
    background: var(--magenta);
    color: #fff;
    border-color: var(--magenta);
}

.photo-filter-tab.active-blue {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* Photos layout */
.fotos-layout {
    display: flex;
    gap: 30px;
}

/* Year sidebar */
.year-sidebar {
    flex-shrink: 0;
    width: 120px;
}

.year-sidebar h3 {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
}

.year-sidebar ul {
    list-style: none;
}

.year-sidebar li {
    margin-bottom: 8px;
}

.year-sidebar a {
    display: block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.year-sidebar a:hover,
.year-sidebar a.active {
    background: var(--blue);
    color: #fff;
}

/* Photo grid */
.photo-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.photo-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 4 / 3;
}

.photo-item:hover {
    transform: scale(1.02);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-item .photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-item:hover .photo-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.photo-overlay i {
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay i {
    opacity: 1;
}

/* Upload button */
.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--green);
    color: #fff;
    border-radius: 25px;
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin-top: 30px;
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 179, 73, 0.4);
}

/* ==============================
   PAGE CONTENT (generic)
   ============================== */
.entry-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 30px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.entry-content h2 {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 28px;
    color: var(--green);
    margin: 2rem 0 1rem;
}

.entry-content h3 {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 22px;
    color: var(--blue);
    margin: 1.5rem 0 0.75rem;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content a {
    color: var(--magenta);
    text-decoration: underline;
}

.entry-content a:hover {
    color: var(--green);
}

.entry-content img {
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* Tables */
.entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.entry-content th,
.entry-content td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.entry-content th {
    background: var(--green);
    color: #fff;
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.entry-content tr:last-child td {
    border-bottom: none;
}

.entry-content tr:nth-child(even) td {
    background: var(--light-bg);
}

.entry-content td {
    font-size: 15px;
    color: var(--dark-text);
}

/* KVW Forms (in page content) */
form.kvw-form {
    max-width: 600px;
    margin: 2rem 0;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.kvw-form label {
    display: block;
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 14px;
    color: var(--dark-text);
    margin-bottom: 6px;
    margin-top: 18px;
}

.kvw-form label:first-child {
    margin-top: 0;
}

form.kvw-form input[type="text"],
form.kvw-form input[type="email"],
form.kvw-form input[type="tel"],
form.kvw-form input[type="date"],
form.kvw-form select,
form.kvw-form textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #ddd !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-family: 'MiSans', sans-serif !important;
    background: var(--light-bg) !important;
    transition: border-color 0.3s ease, background 0.3s ease;
    display: block;
    margin-bottom: 4px;
    box-sizing: border-box;
}

form.kvw-form input:focus,
form.kvw-form select:focus,
form.kvw-form textarea:focus {
    background: #fff !important;
    outline: none;
    border-color: var(--green) !important;
}

/* Alternating colored borders on inputs directly */
form.kvw-form input:nth-of-type(4n+1),
form.kvw-form select:nth-of-type(4n+1) { border-color: var(--green) !important; }

form.kvw-form input:nth-of-type(4n+2),
form.kvw-form select:nth-of-type(4n+2) { border-color: var(--yellow) !important; }

form.kvw-form input:nth-of-type(4n+3),
form.kvw-form select:nth-of-type(4n+3) { border-color: var(--magenta) !important; }

form.kvw-form input:nth-of-type(4n),
form.kvw-form select:nth-of-type(4n) { border-color: var(--blue) !important; }

form.kvw-form textarea { border-color: var(--green) !important; }

.kvw-form textarea {
    min-height: 100px;
    resize: vertical;
}

.kvw-form button[type="submit"] {
    margin-top: 24px;
    display: block;
    width: 100%;
    padding: 14px 32px;
    background: var(--magenta);
    color: #fff;
    font-family: 'MiSansBold', 'MiSans', sans-serif;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.kvw-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
}

.entry-content blockquote {
    border-left: 4px solid var(--green);
    padding: 16px 24px;
    margin: 1.5rem 0;
    background: var(--light-bg);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

/* ==============================
   FORMS (contact page, etc.)
   ============================== */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-family: 'ZCOOLKuaiLe', 'ZCOOL KuaiLe', cursive;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* ==============================
   UTILITY CLASSES
   ============================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* AJAX form messages */
.form-message {
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(56, 179, 73, 0.1);
    color: var(--green);
    border: 1px solid var(--green);
    display: block;
}

.form-message.error {
    background: rgba(233, 30, 99, 0.1);
    color: var(--magenta);
    border: 1px solid var(--magenta);
    display: block;
}

/* Loading spinner */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* ==============================
   WORDPRESS SPECIFIC
   ============================== */
.wp-block-image img {
    border-radius: 12px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 13px;
    color: #999;
    text-align: center;
    padding: 8px 0;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==============================
   RESPONSIVE - TABLET (< 960px)
   ============================== */
@media (max-width: 960px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .day-cards-grid-bottom {
        grid-template-columns: 1fr;
        max-width: 50%;
    }

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

    .hero-content h1 {
        font-size: 42px;
    }

    .hero {
        height: 380px;
    }

    .page-header h1 {
        font-size: 34px;
    }
}

/* ==============================
   RESPONSIVE - MOBILE (< 640px)
   ============================== */
@media (max-width: 640px) {
    /* Header hamburger */
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        display: none;
        z-index: 99;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li {
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        padding: 12px 16px;
        font-size: 15px;
    }

    .main-navigation .btn-nav-contact a {
        display: inline-block;
        margin: 10px 16px;
    }

    /* Hero */
    .hero {
        height: 340px;
    }

    .hero-content {
        margin-left: 0;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card {
        height: auto;
        min-height: 280px;
    }

    .site-content {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    /* Info section */
    .info-section {
        flex-direction: column;
    }

    .info-image {
        width: 100%;
    }

    .info-text {
        width: 100%;
    }

    /* Programma */
    .day-cards-grid {
        grid-template-columns: 1fr;
    }

    .day-cards-grid-bottom {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .time-slots {
        gap: 16px;
    }

    /* Fotos */
    .fotos-layout {
        flex-direction: column;
    }

    .year-sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

    .year-sidebar h3 {
        width: 100%;
        margin-bottom: 4px;
    }

    .year-sidebar ul {
        display: flex;
        gap: 8px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Page header */
    .page-header {
        padding: 40px 20px 30px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        text-align: left;
    }

    /* Forms */
    .registration-form {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .entry-content {
        padding: 30px 20px;
    }

    /* Container */
    .container {
        padding: 0 20px;
    }

    .header-container {
        padding: 15px 20px;
    }
}

/* ==============================
   RESPONSIVE - SMALL MOBILE (< 400px)
   ============================== */
@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 26px;
    }

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

    .time-slots {
        gap: 10px;
    }

    .time-slot-circle {
        width: 40px;
        height: 40px;
        font-size: 10px;
    }
}
