/* === BOOKING PAGE CSS (matches Quote page layout/style) === */

/* Hero Section */
.book-hero{
  padding: 110px 0 80px;
  background: #000;
  text-align: center;
}

/* inner container */
.book-hero .container{
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}

/* BOOK APPOINTMENT badge */
.book-hero .section-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;
  border-radius: 999px;

  background: rgba(196,30,58,0.15);
  border: 1px solid rgba(196,30,58,0.4);

  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;

  margin-bottom: 22px;
}

/* Main heading */
.book-hero h1{
  margin: 0 0 16px;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 900;
  color: #fff;
}

/* Subtitle text */
.book-hero p{
  margin: 0 auto;
  max-width: 60ch;

  color: rgba(255,255,255,0.65);
  font-size: 18px;
  line-height: 1.7;
}


/* === FORM SECTION (grey block behind form like Quote page) === */
.section-booking{
  padding: 90px 0 110px;
  background: radial-gradient(circle at top, #15181c 0%, #0f1114 45%, #0b0d10 100%);
}

/* shared container */
.section-booking .container{
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

/* FORM CARD (same sizing feel as quote) */
.booking-form{
  width: min(820px, 100%);
  margin: 0 auto;

  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;

  box-shadow: 0 22px 80px rgba(0,0,0,0.55);
  padding: 34px;
}

/* fieldset reset */
.booking-form .form-group{
  border: none;
  margin: 0;
  padding: 0;
}

/* spacing between sections */
.booking-form .form-group + .form-group{
  margin-top: 26px;
}

/* legend/title */
.booking-form .form-title,
.booking-form legend{
  display: block;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 14px;
}

/* required star */
.booking-form .required{
  color: #c41e3a;
  font-weight: 900;
}

/* labels */
.booking-form label{
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 700;
}

/* inputs/select/textarea */
.booking-form input,
.booking-form select,
.booking-form textarea{
  width: 100%;
  padding: 12px 14px;

  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);

  color: #fff;
  outline: none;

  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.booking-form textarea{
  resize: vertical;
  min-height: 110px;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder{
  color: rgba(255,255,255,0.35);
}

.booking-form select{
  color: rgba(255,255,255,0.75);
}

/* focus glow */
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus{
  border-color: rgba(196,30,58,0.55);
  box-shadow: 0 0 0 4px rgba(196,30,58,0.18);
  background: rgba(255,255,255,0.08);
}

/* each field spacing */
.booking-form .form-field{
  margin-bottom: 18px;
}

/* === VEHICLE INFO GRID (Make / Model / Year) ===
   Your HTML wraps only "Make" in .form-grid, so we normalize that here.
*/
.booking-form .form-group:nth-of-type(3){
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

/* flatten the .form-grid wrapper so all 3 fields participate in the same grid */
.booking-form .form-group:nth-of-type(3) .form-grid{
  display: contents;
}

/* remove extra bottom margins inside this grid */
.booking-form .form-group:nth-of-type(3) .form-field{
  margin-bottom: 0;
}

/* === DATE + TIME SIDE BY SIDE === */
.booking-form .form-group:nth-of-type(4){
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.booking-form .form-group:nth-of-type(4) .form-field{
  margin-bottom: 0;
}

/* SUBMIT BUTTON AREA (full width like Quote) */
.form-actions{
  margin-top: 26px;
}

.form-actions .btn-primary{
  width: 100%;
  border: none;
  padding: 16px 18px;
  border-radius: 12px;
  cursor: pointer;
}

/* --- RESPONSIVE --- */
@media (max-width: 820px){
  .booking-form{
    padding: 26px 18px;
  }

  .booking-form .form-group:nth-of-type(3){
    grid-template-columns: 1fr;
  }

  .booking-form .form-group:nth-of-type(4){
    grid-template-columns: 1fr;
  }
}