/*
 * GIHON — additional Book a Table styles only.
 * Load AFTER assets/css/main.css and the existing Bootstrap stylesheet.
 *
 * main.css supplies the theme variables, fonts, section/title styles,
 * reservation-form-bg, form padding, input/textarea appearance, submit
 * button appearance, hover states and submission feedback.
 * Bootstrap supplies the responsive grid, spacing and form-control base.
 * All additions below are scoped to .gihon-booking.
 */

/* Section-specific decoration; the background color still comes from main.css. */
.gihon-booking {
  position: relative;
  isolation: isolate;
  margin-top:80px;
}

.gihon-booking::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(ellipse at top left, color-mix(in srgb, var(--accent-color) 7%, transparent), transparent 65%);
}

.gihon-booking .booking-intro {
  line-height: 1.8;
}

/* New welcome panel; its surface is the existing reservation-form-bg class. */
.gihon-booking .booking-welcome,
.gihon-booking .booking-panel {
  border: 1px solid color-mix(in srgb, var(--accent-color) 24%, transparent);
}

.gihon-booking .booking-welcome {
  position: relative;
  overflow: hidden;
}

.gihon-booking .booking-welcome::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -140px;
  right: -75px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 18%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent-color) 3%, transparent), 0 0 0 28px color-mix(in srgb, var(--accent-color) 2%, transparent);
  pointer-events: none;
}

.gihon-booking .booking-eyebrow {
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.gihon-booking .booking-eyebrow,
.gihon-booking .booking-welcome-title em,
.gihon-booking .booking-accent,
.gihon-booking .booking-icon {
  color: var(--accent-color);
}

.gihon-booking .booking-welcome-title {
  margin: 24px 0 18px;
  font-size: clamp(32px, 2.8vw, 42px);
  line-height: 1.22;
}

.gihon-booking .booking-rule {
  height: 1px;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--accent-color) 45%, transparent), transparent);
}

/* Lightweight inline icons; no additional icon library is required. */
.gihon-booking .booking-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--accent-color) 30%, transparent);
  border-radius: 50%;
}

.gihon-booking .booking-icon svg,
.gihon-booking .booking-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* New panel border and field labels; existing form styles are not copied. */
.gihon-booking .booking-panel {
  border-top: 2px solid var(--accent-color);
}

.gihon-booking .booking-form label {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--heading-color);
}

.gihon-booking .booking-optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--default-color);
}

.gihon-booking .booking-form input {
  min-height: 48px;
}

.gihon-booking .booking-form input[type="date"],
.gihon-booking .booking-form input[type="time"] {
  color-scheme: dark;
}

/* Keyboard focus is an addition to the existing hover/focus border styles. */
.gihon-booking :is(input, textarea, button, a):focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

/* Prevent iOS focus zoom. Existing desktop input styles remain inherited. */
@media (max-width: 767.98px) {
  .gihon-booking .booking-form input.form-control,
  .gihon-booking .booking-form textarea.form-control {
    font-size: 16px;
  }
}
