﻿:root {
  --ink: #162433;
  --muted: #5f7082;
  --line: rgba(24, 45, 66, 0.12);
  --surface: rgba(255, 255, 255, 0.93);
  --surface-strong: #ffffff;
  --primary: #ff833a;
  --primary-deep: #ec6d22;
  --shadow-xl: 0 26px 64px rgba(14, 31, 49, 0.16);
  --shadow-lg: 0 14px 34px rgba(14, 31, 49, 0.12);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 213, 161, 0.56), transparent 28%),
    radial-gradient(circle at 94% 8%, rgba(166, 214, 255, 0.54), transparent 26%),
    linear-gradient(180deg, #fdf5ea 0%, #f6f9fd 34%, #ecf3fb 100%);
}

.booking-page {
  position: relative;
  width: min(1200px, calc(100% - 28px));
  margin: 22px auto 60px;
}

.booking-page::before,
.booking-page::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(0.2px);
}

.booking-page::before {
  width: 320px;
  height: 320px;
  top: 120px;
  right: -80px;
  background: radial-gradient(circle, rgba(123, 191, 255, 0.28) 0%, rgba(123, 191, 255, 0) 70%);
}

.booking-page::after {
  width: 280px;
  height: 280px;
  bottom: 40px;
  left: -70px;
  background: radial-gradient(circle, rgba(255, 181, 106, 0.24) 0%, rgba(255, 181, 106, 0) 70%);
}

.booking-hero {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-xl);
  background-image: url("../images/korea/booking-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14, 30, 46, 0.76) 0%, rgba(14, 30, 46, 0.34) 58%, rgba(14, 30, 46, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 28px 34px 40px;
  max-width: 760px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.2);
  color: #f5f9ff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-badge {
  margin: 14px 0 0;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.22);
  color: #f4fbff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.booking-hero h1 {
  margin: 14px 0 0;
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.booking-hero p {
  margin: 12px 0 0;
  color: rgba(236, 245, 255, 0.95);
  line-height: 1.7;
}

.booking-shell {
  position: relative;
  margin-top: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 252, 255, 0.94) 100%);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  overflow: hidden;
}

.booking-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 213, 171, 0.24), transparent 25%),
    radial-gradient(circle at 0% 100%, rgba(170, 214, 255, 0.24), transparent 28%);
}

.booking-form {
  display: grid;
  gap: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-family: "Noto Serif SC", serif;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid.full-row {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
}

.field.full-row {
  grid-column: 1 / -1;
}

.field > span {
  font-weight: 700;
  color: #21374a;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(25, 51, 74, 0.18);
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.picker-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.picker-wrap input[type="datetime-local"] {
  flex: 1 1 auto;
}

.picker-btn {
  min-width: 102px;
  min-height: 44px;
  border: 1px solid rgba(25, 51, 74, 0.2);
  border-radius: 10px;
  background: linear-gradient(140deg, #f3f9ff 0%, #e5f0ff 100%);
  color: #1f4e80;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.picker-btn:hover {
  border-color: rgba(47, 102, 255, 0.4);
  background: linear-gradient(140deg, #eaf4ff 0%, #dceaff 100%);
}

.picker-btn:focus {
  outline: 2px solid rgba(79, 141, 215, 0.35);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(79, 141, 215, 0.35);
  border-color: rgba(79, 141, 215, 0.65);
}

.field input[readonly] {
  background: #f4f8fc;
  color: #46627d;
}

.field small {
  color: #667d93;
  font-size: 0.82rem;
}

.field small.warn {
  color: #b75119;
  font-weight: 700;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.option-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(22, 53, 78, 0.16);
  background: #f8fbff;
  color: #264058;
  font-weight: 600;
}

.option-row input {
  width: 16px;
  height: 16px;
  accent-color: #3b79be;
}

#companionFields {
  margin-top: -4px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(49, 92, 131, 0.28);
  background: rgba(243, 250, 255, 0.84);
}

.is-hidden {
  display: none;
}

.submit-row {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

#submitButton {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: 0 12px 26px rgba(240, 111, 38, 0.36);
  cursor: pointer;
  transition: transform 140ms ease;
}

#submitButton:hover {
  transform: translateY(-1px);
}

#submitButton:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#submitHint {
  margin: 0;
  color: #5f7285;
}

.result-box {
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(22, 53, 78, 0.12);
  background: #f7fbff;
  color: #1d3850;
  line-height: 1.7;
}

.result-box.error {
  background: #fff7f3;
  border-color: rgba(198, 76, 18, 0.22);
  color: #8e3f15;
}

@media (max-width: 920px) {
  .booking-shell {
    padding: 18px;
  }

  .field-grid.two-col {
    grid-template-columns: 1fr;
  }

  .picker-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .picker-btn {
    width: 100%;
  }

  .hero-content {
    padding: 18px 18px 26px;
  }

  .booking-hero {
    min-height: 250px;
  }
}
