/* Sportpálya foglalás – Tisza Garden Park */

.sport-booking-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin: 1.25rem auto 1.5rem;
}

.sport-booking-hero__media {
  position: relative;
  min-height: 320px;
}

.sport-booking-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.sport-booking-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.20), rgba(0,0,0,0.55));
}

.sport-booking-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 1.15rem;
  color: #fff;
}

.sport-booking-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sport-booking-lead {
  margin: 0;
  max-width: 56rem;
  font-size: 1rem;
  opacity: 0.95;
}

.sport-booking-callout {
  margin-top: 0.25rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 28rem;

  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.sport-booking-callout__label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.sport-booking-callout__phone {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.sport-booking-callout__phone:hover {
  text-decoration: underline;
}

.sport-booking-callout__hint {
  font-size: 0.9rem;
  opacity: 0.92;
}

/* Section + cards */

.sport-booking-section {
  margin: 1.25rem auto 2.5rem;
}

.sport-booking-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sport-booking-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.sport-booking-card__title {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  line-height: 1.25;
  color: #111827;
}

.sport-booking-text {
  margin: 0 0 0.75rem;
  color: #374151;
  line-height: 1.6;
}

.sport-booking-text--muted {
  color: #6b7280;
}

.sport-booking-list,
.sport-booking-bullets {
  margin: 0;
  padding-left: 1.05rem;
  color: #374151;
  line-height: 1.7;
}

.sport-booking-list li,
.sport-booking-bullets li {
  margin: 0.15rem 0;
}

/* Responsive */

@media (max-width: 900px) {
  .sport-booking-grid {
    grid-template-columns: 1fr;
  }

  .sport-booking-title {
    font-size: 1.7rem;
  }

  .sport-booking-hero__content {
    padding: 1rem 1rem 0.95rem;
  }
}

@media (max-width: 560px) {
  .sport-booking-hero__media,
  .sport-booking-hero__media img {
    min-height: 260px;
  }

  .sport-booking-title {
    font-size: 1.45rem;
  }

  .sport-booking-callout__phone {
    font-size: 1.1rem;
  }
}

.sport-booking-card--wide { grid-column: 1 / -1; }

/* ===== Online foglalás (Házirend alatt) – UI tuning ===== */

.sport-booking-formwrap {
  margin-top: 0.75rem;
}

.sport-booking-form {
  display: grid;
  gap: 0.9rem;
}

.sport-booking-row {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.sport-booking-label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  color: #111827;
  font-size: 0.95rem;
}

.sport-booking-label input,
.sport-booking-label select,
.sport-booking-label textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  color: #111827;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sport-booking-label textarea {
  resize: vertical;
  min-height: 92px;
}

.sport-booking-label input:focus,
.sport-booking-label select:focus,
.sport-booking-label textarea:focus {
  outline: none;
  border-color: #c7b6a8;
  box-shadow: 0 0 0 4px rgba(199,182,168,0.35);
  transform: translateY(-1px);
}

.sport-booking-label input::placeholder,
.sport-booking-label textarea::placeholder {
  color: #9ca3af;
}

/* Ár doboz */
.sport-booking-price {
  border: 1px solid #efe7df;
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(180deg, #fff, #fbf7f2);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.sport-booking-price__label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #6b7280;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.sport-booking-price__value {
  font-size: 1.15rem;
  font-weight: 900;
  color: #111827;
}

/* Foglaltság (slot grid) */
.sport-booking-slots {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 0.95rem;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.sport-booking-slots__title {
  font-weight: 900;
  color: #111827;
  margin-bottom: 0.65rem;
}

.sport-booking-slots__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.sport-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

.sport-slot:hover {
  transform: translateY(-1px);
  border-color: #d8c7b6;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.sport-slot:active {
  transform: translateY(0px);
}

.sport-slot.is-busy,
.sport-slot:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: #f3f4f6;
  box-shadow: none;
}

.sport-booking-slots__hint {
  margin-top: 0.6rem;
  color: #6b7280;
  font-size: 0.92rem;
}

/* Gomb + üzenet */
.sport-booking-actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

#sb-submit {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font-weight: 900;
  font-size: 0.98rem;

  color: #ffffff;
  background: #111827;

  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

#sb-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  filter: brightness(1.02);
}

#sb-submit:active {
  transform: translateY(0px);
}

#sb-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.sport-booking-msg {
  font-weight: 700;
  color: #111827;
}

/* Responsive finomhangolás */
@media (max-width: 900px) {
  .sport-booking-row {
    grid-template-columns: 1fr;
  }

  .sport-booking-slots__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sport-booking-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #sb-submit {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .sport-booking-slots__grid {
    grid-template-columns: 1fr;
  }
}
