/* ═══════════════════════════════════════════════
   BadKnee Media — Game Day Booking Page
   Brand: Game Day Navy, Mischievous Orange, Poppins
   ═══════════════════════════════════════════════ */

/* ─── Reset & Variables ───────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #1E2749;
  --orange: #F26422;
  --orange-light: rgba(242, 100, 34, 0.12);
  --orange-hover: #d9551a;
  --light-white: #FAFAFF;
  --white: #FFFFFF;
  --black: #000000;
  --gray-text: #666666;
  --gray-light: #999999;
  --border: #e0e0e8;
  --section-border: #e8e8ee;
}

@font-face {
  font-family: 'Cubao';
  src: url('assets/fonts/Cubao_Free_Wide.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--light-white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Buttons ─────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-hover); }
.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* ─── Section Utilities ───────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--navy);
  opacity: 0.5;
  margin-bottom: 16px;
}
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.required { color: var(--orange); }

/* ─── Hero ────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  width: 100%;
  height: 360px;
  object-fit: cover;
  opacity: 0.3;
  display: block;
}
.hero-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.hero-logo {
  height: 130px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}
.hero-tagline {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 4px;
}
.hero-sub {
  font-size: 14px;
  opacity: 0.55;
  margin-bottom: 28px;
}

/* ─── How It Works ────────────────────────────── */
.how-it-works {
  padding: 44px 30px;
  background: var(--light-white);
  border-bottom: 1px solid var(--section-border);
}
.steps {
  display: flex;
  gap: 20px;
}
.step {
  flex: 1;
  text-align: center;
}
.step-num {
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}
.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.step-desc {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ─── Booking ─────────────────────────────────── */
.booking {
  padding: 44px 30px;
  background: var(--white);
  border-bottom: 1px solid var(--section-border);
}
.booking-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.calendar-col { flex: 1; }
.form-col { flex: 1; }

/* Calendar */
.calendar-box {
  background: var(--light-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  position: sticky;
  top: 20px;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cal-month-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}
.cal-nav {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.cal-nav:hover { background: var(--orange-light); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 13px;
}
.cal-day-header {
  color: var(--gray-light);
  font-weight: 600;
  font-size: 11px;
  padding: 6px 0;
}
.cal-day {
  padding: 8px 0;
  border-radius: 6px;
  color: var(--navy);
  cursor: default;
  transition: background 0.15s;
  user-select: none;
}
.cal-day.empty {
  visibility: hidden;
}
.cal-day.disabled {
  color: #ccc;
}
.cal-day.available {
  background: var(--orange-light);
  cursor: pointer;
  font-weight: 500;
}
.cal-day.available:hover {
  background: rgba(242, 100, 34, 0.25);
}
.cal-day.selected {
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
}
.cal-legend {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  justify-content: center;
  font-size: 11px;
  color: var(--gray-light);
}
.cal-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: middle;
}
.cal-legend-available {
  background: var(--orange-light);
  border: 1px solid rgba(242, 100, 34, 0.3);
}
.cal-legend-selected {
  background: var(--orange);
}

/* Form */
.form-group { margin-bottom: 14px; }
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
  display: block;
}
.form-input {
  width: 100%;
  background: var(--light-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 100, 34, 0.1);
}
.form-input::placeholder { color: #b0b0b8; }
.form-input.error { border-color: #e74c3c; }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; }
.btn-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
}
.form-message {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}
.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Honeypot — invisible to users */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ─── About ───────────────────────────────────── */
.about {
  padding: 44px 30px;
  background: var(--light-white);
  border-bottom: 1px solid var(--section-border);
}
.about-layout {
  display: flex;
  gap: 28px;
  align-items: center;
}
.about-text { flex: 1; }
.about-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}
.about-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--orange);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Pricing ─────────────────────────────────── */
.pricing {
  padding: 44px 30px;
  background: var(--white);
  text-align: center;
  border-bottom: 1px solid var(--section-border);
}
.pricing-amount {
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 8px;
  line-height: 1.2;
}
.pricing-per {
  font-size: 20px;
  font-weight: 400;
  color: var(--gray-text);
}
.pricing-details {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 12px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ─── Footer ──────────────────────────────────── */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 28px 30px;
  text-align: center;
}
.footer-brand {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.footer-info {
  font-size: 13px;
  opacity: 0.6;
}
.footer-info a {
  color: var(--orange);
  text-decoration: none;
}
.footer-info a:hover { text-decoration: underline; }

/* ─── Responsive ──────────────────────────────── */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .booking-layout {
    flex-direction: column;
  }
  .calendar-col,
  .form-col {
    width: 100%;
  }
  .calendar-box {
    position: static;
  }
  .steps {
    flex-wrap: wrap;
  }
  .step {
    flex: 1 1 calc(50% - 10px);
    margin-bottom: 16px;
  }
  .about-layout {
    flex-direction: column-reverse;
    text-align: center;
  }
  .about-photo {
    margin-bottom: 8px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .hero-logo { height: 90px; }
  .hero-tagline { font-size: 16px; }
  .hero-sub { font-size: 13px; }
  .hero-bg { height: 280px; }

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

  .steps {
    flex-direction: column;
    gap: 16px;
  }
  .step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 14px;
  }
  .step-num {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .hero-content { padding: 30px 20px; }
  .how-it-works,
  .booking,
  .about,
  .pricing,
  .footer { padding-left: 20px; padding-right: 20px; }

  .cal-day {
    padding: 10px 0;
    font-size: 14px;
  }

  .btn { padding: 12px 24px; font-size: 14px; }
  .btn-submit { padding: 14px; }
}
