/* =========================================
   MSA 2027 — BOOK A ROOM
   ========================================= */

.booking-page {
  --booking-red: #a50021;
  --booking-dark: #101b2a;
  --booking-text: #172337;
  --booking-muted: #667487;
  --booking-border: #e2e6eb;

  font-family: "Inter", sans-serif;
  color: var(--booking-text);
  overflow: hidden;
}

.booking-page *,
.booking-page *::before,
.booking-page *::after {
  box-sizing: border-box;
}

.booking-page a {
  text-decoration: none;
}

.booking-page button,
.booking-page input,
.booking-page select,
.booking-page textarea {
  font: inherit;
}

/* HERO */

.booking-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #172232;
  color: #fff;
}

.booking-hero-image,
.booking-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.booking-hero-image {
  background-image: url("https://csakademija.me/conference2026/images/hotel_tara/Coverpicture.jpg");
  background-size: cover;
  background-position: center;
}

.booking-hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(8, 17, 30, 0.93) 0%,
    rgba(8, 17, 30, 0.76) 42%,
    rgba(8, 17, 30, 0.23) 100%
  );
}

.booking-hero-content {
  position: relative;
  padding-top: 120px;
  padding-bottom: 110px;
}

.booking-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.booking-eyebrow-light {
  color: #e5d2d6;
}

.booking-eyebrow-line {
  width: 29px;
  height: 3px;
  background: #c52043;
}

.booking-hero h1 {
  margin: 27px 0 24px;
  font-size: clamp(50px, 6vw, 91px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -4px;
}

.booking-hero h1 em,
.booking-section-title em,
.booking-final h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
}

.booking-hero h1 em {
  color: #f2c6ce;
}

.booking-hero-content > p {
  max-width: 560px;
  margin: 0 0 32px;
  color: #d5dce7;
  font-size: 15px;
  line-height: 1.9;
}

.booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 53px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 800;
  transition:
    transform 0.2s,
    background 0.2s;
}

.booking-button:hover {
  transform: translateY(-3px);
}

.booking-button-white {
  background: #fff;
  color: #162235;
}

.booking-button-white:hover {
  background: #f2e5e8;
  color: #162235;
}

.booking-hero-footer {
  position: absolute;
  bottom: 31px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #d8e0eb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* COMMON SECTIONS */

.booking-intro,
.booking-rooms,
.booking-form-section {
  padding: 105px 0;
}

.booking-section-label {
  display: block;
  margin-bottom: 21px;
  color: var(--booking-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.booking-section-title {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -2.5px;
}

.booking-section-title em {
  color: var(--booking-red);
}

.booking-red-rule {
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 26px;
  background: var(--booking-red);
}

/* INTRO */

.booking-intro {
  background: #fff;
}

.booking-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.booking-intro-copy p {
  color: var(--booking-muted);
  font-size: 14px;
  line-height: 1.95;
}

.booking-intro-copy .booking-lead {
  color: #263449;
  font-size: 17px;
  font-weight: 500;
}

.booking-info-note {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  padding: 20px;
  background: #f8f2f3;
  border-left: 3px solid var(--booking-red);
}

.booking-info-icon {
  display: grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--booking-red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.booking-info-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

/* ROOM CARDS */

.booking-rooms {
  background: #f5f6f8;
}

.booking-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 43px;
}

.booking-section-heading > p {
  max-width: 350px;
  margin: 0;
  color: var(--booking-muted);
  font-size: 13px;
  line-height: 1.9;
}

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

.booking-room-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--booking-border);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.booking-room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(12, 25, 42, 0.09);
}

.booking-room-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #d8dde4;
}

.booking-room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.booking-room-card:hover .booking-room-image img {
  transform: scale(1.045);
}

.booking-room-number {
  position: absolute;
  bottom: 17px;
  left: 18px;
  padding: 10px 13px;
  background: rgba(12, 23, 38, 0.86);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.booking-room-content {
  padding: 30px;
}

.booking-room-content h3 {
  margin: 0 0 13px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.booking-room-content > p {
  min-height: 65px;
  color: var(--booking-muted);
  font-size: 13px;
  line-height: 1.85;
}

.booking-room-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid var(--booking-border);
}

.booking-room-bottom > span {
  color: #8792a0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.booking-room-bottom a {
  color: var(--booking-red);
  font-size: 12px;
  font-weight: 800;
}

.booking-room-bottom a:hover {
  color: #760018;
}

.booking-room-disclaimer {
  margin: 24px 0 0;
  color: #788496;
  font-size: 11px;
  line-height: 1.8;
}

/* FORM SECTION */

.booking-form-section {
  background: #fff;
  scroll-margin-top: 80px;
}

.booking-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 75px;
}

.booking-form-intro > p {
  max-width: 400px;
  margin: 25px 0 35px;
  color: var(--booking-muted);
  font-size: 14px;
  line-height: 1.9;
}

.booking-steps {
  display: grid;
  gap: 25px;
  margin-top: 42px;
}

.booking-step {
  display: flex;
  gap: 19px;
}

.booking-step > span {
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  height: 43px;
  background: #f8ebee;
  color: var(--booking-red);
  font-size: 12px;
  font-weight: 800;
}

.booking-step strong {
  display: block;
  margin: 3px 0 7px;
  font-size: 14px;
}

.booking-step p {
  margin: 0;
  color: var(--booking-muted);
  font-size: 12px;
  line-height: 1.8;
}

.booking-side-note {
  margin-top: 47px;
  padding: 24px;
  background: #f6f7f9;
  border-left: 3px solid var(--booking-red);
}

.booking-side-note strong,
.booking-side-note span {
  display: block;
}

.booking-side-note strong {
  font-size: 12px;
}

.booking-side-note span {
  margin-top: 9px;
  font-size: 18px;
  font-weight: 800;
}

.booking-side-note p {
  margin: 11px 0 0;
  color: var(--booking-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* FORM CARD */

.booking-form-card {
  padding: 35px;
  background: #fff;
  border: 1px solid #e3e6eb;
  box-shadow: 0 22px 70px rgba(15, 29, 47, 0.08);
}

.booking-form-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--booking-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.booking-form-heading-icon {
  font-size: 22px;
}

.booking-form-card h3 {
  margin: 0 0 12px;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1px;
}

.booking-form-description {
  margin-bottom: 30px;
  color: var(--booking-muted);
  font-size: 12px;
}

.booking-form-description span,
.booking-label span,
.booking-consent label span {
  color: var(--booking-red);
}

/* FIELDSETS */

.booking-fieldset {
  min-width: 0;
  margin: 0 0 32px;
  padding: 0;
  border: 0;
}

.booking-fieldset legend {
  width: 100%;
  margin-bottom: 21px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--booking-border);
  color: #233148;
  font-size: 14px;
  font-weight: 800;
}

.booking-label {
  display: block;
  margin-bottom: 9px;
  color: #344258;
  font-size: 11px;
  font-weight: 700;
}

.booking-input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #dce1e7;
  border-radius: 3px;
  outline: none;
  background: #fff;
  color: #1a273a;
  font-size: 12px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.booking-input::placeholder {
  color: #a0a9b5;
}

.booking-input:focus {
  border-color: var(--booking-red);
  box-shadow: 0 0 0 3px rgba(165, 0, 33, 0.07);
}

.booking-input:disabled {
  background: #f2f4f6;
  color: #98a2af;
  cursor: not-allowed;
}

.booking-select {
  cursor: pointer;
}

.booking-textarea {
  min-height: 110px;
  resize: vertical;
}

.booking-field-help {
  display: block;
  margin-top: 9px;
  color: #8490a0;
  font-size: 10px;
}

/* CONSENT */

.booking-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: #f7f8fa;
}

.booking-consent input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--booking-red);
}

.booking-consent label {
  color: #566579;
  font-size: 11px;
  line-height: 1.85;
  cursor: pointer;
}

/* SUBMIT */

.booking-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 54px;
  margin-top: 23px;
  padding: 0 21px;
  border: none;
  background: var(--booking-red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  transition:
    background 0.2s,
    transform 0.2s;
}

.booking-submit:hover:not(:disabled) {
  background: #800019;
  transform: translateY(-2px);
}

.booking-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.booking-submit span {
  font-size: 18px;
}

.booking-form-status {
  margin-top: 15px;
  color: #7d8999;
  font-size: 11px;
  line-height: 1.8;
}

/* FINAL CTA */

.booking-final {
  padding: 75px 0;
  background: #a50021;
  color: #fff;
}

.booking-final-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}

.booking-final h2 {
  margin: 17px 0;
  font-size: clamp(35px, 4vw, 55px);
  font-weight: 800;
  letter-spacing: -2px;
}

.booking-final h2 em {
  color: #f7c7d0;
}

.booking-final p {
  margin: 0;
  color: #f3d9de;
  font-size: 12px;
  line-height: 1.8;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .booking-intro-grid,
  .booking-form-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .booking-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .booking-intro,
  .booking-rooms,
  .booking-form-section {
    padding: 75px 0;
  }
}

@media (max-width: 767px) {
  .booking-hero {
    min-height: 580px;
  }

  .booking-hero-content {
    padding-top: 115px;
    padding-bottom: 110px;
  }

  .booking-hero h1 {
    letter-spacing: -2px;
  }

  .booking-room-grid {
    grid-template-columns: 1fr;
  }

  .booking-room-image {
    height: 250px;
  }

  .booking-form-card {
    padding: 25px 20px;
  }

  .booking-final-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-hero-footer {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 480px) {
  .booking-section-title {
    letter-spacing: -1.5px;
  }

  .booking-hero-content > p {
    font-size: 13px;
  }

  .booking-room-content {
    padding: 23px;
  }

  .booking-hero-footer {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-page *,
  .booking-page *::before,
  .booking-page *::after {
    transition-duration: 0.01ms !important;
  }
}
