/* =========================================================================
   SaiStay Shirdi — Public site design system
   Warm hospitality palette, premium/trustworthy/clean feel.
   ========================================================================= */

:root {
  --color-primary: #8B1E1E;
  --color-primary-dark: #6b1616;
  --color-gold: #D4A017;
  --color-bg: #FFF9F0;
  --color-dark: #2B2118;
  --color-accent: #F4E3B2;
  --color-white: #ffffff;
  --color-muted: #7a6f60;
  --color-success: #1e8b4c;
  --color-danger: #b3261e;
  --color-border: #ece0c8;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 8px 30px rgba(43, 33, 24, 0.08);
  --shadow-card: 0 4px 18px rgba(43, 33, 24, 0.10);
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-bg);
  margin: 0;
  padding-bottom: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.25;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }

.text-gold { color: var(--color-gold); }
.text-primary-brand { color: var(--color-primary); }
.bg-brand { background: var(--color-primary); }
.bg-cream { background: var(--color-bg); }

/* ---- Buttons ---------------------------------------------------------- */
.btn-brand {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
  font-weight: 600;
  padding: .75rem 1.6rem;
  border-radius: 50px;
  transition: all .2s ease;
}
.btn-brand:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; transform: translateY(-1px); }

.btn-gold {
  background: var(--color-gold);
  border: 1px solid var(--color-gold);
  color: var(--color-dark);
  font-weight: 600;
  padding: .75rem 1.6rem;
  border-radius: 50px;
  transition: all .2s ease;
}
.btn-gold:hover { background: #b8880f; border-color: #b8880f; color: #fff; transform: translateY(-1px); }

.btn-outline-brand {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  padding: .7rem 1.5rem;
  border-radius: 50px;
  transition: all .2s ease;
}
.btn-outline-brand:hover { background: var(--color-primary); color: #fff; }

.btn-sm-pill { border-radius: 50px; font-weight: 600; padding: .45rem 1.1rem; font-size: .9rem; }

/* ---- Navbar ------------------------------------------------------------ */
.site-navbar {
  background: rgba(255, 249, 240, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(43,33,24,.06);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-navbar .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-primary);
}
.site-navbar .navbar-brand span { color: var(--color-gold); }
.site-navbar .nav-link {
  font-weight: 500;
  color: var(--color-dark);
  margin: 0 .35rem;
}
.site-navbar .nav-link.active, .site-navbar .nav-link:hover { color: var(--color-primary); }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(43,33,24,.55), rgba(43,33,24,.72)), url('../images/site/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 5rem 0 8rem;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.1rem); }
.hero p.lead { color: #f3e9d6; font-size: 1.15rem; }
.hero .price-pill {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-dark);
  font-weight: 700;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.hero .trust-line {
  color: var(--color-accent);
  font-size: .95rem;
  margin-top: 1.2rem;
  font-weight: 500;
}

/* ---- Search card (overlaps hero) ---------------------------------------- */
.search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  margin-top: -6rem;
  position: relative;
  z-index: 5;
  border: 1px solid var(--color-border);
}
.search-card label { font-weight: 600; font-size: .85rem; color: var(--color-muted); }
.search-card .form-control, .search-card .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  padding: .65rem .8rem;
}
.search-card .form-control:focus, .search-card .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 .2rem rgba(139,30,30,.12);
}

/* ---- Section titles ------------------------------------------------------ */
.section-eyebrow {
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: .8rem;
}
.section-title { margin-bottom: .5rem; }
.section-sub { color: var(--color-muted); max-width: 640px; }

/* ---- Room cards ----------------------------------------------------------- */
.room-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.room-card .room-img { height: 210px; width: 100%; object-fit: cover; background: var(--color-accent); }
.room-card .room-body { padding: 1.25rem 1.35rem 1.5rem; }
.room-card .price { color: var(--color-primary); font-weight: 700; font-size: 1.35rem; }
.room-card .price small { color: var(--color-muted); font-weight: 500; font-size: .85rem; }
.room-card .distance { color: var(--color-muted); font-size: .9rem; }
.room-card .amenity-list { list-style: none; padding: 0; margin: .85rem 0; }
.room-card .amenity-list li { font-size: .9rem; margin-bottom: .35rem; color: var(--color-dark); }
.room-card .amenity-list li i { color: var(--color-success); width: 18px; }
.badge-guests {
  background: var(--color-accent);
  color: var(--color-dark);
  font-weight: 600;
  border-radius: 50px;
  padding: .35rem .8rem;
  font-size: .8rem;
}

/* ---- How it works steps -------------------------------------------------- */
.step-card { text-align: center; padding: 1.5rem 1rem; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem;
  margin: 0 auto 1rem;
  box-shadow: 0 6px 16px rgba(139,30,30,.25);
}
.step-card h5 { margin-bottom: .4rem; }
.step-card p { color: var(--color-muted); font-size: .92rem; }

/* ---- Trust badges / feature strip ----------------------------------------- */
.feature-strip { background: var(--color-accent); border-radius: var(--radius-md); padding: 1.5rem; }
.feature-strip .feature-item { text-align: center; }
.feature-strip i { font-size: 1.6rem; color: var(--color-primary); margin-bottom: .4rem; }

/* ---- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--color-dark); color: #e9ddc9; padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.site-footer a { color: #cfc0a3; }
.site-footer a:hover { color: var(--color-gold); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: #a99982; }

/* ---- Cards / generic ----------------------------------------------------- */
.card-soft { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); border: 1px solid var(--color-border); }
.badge-status { padding: .4rem .85rem; border-radius: 50px; font-weight: 600; font-size: .8rem; }

/* ---- Booking form (multi-step) -------------------------------------------- */
.booking-steps { display: flex; justify-content: space-between; margin-bottom: 2rem; max-width: 560px; }
.booking-steps .bstep { text-align: center; flex: 1; position: relative; }
.booking-steps .bstep .circ {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid var(--color-border);
  display: flex; align-items: center; justify-content: center; margin: 0 auto .4rem; font-weight: 700; color: var(--color-muted);
}
.booking-steps .bstep.active .circ, .booking-steps .bstep.done .circ { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.booking-steps .bstep span { font-size: .78rem; color: var(--color-muted); }
.booking-steps .bstep.active span { color: var(--color-primary); font-weight: 600; }

.summary-box { background: var(--color-accent); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; }
.summary-box .row-line { display: flex; justify-content: space-between; padding: .35rem 0; font-size: .95rem; }
.summary-box .row-line.total { border-top: 1px dashed rgba(43,33,24,.25); margin-top: .5rem; padding-top: .75rem; font-weight: 700; font-size: 1.05rem; }

.consent-box { background: #fff8ea; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 1rem; font-size: .88rem; color: var(--color-muted); }

/* ---- Sticky mobile book CTA ------------------------------------------------ */
.sticky-book-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040;
  background: #fff; box-shadow: 0 -6px 20px rgba(43,33,24,.12);
  padding: .75rem 1rem; display: none;
}
@media (max-width: 767.98px) {
  .sticky-book-cta.is-active { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
  body.has-sticky-cta { padding-bottom: 74px; }
}

/* ---- Utilities -------------------------------------------------------------- */
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow-soft) !important; }
.min-vh-40 { min-height: 40vh; }
.gallery-thumb { height: 90px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; }
.gallery-thumb.active { border-color: var(--color-primary); }
.gallery-main { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-md); }

@media (max-width: 575.98px) {
  .gallery-main { height: 260px; }
  .search-card { margin-top: -3.5rem; padding: 1.25rem; }
}
