/* ================================================================
   STEM Dorado — Birthday Event Page
   ================================================================ */

:root {
  --bday-orange: #f77f00;
  --bday-orange-dark: #d96d00;
  --bday-orange-light: #fff3e0;
  --bday-blue: #0077b6;
  --bday-blue-dark: #005a8d;
  --bday-blue-light: #e0f2fe;
  --bday-green: #16a34a;
  --bday-green-light: #dcfce7;
  --bday-red: #dc2626;
}

/* ===== SHARED UTILITIES ===== */
.req { color: var(--bday-red); }
.unavailable { color: #9ca3af !important; text-decoration: line-through; }
.unavailable i { color: #9ca3af !important; }

/* ===== HERO ===== */
.bday-hero {
  background: linear-gradient(135deg, #012a5e 0%, #023e8a 50%, #0077b6 100%);
  padding: 160px 0 0;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.bday-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(247,127,0,.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,180,216,.3) 0%, transparent 50%);
  pointer-events: none;
}

.bday-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.bday-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
}
.bday-breadcrumb a { color: rgba(255,255,255,.65); }
.bday-breadcrumb a:hover { color: #fff; }
.bday-breadcrumb i { font-size: 10px; }

.bday-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(247,127,0,.2);
  border: 1px solid rgba(247,127,0,.4);
  color: #fca311;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.bday-hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.bday-highlight {
  color: var(--bday-orange);
}

.bday-hero-text > p {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 500px;
}

.bday-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.bday-hero-pills span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.bday-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-bday-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--bday-orange);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-bday-primary:hover { background: var(--bday-orange-dark); transform: translateY(-1px); }

.btn-bday-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-bday-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* Hero image */
.bday-hero-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.bday-hero-img-wrap img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  object-fit: cover;
  object-position: center 65%;
  height: 420px;
}

.bday-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1a2332;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  white-space: nowrap;
}
.bday-float-badge i { color: var(--bday-orange); font-size: 16px; }
.badge-1 { bottom: -12px; left: -16px; }
.badge-2 { top: -12px; right: -16px; }

.bday-hero-wave { line-height: 0; margin-top: 48px; }
.bday-hero-wave svg { display: block; width: 100%; }

/* ===== WHY SECTION ===== */
.bday-why {
  padding: 72px 0;
  background: #fff9f0;
}

.bday-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.bday-why-card {
  background: #fff;
  border: 1px solid #f0e8d8;
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.bday-why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }

.bday-why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bday-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--bday-orange);
  margin-bottom: 16px;
}

.bday-why-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a2332;
}

.bday-why-card p { font-size: 14px; color: #636e72; line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.bday-how {
  padding: 72px 0;
  background: #fff;
}

.bday-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
}

.bday-step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  position: relative;
}

.bday-step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bday-orange);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bday-step-icon {
  font-size: 32px;
  color: var(--bday-blue);
  margin-bottom: 14px;
  margin-top: 8px;
}

.bday-step h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a2332;
}

.bday-step p { font-size: 14px; color: #636e72; line-height: 1.6; }

.bday-step-arrow {
  padding: 0 12px;
  color: #d1d5db;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 60px;
}

/* ===== GALLERY ===== */
.bday-gallery {
  padding: 72px 0;
  background: #fff9f0;
}

.bday-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
  margin-top: 48px;
}

.bday-gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.bday-gallery-item.tall { grid-row: span 2; }
.bday-gallery-item.wide { grid-column: span 2; }

.bday-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .4s ease;
}

.bday-gallery-item.wide img {
  object-position: center center;
}

.bday-gallery-item:hover img { transform: scale(1.06); }

.bday-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,119,182,.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  opacity: 0;
  transition: opacity .3s;
}

.bday-gallery-item:hover .bday-gallery-overlay { opacity: 1; }
.bday-gallery-overlay i { color: #fff; font-size: 24px; }

/* ===== LIGHTBOX ===== */
.bday-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: lbFadeIn .2s ease;
}

.bday-lightbox.active { display: flex; }

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.bday-lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: lbSlideIn .25s ease;
}

@keyframes lbSlideIn {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.bday-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.bday-lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

.bday-gallery-note {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ===== PACKAGES ===== */
.bday-packages {
  padding: 72px 0;
  background: #fff;
}

.bday-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}

.bday-package-card {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.bday-package-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.bday-package-card.featured { border-color: var(--bday-blue); box-shadow: 0 8px 32px rgba(0,119,182,.15); }

.bday-package-ribbon {
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--bday-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 36px;
  transform: rotate(45deg);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.bday-package-header {
  padding: 28px 24px;
  text-align: center;
  color: #fff;
}

.bday-package-header.starter  { background: linear-gradient(135deg, #0077b6, #00b4d8); }
.bday-package-header.explorer { background: linear-gradient(135deg, #0077b6, #00b4d8); }
.bday-package-header.superstar{ background: linear-gradient(135deg, #f77f00, #fca311); }

.bday-package-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
}

.bday-package-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.bday-package-price {
  font-size: 14px;
  opacity: .85;
}

.bday-package-body { padding: 24px; }

.bday-package-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.bday-package-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

.bday-package-meta i { color: var(--bday-orange); }

.bday-package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

.bday-package-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
}

.bday-package-features li i.fa-check { color: var(--bday-green); }
.bday-package-features li i.fa-times { color: #d1d5db; }

.btn-bday-card {
  display: block;
  text-align: center;
  padding: 11px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: all .2s;
}
.btn-bday-card:hover { border-color: var(--bday-orange); color: var(--bday-orange); }
.featured-btn { background: var(--bday-blue); border-color: var(--bday-blue); color: #fff; }
.featured-btn:hover { background: var(--bday-blue-dark); border-color: var(--bday-blue-dark); color: #fff; }

.bday-packages-note {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

/* ===== THEMES ===== */
.bday-themes {
  padding: 60px 0;
  background: linear-gradient(135deg, #023e8a, #0077b6);
  color: #fff;
}

.bday-themes .section-label { color: rgba(255,255,255,.7); }
.bday-themes .section-title { color: #fff; }
.bday-themes .section-subtitle { color: rgba(255,255,255,.75); }

.bday-themes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.bday-theme-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: default;
  transition: background .2s;
}
.bday-theme-chip:hover { background: rgba(255,255,255,.22); }
.bday-theme-chip i { color: #fca311; }

/* ===== ENQUIRY FORM ===== */
.bday-enquire {
  padding: 72px 0;
  background: #f9fafb;
}

.bday-enquire-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.bday-enquire-text .section-label { display: block; margin-bottom: 10px; }
.bday-enquire-text h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 14px;
}
.bday-enquire-text > p { font-size: 15px; color: #636e72; line-height: 1.7; margin-bottom: 24px; }

.bday-contact-info { display: flex; flex-direction: column; gap: 12px; }
.bday-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
}
.bday-contact-item i { color: var(--bday-orange); width: 18px; text-align: center; }
.bday-contact-item a { color: var(--bday-orange); font-weight: 500; }

/* Form */
.bday-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.bday-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bday-form-group { display: flex; flex-direction: column; gap: 5px; }
.bday-form-group.span-2 { grid-column: 1 / -1; }

.bday-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.bday-form-group input,
.bday-form-group select,
.bday-form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
  background: #fff;
  color: #1a2332;
}

.bday-form-group input:focus,
.bday-form-group select:focus,
.bday-form-group textarea:focus { border-color: var(--bday-blue); }

.bday-form-group input.error,
.bday-form-group select.error { border-color: var(--bday-red); }

.bday-form-group textarea { resize: vertical; }

.bday-select-wrap { position: relative; }
.bday-select-wrap select { width: 100%; appearance: none; padding-right: 36px; }
.bday-select-wrap i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 12px;
  pointer-events: none;
}

.bday-form-error { font-size: 12px; color: var(--bday-red); min-height: 16px; }

.bday-form-footer {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.btn-bday-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--bday-orange);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s;
}
.btn-bday-submit:hover { background: var(--bday-orange-dark); }
.btn-bday-submit:disabled { opacity: .5; cursor: not-allowed; }

/* Success state */
.bday-success {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  max-width: 560px;
  margin: 0 auto;
}

.bday-success-icon {
  font-size: 60px;
  color: var(--bday-green);
  margin-bottom: 20px;
}

.bday-success h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 12px;
}

.bday-success p { font-size: 15px; color: #636e72; line-height: 1.7; margin-bottom: 28px; }

.bday-success-actions { display: flex; justify-content: center; }

/* ===== FAQ ===== */
.bday-faq {
  padding: 72px 0 80px;
  background: #fff;
}

.bday-faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bday-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.bday-faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1a2332;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .15s;
}

.bday-faq-item summary:hover { background: #f9fafb; }

.bday-faq-item summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 14px;
  color: var(--bday-orange);
  flex-shrink: 0;
  transition: transform .25s;
}

.bday-faq-item[open] summary::after { transform: rotate(180deg); }
.bday-faq-item[open] summary { background: var(--bday-orange-light); color: var(--bday-orange-dark); }

.bday-faq-item p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #636e72;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .bday-hero { padding-top: 120px; }
  .bday-hero-inner { grid-template-columns: 1fr; }
  .bday-hero-image { display: none; }
  .bday-why-grid { grid-template-columns: 1fr 1fr; }
  .bday-packages-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .bday-enquire-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bday-steps { flex-direction: column; }
  .bday-step-arrow { transform: rotate(90deg); margin: 0 auto; }
  .bday-why-grid { grid-template-columns: 1fr; }
  .bday-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .bday-gallery-item.tall { grid-row: span 1; }
  .bday-gallery-item.wide { grid-column: span 2; }
  .bday-form { padding: 24px 16px; }
  .bday-form-grid { grid-template-columns: 1fr; }
  .bday-form-group.span-2 { grid-column: 1; }
  .bday-hero-actions { flex-direction: column; }
}
