/* =================== Reset & Base =================== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* =================== Event card helpers (uporabljeno na domu in /dogodki) =================== */
.event-date-badge {
  position: absolute; top: 14px; left: 14px;
  background: #fff; color: #2A2520;
  padding: 8px 12px; border-radius: 12px;
  font-size: 12px; font-weight: 600; text-align: center; line-height: 1.15;
  text-transform: uppercase; letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(42,37,32,0.14);
  min-width: 52px;
}
.event-date-badge .day { font-size: 22px; display: block; color: #E85D2F; line-height: 1; margin-bottom: 2px; }
.event-meta-row {
  font-size: 13px; color: #6B635A; margin-bottom: 8px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.news-title-link { color: inherit; text-decoration: none; }
.news-title-link:hover { color: #E85D2F; text-decoration: none; }
.news-img-link { display: block; }
.events-home { background: linear-gradient(180deg, var(--bg-alt, #F7F1E8) 0%, var(--bg, #FDFAF5) 100%); }

/* =================== Galerija =================== */
.gallery-home { background: var(--bg-alt, #F7F1E8); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  display: block; position: relative;
  aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 14px; cursor: zoom-in;
  background: #ece3d5;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(20, 16, 12, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 32px; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff;
  border: none; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff;
  border: none; font-size: 36px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  user-select: none;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
@media (max-width: 640px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 30px; }
}
.lightbox-caption {
  position: absolute; bottom: 24px; left: 0; right: 0;
  text-align: center; color: #fff; font-size: 15px; opacity: 0.9;
}
:root {
  --primary: #E85D2F;
  --primary-dark: #C44A22;
  --primary-light: #FBE5DA;
  --secondary: #1B6D85;
  --secondary-light: #E2F0F4;
  --accent: #F2C94C;
  --bg: #FDFAF5;
  --bg-alt: #F7F1E8;
  --card: #FFFFFF;
  --text: #2A2520;
  --text-muted: #6B635A;
  --border: #ECE3D5;
  --shadow-sm: 0 1px 3px rgba(42, 37, 32, 0.06), 0 1px 2px rgba(42, 37, 32, 0.04);
  --shadow-md: 0 4px 16px rgba(42, 37, 32, 0.08), 0 2px 6px rgba(42, 37, 32, 0.04);
  --shadow-lg: 0 12px 40px rgba(42, 37, 32, 0.10), 0 4px 12px rgba(42, 37, 32, 0.06);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* =================== Top bar =================== */
.topbar { background: var(--text); color: #F5EFE6; font-size: 14px; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contact a { color: #F5EFE6; opacity: 0.9; }
.topbar-contact a:hover { opacity: 1; text-decoration: none; color: var(--accent); }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a {
  color: #F5EFE6; opacity: 0.55; padding: 2px 8px; border-radius: 4px;
  font-weight: 600; letter-spacing: 0.04em; font-size: 12px;
}
.lang-switch a:hover { opacity: 1; text-decoration: none; }
.lang-switch a.active { opacity: 1; background: rgba(255,255,255,0.15); }

/* =================== Header / Nav =================== */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(253, 250, 245, 0.92);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo img { height: 48px; width: auto; }
.logo-text { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.logo-tagline { font-size: 11px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text); font-weight: 500; padding: 8px 14px; border-radius: var(--radius-sm);
  transition: all 0.18s ease; font-size: 15px;
}
.nav-links a:hover { background: var(--primary-light); color: var(--primary-dark); text-decoration: none; }
.nav-links a.cta { background: var(--primary); color: white; padding: 10px 20px; margin-left: 8px; font-weight: 600; }
.nav-links a.cta:hover { background: var(--primary-dark); color: white; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--text); }

/* =================== Hero =================== */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.16) 0%, transparent 55%);
  border-radius: 50%; pointer-events: none;
}
/* levi blob odstranjen — povzročal je grd odsekan prehod ob overflow:hidden robu */
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-light); color: var(--primary-dark);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.hero h1 { font-size: clamp(36px, 5.5vw, 60px); margin-bottom: 24px; }
.hero h1 .accent { color: var(--primary); font-style: italic; font-weight: 600; }
.hero p.lead { font-size: 19px; color: var(--text-muted); margin-bottom: 36px; max-width: 540px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; transition: all 0.18s ease;
  cursor: pointer; border: none; text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--primary-dark); color: white; text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: white; color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--secondary); color: var(--secondary); text-decoration: none; }

.hero-stats { display: flex; gap: 40px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
.stat-num { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 700; color: var(--secondary); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.05; max-width: 480px; margin: 0 auto; }
.hero-blob {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, #F2994A 100%);
  border-radius: 38% 62% 50% 50% / 55% 45% 55% 45%;
  animation: blob 16s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 38% 62% 50% 50% / 55% 45% 55% 45%; }
  50% { border-radius: 62% 38% 45% 55% / 45% 55% 45% 55%; }
}
.hero-card {
  position: absolute; background: white; padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
}
.hero-card-1 { top: 6%;  right: -6%; animation: float 6s ease-in-out infinite; }
.hero-card-2 { top: 45%; left: -12%; animation: float 6s ease-in-out 1.5s infinite; }
.hero-card-3 { bottom: 4%; right: 4%; animation: float 6s ease-in-out 3s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-card-flag {
  width: 44px; height: 44px; min-width: 44px; max-width: 44px;
  border-radius: 50%; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: var(--bg-alt);
  flex-shrink: 0;
}
.hero-card-text { font-size: 14px; font-weight: 600; color: var(--text); }
.hero-card-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-weight: 400; }

/* =================== Sections =================== */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-eyebrow { color: var(--primary); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--text-muted); }

/* =================== Courses =================== */
.courses { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.course-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; max-width: 1180px; margin: 0 auto; }
.course-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: all 0.25s ease; position: relative; overflow: hidden;
  flex: 1 1 300px; max-width: 370px;
  display: flex; flex-direction: column;
}
.course-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--card-color, var(--primary));
}
.course-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--card-color, var(--primary));
}
.course-flag {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--card-color-light, var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; margin-bottom: 24px;
  flex-shrink: 0;
}
.course-card h3 { font-size: 24px; margin-bottom: 8px; }
.course-card .level { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; font-weight: 500; }
.course-card p { color: var(--text-muted); margin-bottom: 24px; font-size: 15px; }
.course-card ul { list-style: none; margin-bottom: 28px; }
.course-card li { padding: 6px 0; font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.course-card li::before { content: '✓'; color: var(--card-color, var(--primary)); font-weight: 700; }
.course-card .more { color: var(--card-color, var(--primary)); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; align-self: flex-start; }
.course-card .more::after { content: '→'; transition: transform 0.2s ease; }
.course-card:hover .more::after { transform: translateX(4px); }
.card-en { --card-color: #1B6D85; --card-color-light: #E2F0F4; }
.card-de { --card-color: #D4A017; --card-color-light: #FBF1D6; }
.card-sl { --card-color: #C44A22; --card-color-light: #FBE5DA; }

/* =================== Why us =================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 32px 20px; }
.why-icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  background: var(--primary-light); border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); transform: rotate(-3deg);
}
.why-icon svg { width: 36px; height: 36px; }
.why-card:nth-child(2) .why-icon { background: var(--secondary-light); color: var(--secondary); transform: rotate(3deg); }
.why-card:nth-child(3) .why-icon { background: #FBF1D6; color: #D4A017; transform: rotate(-2deg); }
.why-card:nth-child(4) .why-icon { background: #E8F5E9; color: #2E7D32; transform: rotate(2deg); }
.why-card h4 { font-size: 18px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-muted); }

/* =================== Pricing =================== */
.pricing { background: var(--bg-alt); }
.pricing-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; max-width: 1200px; margin: 0 auto; }
.price-card {
  background: white; border-radius: var(--radius-lg); padding: 32px 26px;
  border: 1.5px solid var(--border); position: relative;
  display: flex; flex-direction: column;
  flex: 1 1 250px; max-width: 300px;
}
.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: scale(1.02); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; padding: 4px 14px;
  border-radius: 999px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price-card .desc { font-size: 13.5px; color: var(--text-muted); margin-bottom: 20px; min-height: 56px; }
.price-num { font-family: 'Fraunces', serif; font-size: 40px; font-weight: 700; color: var(--text); line-height: 1; }
.price-num small { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--text-muted); font-weight: 500; }
.price-meta { font-size: 13px; color: var(--text-muted); margin: 12px 0 24px; }
.price-card ul { list-style: none; margin-bottom: 28px; }
.price-card li { padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--border); display: flex; gap: 10px; align-items: center; }
.price-card li::before { content: '✓'; color: var(--primary); font-weight: 700; }
.price-card li:last-child { border-bottom: none; }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }
.pricing-note { text-align: center; margin-top: 40px; font-size: 14px; color: var(--text-muted); }
.pricing-note a { color: var(--secondary); font-weight: 600; }

/* =================== News =================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.25s ease;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%); position: relative; }
.news-card:nth-child(2) .news-img { background: linear-gradient(135deg, var(--secondary-light) 0%, #B8E0E8 100%); }
.news-card:nth-child(3) .news-img { background: linear-gradient(135deg, #FBF1D6 0%, #FFD23F 100%); }
.news-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255, 255, 255, 0.95); color: var(--text);
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.news-card h4 { font-size: 20px; margin-bottom: 10px; font-family: 'Fraunces', serif; }
.news-card p { color: var(--text-muted); font-size: 14px; flex: 1; margin-bottom: 16px; }
.news-link { color: var(--primary); font-weight: 600; font-size: 14px; }

/* =================== CTA banner =================== */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #134C5E 100%);
  color: white; border-radius: var(--radius-xl); padding: 64px 48px;
  text-align: center; position: relative; overflow: hidden; margin: 40px 0;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 300px; height: 300px;
  background: rgba(242, 201, 76, 0.15); border-radius: 50%;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: rgba(232, 93, 47, 0.15); border-radius: 50%;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: white; font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.cta-banner p { font-size: 18px; opacity: 0.92; max-width: 560px; margin: 0 auto 32px; }
.cta-banner .btn-primary { background: white; color: var(--secondary); }
.cta-banner .btn-primary:hover { background: var(--accent); color: var(--text); }

/* =================== Footer =================== */
footer { background: var(--text); color: #C9C2B6; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: #9D968B; max-width: 320px; }
footer h5 { color: white; font-family: 'Fraunces', serif; font-size: 16px; margin-bottom: 16px; font-weight: 600; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; font-size: 14px; }
footer a { color: #C9C2B6; }
footer a:hover { color: var(--accent); text-decoration: none; }
.footer-contact-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.footer-contact-row svg { flex-shrink: 0; margin-top: 2px; opacity: 0.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #9D968B; flex-wrap: wrap; gap: 12px;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.socials a:hover { background: var(--primary); color: white; }

/* =================== Camp cards =================== */
.camp-card-summary { font-size: 14px; color: var(--text-muted); margin: 4px 0 14px; line-height: 1.5; }
.camp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.camp-card-price { font-family: 'Fraunces', serif; font-weight: 700; color: var(--text); }
.news-grid .news-card { display: flex; flex-direction: column; }
.news-grid .news-card .news-body { display: flex; flex-direction: column; flex: 1; }

/* =================== Mobile =================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  /* Decorative floating cards have no room on narrow screens and overlap the
     stats; the same languages appear in the Courses section just below. */
  .hero-visual { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 24px 40px; }
  .course-grid, .news-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; align-items: stretch; }
  .nav-links a { width: 100%; }
  .mobile-toggle { display: block; }
  section { padding: 64px 0; }
  .cta-banner { padding: 48px 24px; }
  .price-card.featured { transform: none; }
  .hero { padding: 48px 0 64px; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-contact { font-size: 12px; gap: 12px; }
  .logo-text { font-size: 20px; }
}

/* ---------------- Booking / contact form ---------------- */
.booking { padding: 80px 0; background: #fff7f3; }
.booking-card {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #f0e3db;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 18px 40px -28px rgba(232, 93, 47, .45);
}
.booking-form { display: flex; flex-direction: column; gap: 18px; }
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.booking-field { display: flex; flex-direction: column; gap: 7px; }
.booking-field label { font-weight: 600; font-size: .92rem; color: #3a2d28; }
.booking-field .req { color: #E85D2F; }
.booking-field input,
.booking-field select,
.booking-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #e2d6cf;
    border-radius: 12px;
    font: inherit;
    color: #2a211d;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
    outline: none;
    border-color: #E85D2F;
    box-shadow: 0 0 0 3px rgba(232, 93, 47, .15);
}
.booking-field textarea { resize: vertical; }
.booking-form .btn { align-self: flex-start; margin-top: 6px; }

/* Honeypot — hidden from real users */
.booking-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.booking-alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; font-size: .95rem; }
.booking-alert-success { background: #e7f6ec; border: 1px solid #b6e2c4; color: #1c6b3a; }
.booking-alert-error { background: #fdecec; border: 1px solid #f3bcbc; color: #9a2727; }
.booking-alert-error ul { margin: 8px 0 0; padding-left: 20px; }

@media (max-width: 640px) {
    .booking-card { padding: 24px; }
    .booking-row { grid-template-columns: 1fr; }
}

/* Child / guardian additions */
.booking-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fdf2ec;
    border: 1px dashed #f0c4ad;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #3a2d28;
    font-size: .95rem;
}
.booking-check input { width: 18px; height: 18px; accent-color: #E85D2F; cursor: pointer; }
.booking-guardian {
    border: 1px solid #e2d6cf;
    border-radius: 14px;
    padding: 18px 20px 22px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.booking-guardian legend {
    font-weight: 700;
    color: #1B6D85;
    padding: 0 8px;
    font-size: .95rem;
}

/* Make the hidden attribute win over display:flex on form groups */
.booking [hidden] { display: none !important; }

/* Inline per-field validation error */
.booking-err {
    display: block;
    color: #c0392b;
    font-size: .82rem;
    margin-top: 2px;
}
.booking-field input:invalid,
.booking-field select:invalid { /* no aggressive styling; rely on server errors */ }
