@charset "UTF-8";

/* ======================================================
   LODGE -- RESERVAR CSS
   Booking Wizard -- Sky Blue Theme
   ====================================================== */

:root {
  --sky:      #f8f5eb;
  --sky-mid:  #e6dfcf;
  --navy:     #005f73;
  --gold:     #1a7b96;
  --gold-lt:  #3491a9;
  --white:    #ffffff;
  --muted:    #666666;
  --border:   rgba(0,95,115,0.1);
  --shadow:   0 4px 15px rgba(0,0,0,0.05);
  --ease:     cubic-bezier(0.16,1,0.3,1);
  --serif:    'Montserrat', sans-serif;
  --sans:     'Roboto', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); background: var(--sky); color: #333; min-height: 100vh; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: var(--sans); }
input, textarea, select { font-family: var(--sans); }

/* -- NAV -------------------------------------------- */
.rnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(232,244,251,0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.rnav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.rnav-logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-mark { color: var(--gold); font-size: 1rem; }
.logo-text { font-family: var(--sans); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.05em; color: var(--navy); }
.rnav-back { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; color: var(--muted); transition: color 0.2s; }
.rnav-back:hover { color: var(--gold); }

/* -- LAYOUT ----------------------------------------- */
.booking-main {
  max-width: 1280px; margin: 0 auto; padding: 2.5rem 2rem 5rem;
  display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start;
}

/* -- PROGRESS --------------------------------------- */
.progress-wrap { margin-bottom: 2.5rem; }
.progress-steps {
  display: flex; align-items: center; gap: 0; margin-bottom: 0.8rem;
}
.ps {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  cursor: default;
}
.ps span {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sky-mid); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600;
  transition: background 0.3s, color 0.3s;
  border: 2px solid transparent;
}
.ps label { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ps.active span { background: var(--gold); color: white; border-color: var(--gold); }
.ps.active label { color: var(--gold); }
.ps.done span { background: var(--navy); color: white; }
.ps.done label { color: var(--navy); }
.ps-line { flex: 1; height: 2px; background: var(--border); margin: 0 4px; margin-bottom: 18px; transition: background 0.3s; }
.ps-line.done { background: var(--navy); }
.progress-bar { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width 0.4s var(--ease); }

/* -- STEP WRAPPER ----------------------------------- */
.step { display: none; animation: fadeIn 0.4s var(--ease); }
.step.active { display: block; }
@keyframes fadeIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.step-title {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25;
  color: var(--navy); margin-bottom: 0.4rem;
}
.step-title em { color: var(--gold); font-style: normal; font-weight: 700; }
.step-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem; }

/* -- PROPERTY SELECTION ----------------------------- */
.prop-cards { display: flex; flex-direction: column; gap: 1rem; }
.prop-sel-card {
  display: flex; gap: 0; border: 2px solid var(--border);
  border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  background: white;
}
.prop-sel-card:hover { border-color: rgba(184,122,48,0.35); box-shadow: 0 4px 24px rgba(13,30,48,0.1); transform: translateY(-2px); }
.prop-sel-card.selected { border-color: var(--gold); box-shadow: 0 4px 24px rgba(184,122,48,0.2); }
.psc-img {
  width: 180px; min-height: 140px; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.psc-info { flex: 1; padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.psc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.psc-loc { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.psc-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: var(--navy); }
.psc-check {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.psc-check.checked { background: var(--gold); border-color: var(--gold); }
.psc-check.checked::after { content: '✓'; font-size: 0.75rem; color: white; font-weight: 700; }
.psc-specs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.psc-specs span {
  font-size: 0.72rem; background: var(--sky); border: 1px solid var(--border);
  padding: 0.2rem 0.6rem; border-radius: 20px; color: var(--navy);
}
.psc-price { font-size: 0.82rem; color: var(--muted); margin-top: auto; }
.psc-price strong { color: var(--gold); font-size: 1rem; }

/* -- DATES / INFO BANNER ---------------------------- */
.info-banner {
  display: flex; align-items: center; gap: 0;
  background: white; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; margin-bottom: 1.2rem;
}
.ib-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.2rem; flex: 1;
}
.ib-icon { font-size: 1.2rem; flex-shrink: 0; }
.ib-item > div { display: flex; flex-direction: column; }
.ib-item strong { font-size: 0.82rem; color: var(--navy); }
.ib-item span { font-size: 0.72rem; color: var(--muted); margin-top: 0.1rem; }
.ib-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* -- DATES / CALENDAR ------------------------------- */
.date-display {
  display: flex; align-items: center; gap: 1rem;
  background: white; border: 2px solid var(--border);
  border-radius: 12px; padding: 1rem 1.5rem; margin-bottom: 1.5rem;
}
.date-box { flex: 1; }
.date-box-label { display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.date-box-val { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; color: var(--navy); }
.date-box-val.filled { color: var(--navy); font-weight: 600; }
.date-arrow { color: var(--muted); font-size: 1.2rem; flex-shrink: 0; }

.calendar-wrap { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.cal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); }
.cal-months { display: flex; gap: 2rem; flex: 1; justify-content: center; }
.cal-month-label { font-family: var(--serif); font-size: 1rem; font-weight: 400; color: var(--navy); text-align: center; min-width: 160px; }
.cal-nav {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sky); border: 1px solid var(--border);
  font-size: 1.2rem; color: var(--navy); display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; flex-shrink: 0;
}
.cal-nav:hover { background: var(--sky-mid); }
.cal-grids { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.cal-grid { padding: 1rem 1.5rem; }
.cal-grid:first-child { border-right: 1px solid var(--border); }
.cal-dow { display: grid; grid-template-columns: repeat(7,1fr); margin-bottom: 0.5rem; }
.cal-dow span { text-align: center; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0.3rem 0; }
.cal-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.cal-day {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 0.82rem; border-radius: 8px; cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none; background: none; color: var(--navy);
}
.day-num { font-weight: 500; }
.day-price { font-size: 0.55rem; color: var(--muted); letter-spacing: -0.02em; }
.cal-day:hover:not(.past):not(.empty):not(.booked) { background: var(--sky-mid); }
.cal-day.past { color: rgba(13,30,48,0.25); cursor: default; }
.cal-day.booked { background: #fdf5f5; color: #e57373; text-decoration: line-through; cursor: not-allowed; border: 1px solid #feeaea; }
.cal-day.empty { cursor: default; }
.cal-day.selected-start,
.cal-day.selected-end { background: var(--gold) !important; color: white !important; font-weight: 600; border-radius: 8px; }
.cal-day.selected-start .day-price, .cal-day.selected-end .day-price { color: rgba(255,255,255,0.8); }
.cal-day.in-range { background: rgba(184,122,48,0.12); border-radius: 0; }
.cal-day.in-range .day-price { color: var(--gold); }
.cal-day.in-range:first-child, .cal-day.selected-start + .cal-day.in-range { border-radius: 0; }
.cal-day.today .day-num { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* -- GUESTS (input fields) -------------------------- */
.guest-input-wrap {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; margin-bottom: 1rem;
}
.guest-input-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.4rem; border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.guest-input-row:last-child { border-bottom: none; }
.gir-label strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.15rem; }
.gir-label span { font-size: 0.75rem; color: var(--muted); }
.guest-input {
  width: 90px; text-align: center;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 1rem; font-weight: 500; color: var(--navy);
  background: var(--sky); outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
  appearance: textfield;
}
.guest-input::-webkit-outer-spin-button,
.guest-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.guest-input:focus { border-color: var(--gold); background: white; }
.guest-total-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--sky-mid); border-radius: 8px;
  padding: 0.65rem 1rem; font-size: 0.82rem; margin-bottom: 0.8rem;
}
#guestTotalText { color: var(--navy); font-weight: 500; }
.gtb-limit { font-size: 0.72rem; color: var(--muted); }
.alert-box {
  background: #fff5f5; border: 1px solid #fed7d7;
  color: #c53030; border-radius: 8px;
  padding: 0.75rem 1rem; font-size: 0.82rem; margin-bottom: 1rem;
  line-height: 1.5;
}

/* -- GUESTS (old counter -- kept for compat) --------- */
.guest-rows { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 1.5rem; }
.guest-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border);
}
.guest-row:last-child { border-bottom: none; }
.gr-info strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.2rem; }
.gr-info span { font-size: 0.78rem; color: var(--muted); }
.gr-counter { display: flex; align-items: center; gap: 1rem; }
.counter-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--border); background: none;
  font-size: 1.2rem; color: var(--navy); display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.counter-btn:hover { border-color: var(--gold); background: rgba(184,122,48,0.08); }
.counter-btn:disabled { opacity: 0.3; cursor: default; }
.counter-val { font-size: 1rem; font-weight: 500; min-width: 24px; text-align: center; }

/* -- CONTACT FORM ----------------------------------- */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 1.5rem; }
.form-row, .form-row-2 { display: grid; gap: 1rem; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.78rem; font-weight: 500; color: var(--navy); letter-spacing: 0.04em; }
.form-group .optional { font-weight: 400; color: var(--muted); }
.form-group input,
.form-group textarea {
  width: 100%; padding: 0.85rem 1.1rem;
  border: 1px solid transparent; border-radius: 10px;
  font-size: 0.95rem; font-weight: 500; color: var(--navy); 
  background: rgba(13,30,48,0.04);
  transition: all 0.3s var(--ease); outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted); font-weight: 400; opacity: 0.7;
}
.form-group input:hover,
.form-group textarea:hover {
  background: rgba(13,30,48,0.07);
}
.form-group input:focus,
.form-group textarea:focus { 
  background: white;
  border-color: var(--gold); 
  box-shadow: 0 4px 16px rgba(184,122,48,0.12); 
  transform: translateY(-1px);
}

/* -- PROMO CODE STYLES -- */
.promo-row { display: flex; gap: 0.8rem; }
.promo-row input { flex: 1; text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; }
.btn-promo {
  background: var(--navy); color: white;
  padding: 0 1.5rem; border-radius: 8px;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: background 0.2s;
}
.btn-promo:hover { background: var(--gold); }
.promo-feedback { font-size: 0.75rem; margin-top: 0.4rem; height: 1rem; font-weight: 500; }
.promo-applied { color: #22a84d; font-weight: 600; }

/* -- CONFIRM ---------------------------------------- */
.confirm-block {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem; margin-bottom: 1.2rem;
}
.cc-title { font-family: var(--serif); font-size: 1rem; font-weight: 400; color: var(--navy); margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--border); }
.confirm-prop { display: flex; align-items: center; gap: 0.8rem; }
.confirm-prop-img { width: 60px; height: 60px; border-radius: 8px; background-size: cover; background-position: center; flex-shrink: 0; }
.confirm-prop-name { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.confirm-prop-loc { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }
.confirm-dates { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding: 0.8rem; background: var(--sky); border-radius: 8px; }
.cd-item { flex: 1; }
.cd-label { display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.cd-val { font-family: var(--serif); font-size: 1rem; color: var(--navy); font-weight: 600; }
.cd-arrow { color: var(--muted); flex-shrink: 0; }
.confirm-guests { margin-top: 0.8rem; font-size: 0.85rem; color: var(--muted); }
.confirm-contact p { font-size: 0.9rem; margin: 0.3rem 0; }
.confirm-contact strong { color: var(--navy); }
.price-block { border: 2px solid var(--gold); }
.price-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.price-row { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--muted); }
.price-divider { height: 1px; background: var(--border); margin: 0.8rem 0; }
.price-total-row { display: flex; justify-content: space-between; font-size: 1rem; color: var(--navy); }
.price-total-row strong { font-size: 1.2rem; color: var(--gold); }
.price-note { font-size: 0.72rem; color: var(--muted); margin-top: 0.8rem; line-height: 1.5; }

/* -- SUCCESS ---------------------------------------- */
.success-wrap { text-align: center; padding: 3rem 1rem; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #22c55e; color: white;
  font-size: 2rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; box-shadow: 0 8px 24px rgba(34,197,94,0.3);
}
.success-info { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; margin-top: 1.5rem; text-align: left; }

/* -- NAVIGATION BTNS -------------------------------- */
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.final-nav { flex-direction: column; gap: 1rem; align-items: stretch; }
.btn-next {
  background: var(--gold); color: white;
  padding: 0.85rem 2rem; border-radius: 8px;
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s; border: none;
}
.btn-next:hover:not(:disabled) { background: var(--gold-lt); transform: translateY(-1px); }
.btn-next:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn-back {
  background: none; color: var(--muted); border: none;
  font-size: 0.85rem; font-weight: 500;
  transition: color 0.2s;
}
.btn-back:hover { color: var(--navy); }
.btn-confirm {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  background: #25d366; color: white;
  padding: 1rem 2rem; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em;
  width: 100%; border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-confirm:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.4); }

/* -- SUMMARY CARD ----------------------------------- */
.summary-col { position: sticky; top: 84px; }
.summary-card {
  background: white; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 32px rgba(13,30,48,0.1);
}
.sc-empty { padding: 2.5rem 2rem; text-align: center; color: var(--muted); }
.sc-empty-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.sc-empty p { font-size: 0.88rem; line-height: 1.6; }
.sc-content { padding: 0 0 1.5rem; }
.sc-prop-img { height: 180px; background-size: cover; background-position: center; }
.sc-prop-name { font-family: var(--serif); font-size: 1.2rem; padding: 1rem 1.5rem 0; color: var(--navy); }
.sc-dates { padding: 0.5rem 1.5rem; font-size: 0.82rem; color: var(--muted); }
.sc-divider { height: 1px; background: var(--border); margin: 1rem 0; }
.sc-price-rows { padding: 0 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.sc-price-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
.sc-total-row { display: flex; justify-content: space-between; align-items: center; padding: 0 1.5rem; font-size: 0.9rem; color: var(--navy); }
.sc-total-row strong { font-size: 1.3rem; color: var(--gold); font-family: var(--serif); }
.sc-note { font-size: 0.68rem; color: var(--muted); padding: 0.5rem 1.5rem 0; line-height: 1.5; }

.sc-checkin-info { padding: 0 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.sci-row { display: flex; justify-content: space-between; font-size: 0.78rem; }
.sci-row span { color: var(--muted); }
.sci-row strong { color: var(--navy); font-weight: 600; }
.sc-secure {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 0.68rem; color: var(--muted); padding: 0.8rem 1.5rem 0;
}
.sc-secure svg { flex-shrink: 0; color: #22c55e; }

/* -- RESPONSIVE ------------------------------------- */
@media (max-width: 1024px) {
  .booking-main { grid-template-columns: 1fr; }
  .summary-col { position: static; }
  .cal-grids { grid-template-columns: 1fr; }
  .cal-grid:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .cal-months { gap: 0; }
  .cal-month-label:last-child { display: none; }
}
@media (max-width: 600px) {
  .booking-main { padding: 1.5rem 1rem 4rem; }
  .psc-img { width: 120px; min-height: 120px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .progress-steps .ps label { display: none; }
  .date-display { flex-direction: column; gap: 0.5rem; }
  .date-arrow { transform: rotate(90deg); }
}
