/* Oeteldonks Grachtengordel Concert - Stylesheet */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #111111;
  --oeteldonk-red: #E60000;
  --oeteldonk-white: #ffffff;
  --oeteldonk-yellow: #FFCC00;
  --oeteldonk-green: #299100;
  --muted: #555555;
  --surface: #fafafa;
  --surface-elevated: #ffffff;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.15);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --display-font: Bitter, serif;
  --body-font: Segoe UI, sans-serif;
}

* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(227, 6, 19, 0.12), transparent 60%),
    radial-gradient(800px 400px at 85% 0%, rgba(255, 210, 0, 0.12), transparent 55%),
    var(--bg);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  background-attachment: scroll, scroll, scroll;
  background-repeat: no-repeat;
  color: var(--fg);
  font-family: var(--body-font);
  font-weight: 300;
  line-height: 1.6;
  scroll-behavior: smooth;
}



.site-header {
  background: linear-gradient(
    to bottom,
    var(--oeteldonk-red) 0%,
    var(--oeteldonk-red) 33.333%,
    var(--oeteldonk-white) 33.333%,
    var(--oeteldonk-white) 66.666%,
    var(--oeteldonk-yellow) 66.666%,
    var(--oeteldonk-yellow) 100%
  );
  min-height: clamp(96px, 28vh, 220px);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
/* Header has 3 colored lanes:
   - Red lane (top 33.333%)
   - White lane (middle 33.333%)
   - Yellow lane (bottom 33.333%) - where navigation sits */

.header-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  height: 100%;
  padding: 0 clamp(20px, 4vw, 60px);
  max-width: 1400px;
  margin: 0 auto;
}
/* Header uses CSS Grid with 2 columns:
   - Column 1 (1fr): Header text and navigation - takes up available space
   - Column 2 (auto): Logo container - sizes to content
   The logo appears to the RIGHT of the header text within this grid layout.
   Gap between columns is responsive: 40px to 100px depending on screen size. */

.header-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(8px, 2vh, 16px);
  position: relative;
  height: 100%;
}

.header-text h1 {
  font-family: Bitter;
  margin: 0;
  padding: 0;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

h2 {
  font-family: var(--display-font);
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Logo container positioning:
   - Part of the grid layout (second column)
   - Centered vertically and horizontally within its grid cell
   - flex-shrink: 0 prevents it from shrinking if space is tight
   - Logo sits in the HEADER GRID, not at the page corner */

.logo {
  height: clamp(96px, 28vh, 220px);
  width: clamp(96px, 28vh, 220px);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}
/* Logo image sizing and styling:
   - Responsive size: minimum 96px, preferred 28vh, maximum 220px
   - Square aspect ratio (equal height and width)
   - Rounded corners (12px radius)
   - Positioned within the .header-logo container (grid column 2) */

/* Position logo in top-right corner (desktop/tablet only) */
@media (min-width: 769px) {
  /* Site-header already has position: sticky, which works as positioning context */
  
  /* Ensure header maintains proper height even with logo absolutely positioned */
  .site-header {
    min-height: clamp(96px, 28vh, 220px);
    height: clamp(96px, 28vh, 220px);  /* Match the logo height to prevent extra space */
  }
  
  .header-content {
    height: 100%;
    min-height: clamp(96px, 28vh, 220px);  /* Ensure content fills the header */
  }
  
  /* Remove logo from grid flow and position absolutely in top-right corner */
  .header-logo {
    position: absolute;  /* Takes logo out of normal document flow */
    top: 0;              /* Flush with top edge of header */
    right: 0;            /* Flush with right edge of header */
    z-index: 150;        /* Above header content (z-index: 100) but below hamburger menu (z-index: 1001) */
    margin: 0;           /* Remove any default margins */
    padding: 0;          /* Remove any default padding */
  }

  /* Logo flush with corner */
  .logo {
    border-radius: 0;
    margin: 0;
  }
}

.site-header h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(28px, 5.5vw, 56px);
  letter-spacing: 0.04em;
  color: #111111;
  font-family: var(--display-font);
  line-height: 1.2;
}


.site-subtitle {
  margin: 6px 12px 12px 12px;
  font-size: clamp(14px, 2.6vw, 18px);
  font-weight: 700;
}

main {
  padding: clamp(16px, 4vw, 32px) clamp(16px, 4vw, 24px);
  max-width: 1200px;
  margin: 0 auto;
}

/* Hamburger menu button - hidden on desktop */
.hamburger-btn {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: var(--surface-elevated);
  border: 2px solid var(--oeteldonk-red);
  border-radius: var(--radius-sm);
  padding: 10px;
  cursor: pointer;
  transition: var(--transition);
  width: 48px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-md);
}

.hamburger-btn:hover {
  background: var(--oeteldonk-red);
  transform: scale(1.05);
}

.hamburger-btn:hover .hamburger-line {
  background: white;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--oeteldonk-red);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 2vw, 12px);
  justify-content: center;
  align-items: center;
  padding: clamp(8px, 2vh, 12px) 0;
  margin: 0;
  position: absolute;
  top: 83.333%;        /* Center of yellow lane (66.666% + half of 33.333%) */
  left: 50%;
  transform: translate(-50%, -50%);  /* Center horizontally and vertically */
  width: 100%;
  max-width: 100%;
  z-index: 160;        /* Above logo (z-index: 150) to prevent any overlap */
}

.top-nav a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  font-size: clamp(13px, 2.5vw, 16px);
  text-align: center;
}

.top-nav a:hover { 
  background: var(--surface);
  color: var(--oeteldonk-red);
  transform: translateY(-1px);
}

.top-nav a:focus {
  outline: 2px solid var(--oeteldonk-red);
  outline-offset: 2px;
}

/* Removed restrictive mobile overrides - keeping desktop layout */

/* Hero Section */
.hero {
  display: grid;
  gap: 24px;
  justify-items: center;
  align-content: center;
  min-height: 70vh;
  text-align: center;
  padding: clamp(32px, 8vw, 80px) 0;
}

.hero .event-logo {
  width: min(70vw, 420px);
  height: auto;
  filter: drop-shadow(var(--shadow-lg));
  transition: var(--transition);
}

.hero .event-logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.25));
}

.hero p {
  margin: 0;
  max-width: 720px;
  color: #111111;
  font-size: clamp(14px, 2.4vw, 18px);
  font-weight: 400;
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: clamp(8px, 2vw, 12px);
  max-width: 400px;
  margin: 10px auto 0;
  justify-content: center;
}

.cd-box {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(12px, 3vw, 16px) clamp(8px, 2vw, 20px);
  min-width: 70px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.cd-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

/* Removed restrictive countdown mobile overrides - keeping desktop layout */

.cd-value { 
  font-size: clamp(20px, 5vw, 36px); 
  font-weight: 800; 
  display: block; 
}

.cd-label { 
  font-size: 12px; 
  color: #444; 
}

/* Chips */
.chips { 
  display: flex; 
  flex-wrap: wrap; 
  gap: clamp(8px, 2vw, 12px); 
  justify-content: center; 
  margin: 16px auto; 
  max-width: 600px;
  padding: 0 12px;
}

.chip { 
  background: var(--surface-elevated); 
  border: 1px solid var(--border); 
  padding: clamp(6px, 1.5vw, 8px) clamp(12px, 3vw, 16px); 
  border-radius: 999px; 
  font-weight: 600; 
  font-size: clamp(12px, 2.5vw, 13px);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.chip:hover {
  background: var(--oeteldonk-red);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.badge {
  width: min(90vw, 560px);
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.18));
}

/* Cards & Sections */
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px) clamp(16px, 4vw, 24px);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  margin: 0 auto;
  width: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.card h2 { 
  margin: 0 0 16px 0; 
  font-size: clamp(20px, 4vw, 24px); 
  font-family: var(--display-font);
  text-align: center;
}

.card p { 
  margin: 0 0 16px 0; 
  line-height: 1.7;
  text-align: left;
}

.card p:last-child { 
  margin-bottom: 0; 
}

.cta-row { 
  display: flex; 
  gap: 12px; 
  margin-top: 12px; 
  justify-content: center; 
}

/* Buttons */
.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:active { 
  transform: translateY(1px) scale(0.98); 
}

.btn-red { 
  background: var(--oeteldonk-red); 
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-red:hover {
  background: #c10510;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
  background: var(--oeteldonk-red);
  color: white;
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  margin-top: 48px;
  background: linear-gradient(
    to bottom,
    var(--oeteldonk-red) 0%,
    var(--oeteldonk-red) 33.333%,
    var(--oeteldonk-white) 33.333%,
    var(--oeteldonk-white) 66.666%,
    var(--oeteldonk-yellow) 66.666%,
    var(--oeteldonk-yellow) 100%
  );
  border-top: 1px solid var(--border);
  color: #111;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  text-align: center;
  gap: 16px;
  padding: 24px;
}

.footer-inner small {
  text-align: center;
  display: block;
}

.instagram-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
}

.instagram-section p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-link:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Contact Page Specific */
.contact-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 32px);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.contact-card h2 { 
  margin: 0 0 24px 0; 
  font-family: var(--display-font); 
  font-size: clamp(24px, 5vw, 32px); 
}

.contact-card p { 
  margin: 0 0 24px 0; 
  font-size: 18px; 
  line-height: 1.7; 
  color: #555; 
}

.email-link {
  display: inline-block;
  background: var(--oeteldonk-red);
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 18px;
  margin: 24px 0;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.email-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.email-link:hover::before {
  left: 100%;
}

.email-link:hover { 
  transform: translateY(-2px); 
  background: #c10510;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.contact-info p {
  margin: 0;
  color: #555;
  font-size: 16px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--oeteldonk-red);
}

/* FAQ Page Specific */
details { 
  background: var(--surface-elevated); 
  border: 1px solid var(--border); 
  border-radius: var(--radius-lg); 
  padding: clamp(10px, 3vw, 20px) clamp(12px, 3vw, 24px); 
  margin-bottom: 16px; 
  box-shadow: var(--shadow-md);
  width: 100%;
  transition: var(--transition);
}

details:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

details[open] {
  border-color: var(--oeteldonk-red);
  box-shadow: 0 4px 16px rgba(227, 6, 19, 0.15);
}

summary { 
  cursor: pointer; 
  font-weight: 600;
  font-size: clamp(14px, 3vw, 18px);
  color: var(--oeteldonk-red);
  position: relative;
  padding-right: 30px;
}

summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  transition: var(--transition);
}

details[open] summary::after {
  content: '−';
}

summary::-webkit-details-marker { 
  display: none; 
}

details p {
  margin: 16px 0 0 0;
  color: #555;
  line-height: 1.7;
  padding-left: 16px;
  border-left: 3px solid var(--oeteldonk-red);
}

/* Form Styling */
.form-section {
  margin-top: 48px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-section h2 {
  margin: 0 0 24px 0;
  font-family: var(--display-font);
  font-size: clamp(20px, 4vw, 28px);
  color: var(--oeteldonk-red);
}

.form-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-section input,
.form-section textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--body-font);
  font-size: 16px;
  transition: var(--transition);
  background: var(--surface-elevated);
}

.form-section input:focus,
.form-section textarea:focus {
  outline: none;
  border-color: var(--oeteldonk-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.form-section button {
  background: var(--oeteldonk-red);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.form-section button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.form-section button:hover::before {
  left: 100%;
}

.form-section button:hover {
  background: #c10510;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.form-section button:active {
  transform: translateY(0) scale(0.98);
}

#form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

#form-status.success {
  background: rgba(32, 155, 42, 0.1);
  color: var(--oeteldonk-green);
  border: 1px solid rgba(32, 155, 42, 0.2);
}

#form-status.error {
  background: rgba(227, 6, 19, 0.1);
  color: var(--oeteldonk-red);
  border: 1px solid rgba(227, 6, 19, 0.2);
}

/* Livestream Page Specific */
.player { 
  width: min(90vw, 960px); 
  aspect-ratio: 16/9; 
  background: #000; 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 2px solid var(--border);
}

.player:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

iframe { 
  width: 100%; 
  height: 100%; 
  border: 0; 
  display: block; 
}

.note { 
  color: #555; 
  font-size: 16px;
  text-align: center;
  padding: 16px 24px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 600px;
}

/* Pictures Page Specific */
.filter-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.filter-controls label {
  font-weight: 600;
  color: #333;
}

.filter-controls select {
  padding: 8px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--body-font);
  font-size: 14px;
  transition: var(--transition);
  background: var(--surface-elevated);
}

.filter-controls select:focus {
  outline: none;
  border-color: var(--oeteldonk-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 45vw, 280px), 1fr)); 
  gap: clamp(10px, 2vw, 20px);
}

.tile { 
  position: relative; 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 2px solid var(--border);
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.tile img { 
  width: 100%; 
  height: 100%; 
  aspect-ratio: 4/3; 
  object-fit: cover; 
  display: block;
  transition: var(--transition);
}

.tile:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox { 
  position: fixed; 
  inset: 0; 
  background: rgba(0,0,0,0.9); 
  display: none; 
  align-items: center; 
  justify-content: center; 
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.lightbox.open { 
  display: flex; 
}

.lightbox img { 
  max-width: 92vw; 
  max-height: 90vh; 
  border-radius: var(--radius-lg); 
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
}

.lightbox .close { 
  position: absolute; 
  top: 20px; 
  right: 20px; 
  background: var(--surface-elevated); 
  border: none; 
  border-radius: var(--radius-sm); 
  padding: 12px 16px; 
  font-weight: 600; 
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.lightbox .close:hover {
  background: var(--oeteldonk-red);
  color: white;
  transform: scale(1.1);
}

.lightbox .nav-btn { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  background: rgba(0,0,0,0.8); 
  color: #fff; 
  border: none; 
  border-radius: var(--radius-md); 
  padding: 16px 20px; 
  font-size: 24px; 
  font-weight: 600; 
  cursor: pointer; 
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.lightbox .nav-btn:hover { 
  background: var(--oeteldonk-red);
  transform: translateY(-50%) scale(1.1);
}

.lightbox .prev { 
  left: 20px; 
}

.lightbox .next { 
  right: 20px; 
}

/* Meezingen Page Specific */
.meezingen-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px) clamp(16px, 4vw, 32px);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
}

.meezingen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.meezingen-card h2 { 
  margin: 0 0 24px 0; 
  font-family: var(--display-font); 
  font-size: clamp(24px, 5vw, 32px); 
}

.meezingen-card p { 
  margin: 0 0 24px 0; 
  font-size: 18px; 
  line-height: 1.7; 
  color: #555; 
}

.download-btn {
  display: inline-block;
  background: var(--oeteldonk-red);
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 18px;
  margin: 24px 0;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn:hover { 
  transform: translateY(-2px); 
  background: #c10510;
  box-shadow: var(--shadow-lg);
}

.meezingen-info {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.meezingen-info h3 {
  margin: 0 0 16px 0;
  font-family: var(--display-font);
  font-size: clamp(18px, 3vw, 24px);
  color: var(--oeteldonk-red);
}

.meezingen-info ul {
  margin: 0;
  padding-left: 24px;
  line-height: 1.8;
}

.meezingen-info li {
  margin-bottom: 8px;
}

/* Mobile Navigation - Hamburger Menu */
@media (max-width: 768px) {
  /* Show hamburger button on mobile */
  .hamburger-btn {
    display: flex;
  }

  /* Hide logo on mobile to save space */
  .header-logo {
    display: none;
  }
  /* Mobile (≤768px): Logo is completely hidden to save space.
     Only the header text and hamburger menu are visible. */

  /* Adjust header for mobile */
  .site-header {
    min-height: 80px;
    position: relative;
    height: auto;
  }

  .header-content {
    grid-template-columns: 1fr;
    padding: 16px 20px;
  }

  .header-text {
    position: static;
    text-align: center;
    padding-top: 12px;
  }

  .header-text h1 {
    font-size: clamp(18px, 5vw, 28px);
    font-family: Bitter;
    margin: 0;
    padding: 0;
    position: static !important;
    transform: none !important;
  }

  /* Mobile navigation menu */
  .top-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--surface-elevated);
    flex-direction: column;
    gap: 0;
    padding: 0;
    transform: none;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-bottom: 3px solid var(--oeteldonk-red);
  }

  .top-nav.active {
    max-height: 650px;
  }

  .top-nav a {
    width: 100%;
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    min-height: 56px;
    display: flex;
    align-items: center;
    background: var(--surface-elevated);
    transition: background 0.2s ease, color 0.2s ease;
  }

  .top-nav a:last-child {
    border-bottom: none;
  }

  .top-nav a:hover,
  .top-nav a:active {
    background: var(--oeteldonk-red);
    color: white;
    transform: none;
  }

  /* Ensure touch-friendly buttons */
  .btn,
  .email-link,
  .download-btn {
    min-height: 48px;
    padding: 14px 24px;
  }

  /* Slight padding reduction for smaller screens */
  main {
    padding: clamp(20px, 4vw, 32px) clamp(16px, 4vw, 24px);
    margin-top: 20px;
  }

  /* Keep grid responsive but similar to desktop */
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 45vw, 280px), 1fr));
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .header-content {
    gap: clamp(30px, 4vw, 50px);
    padding: 0 24px;
  }
  
  /* Adjust header height to match smaller tablet logo */
  .site-header {
    height: clamp(80px, 20vh, 160px);
    min-height: clamp(80px, 20vh, 160px);
  }
  
  .header-content {
    min-height: clamp(80px, 20vh, 160px);
  }
  
  .logo {
    height: clamp(80px, 20vh, 160px);
    width: clamp(80px, 20vh, 160px);
  }
  /* Tablet (769px-1024px): Logo is smaller (80px-160px) to fit better
     on medium screens. Positioned in top-right corner (from line 141 media query). */
  
  .site-header h1 {
    font-size: clamp(26px, 5vw, 48px);
  }
  
  .top-nav a {
    font-size: 14px;
    padding: 10px 12px;
  }
  
  main {
    padding: 24px 20px;
  }
  
  .countdown {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FAQ Mobile Optimization */
details {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: var(--transition);
}

details:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--oeteldonk-red);
  background: none;
  border: none;
  outline: none;
  transition: var(--transition);
  min-height: 48px; /* Touch target */
  display: flex;
  align-items: center;
}

summary:hover {
  background: var(--surface);
  color: #c10510;
}

summary:focus {
  outline: 2px solid var(--oeteldonk-red);
  outline-offset: 2px;
}

details[open] summary {
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

details p {
  padding: 0 20px 20px 20px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Form mobile optimization */
#faq-form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

#faq-form label {
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

#faq-form input,
#faq-form textarea {
  width: 100%;
  padding: 16px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px; /* Prevents zoom on iOS */
  transition: var(--transition);
  min-height: 48px; /* Touch target */
}

#faq-form input:focus,
#faq-form textarea:focus {
  outline: none;
  border-color: var(--oeteldonk-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

#faq-form button {
  justify-self: start;
  background: var(--oeteldonk-red);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  min-height: 48px; /* Touch target */
  transition: var(--transition);
}

#faq-form button:hover {
  background: #c10510;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

#faq-form button:active {
  transform: translateY(0);
}

/* Lightbox mobile improvements */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  min-height: 48px; /* Touch target */
  min-width: 48px;
}

.lightbox .close:hover {
  background: white;
  transform: scale(1.1);
}

.lightbox .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  min-height: 56px; /* Touch target */
  min-width: 56px;
}

.lightbox .nav-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.lightbox .prev {
  left: 20px;
}

.lightbox .next {
  right: 20px;
}

/* Year filter mobile optimization */
#year-filter {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px; /* Prevents zoom on iOS */
  background: white;
  min-height: 48px; /* Touch target */
  transition: var(--transition);
}

#year-filter:focus {
  outline: none;
  border-color: var(--oeteldonk-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

/* Contact page email link */
.email-link {
  display: inline-block;
  background: var(--oeteldonk-red);
  color: white;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  margin: 16px 0;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-align: center;
  min-height: 48px; /* Touch target */
  min-width: 200px;
}

.email-link:hover {
  background: #c10510;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.email-link:active {
  transform: translateY(0);
}

/* Responsive video container */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Extra Small Screens - Minimal Adjustments */
@media (max-width: 480px) {
  /* Only essential spacing adjustments */
  main {
    padding: 16px;
  }

  /* Ensure touch targets remain accessible */
  .btn,
  .email-link,
  .download-btn,
  summary,
  .top-nav a {
    min-height: 48px;
  }

  /* Audio player positioning for small screens */
  #background-music {
    bottom: 16px !important;
    right: 16px !important;
    left: 16px !important;
    width: calc(100% - 32px) !important;
  }
}

/* ============================================
   CONFETTI TOGGLE BUTTON
   ============================================ */

#confetti-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  background: linear-gradient(135deg, #EE2424 0%, #F7B500 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  font-family: var(--body-font);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
}

#confetti-toggle:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

#confetti-toggle:active {
  transform: translateY(0) scale(0.98);
}

#confetti-toggle.active {
  background: linear-gradient(135deg, #666 0%, #999 100%);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: var(--shadow-lg);
  }
  50% {
    box-shadow: 0 8px 24px rgba(238, 36, 36, 0.4);
  }
}

/* Mobile adjustments for confetti toggle */
@media (max-width: 768px) {
  #confetti-toggle {
    display: none; /* Hide confetti button on mobile */
  }
}

/* Ensure button stays above everything */
#confetti-toggle {
  pointer-events: auto;
}

/* Tooltip hint */
#confetti-toggle::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.2s;
  pointer-events: none;
}

#confetti-toggle:hover::before {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}
