/* Demo rezervasyon akışı */
body.page-reservation .menu-bar::before {
  opacity: 1;
  background-color: #2b2b2b;
}

body.page-reservation #main-content {
  background-color: #fff;
  color: #1a1a1a;
}

.reservation-demo {
  width: 100%;
  font-family: var(--font-site);
  color: #1a1a1a;
}

.reservation-demo__body {
  padding: clamp(7rem, 10vw, 9rem) clamp(1.25rem, 5vw, 3rem) clamp(3rem, 8vw, 5rem);
  box-sizing: border-box;
  min-height: calc(100vh - 100px);
}

.reservation-demo__container {
  max-width: 40rem;
  margin: 0 auto;
}

.reservation-demo__intro {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.reservation-demo__badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c4a32;
  background: #f5efe6;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 2px;
}

.reservation-demo__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reservation-demo__lead {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: #444;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.reservation-demo__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.reservation-demo__step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  transition: color 0.2s ease;
}

.reservation-demo__step.is-active,
.reservation-demo__step.is-done {
  color: #1a1a1a;
}

.reservation-demo__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
}

.reservation-demo__step.is-active .reservation-demo__step-num {
  background: #2b2b2b;
  border-color: #2b2b2b;
  color: #fff;
}

.reservation-demo__step.is-done .reservation-demo__step-num {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.reservation-demo__panel {
  display: none;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #faf9f7;
  border: 1px solid rgba(26, 26, 26, 0.1);
  margin-bottom: 1.25rem;
}

.reservation-demo__panel.is-active {
  display: block;
}

.reservation-demo__panel-title {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reservation-demo__subheading {
  margin: 1.25rem 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
}

.reservation-demo__hint,
.reservation-demo__disclaimer {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: #555;
}

.reservation-demo__calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.reservation-demo__cal-month {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reservation-demo__cal-btn {
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: #fff;
  width: 2.25rem;
  height: 2.25rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s ease;
}

.reservation-demo__cal-btn:hover {
  background: #eee;
}

.reservation-demo__calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #888;
}

.reservation-demo__calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.reservation-demo__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 1px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.reservation-demo__day:hover:not(:disabled):not(.is-empty) {
  border-color: #2b2b2b;
}

.reservation-demo__day.is-empty {
  background: transparent;
  cursor: default;
}

.reservation-demo__day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #f0f0f0;
}

.reservation-demo__day.is-selected {
  background: #2b2b2b;
  color: #fff;
  border-color: #2b2b2b;
}

.reservation-demo__day.is-today:not(.is-selected) {
  border-color: rgba(43, 43, 43, 0.4);
}

.reservation-demo__time-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reservation-demo__time-chip {
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid rgba(26, 26, 26, 0.25);
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.reservation-demo__time-chip:hover {
  border-color: #2b2b2b;
}

.reservation-demo__time-chip.is-selected {
  background: #2b2b2b;
  color: #fff;
  border-color: #2b2b2b;
}

.reservation-demo__time-chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.reservation-demo__floor-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 0.75rem;
  text-align: center;
}

.reservation-demo__tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.reservation-demo__table {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: 0.65rem 0.5rem;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.reservation-demo__table:hover:not(:disabled) {
  border-color: #2b2b2b;
  transform: translateY(-2px);
}

.reservation-demo__table.is-selected {
  background: #2b2b2b;
  color: #fff;
  border-color: #2b2b2b;
}

.reservation-demo__table:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #ececec;
}

.reservation-demo__table-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reservation-demo__table-cap {
  margin-top: 0.25rem;
  font-size: 0.65rem;
  font-weight: 300;
  opacity: 0.85;
}

.reservation-demo__legend {
  margin: 1rem 0 0;
  font-size: 0.7rem;
  color: #666;
  display: flex flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.reservation-demo__legend-dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.35rem;
  vertical-align: middle;
  border: 1px solid rgba(26, 26, 26, 0.3);
}

.reservation-demo__legend-dot--free {
  background: #fff;
}

.reservation-demo__legend-dot--busy {
  background: #ddd;
}

.reservation-demo__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reservation-demo__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.reservation-demo__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reservation-demo__input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 300;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: #fff;
  box-sizing: border-box;
}

.reservation-demo__input:focus {
  outline: none;
  border-color: #2b2b2b;
}

.reservation-demo__textarea {
  resize: vertical;
  min-height: 4rem;
}

.reservation-demo__summary {
  margin: 0 0 1rem;
  padding: 0;
}

.reservation-demo__summary dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777;
  margin-top: 0.75rem;
}

.reservation-demo__summary dt:first-child {
  margin-top: 0;
}

.reservation-demo__summary dd {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  font-weight: 400;
}

.reservation-demo__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.reservation-demo__btn {
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #2b2b2b;
  transition: background 0.2s ease, color 0.2s ease;
}

.reservation-demo__btn--primary {
  background: #2b2b2b;
  color: #fff;
  margin-left: auto;
}

.reservation-demo__btn--primary:hover {
  background: #1a1a1a;
}

.reservation-demo__btn--ghost {
  background: transparent;
  color: #1a1a1a;
}

.reservation-demo__btn--ghost:hover {
  background: #eee;
}

.reservation-demo__success {
  text-align: center;
  padding: 1.5rem 0;
}

.reservation-demo__success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2b2b2b;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.reservation-demo__success-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reservation-demo__success-ref {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.reservation-demo__success-text {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
  color: #555;
}

@media (max-width: 575px) {
  .reservation-demo__field-row {
    grid-template-columns: 1fr;
  }

  .reservation-demo__step-label {
    display: none;
  }
}