/* =========================================================
   HotelMumbai — Design Tokens
   Palette: deep navy + antique gold, warm neutral background.
   Signature motif: a low arch (nod to the Gateway of India)
   used as a section-divider and card accent throughout.
   ========================================================= */
:root {
  --navy-900: #0a1f38;
  --navy-800: #0f2c4c;
  --navy-700: #163a63;
  --gold-500: #c9a227;
  --gold-400: #d9b94f;
  --gold-100: #f4e8c1;
  --cream-50: #f7f4ee;
  --white: #ffffff;
  --ink: #16233a;
  --ink-soft: #4a5670;
  --line: #e4ddc9;
  --success: #1e7d4f;
  --danger: #b23a3a;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px rgba(10, 31, 56, 0.08);
  --shadow-card: 0 4px 16px rgba(10, 31, 56, 0.10);
  --container: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-50);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 .5em; color: var(--navy-900); }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.btn-outline-gold { background: transparent; border-color: var(--gold-500); color: var(--gold-500); }
.btn-outline-gold:hover { background: var(--gold-500); color: var(--navy-900); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy-900); color: var(--white); position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--white); }
.brand .brand-mark { color: var(--gold-400); }
.brand small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: .12em; font-weight: 500; color: var(--gold-100); text-transform: uppercase; }
.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--gold-100); opacity: .85; }
.main-nav a:hover { opacity: 1; color: var(--gold-400); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 26px; cursor: pointer; }

@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 76px 0 0 0; background: var(--navy-900); flex-direction: column; padding: 30px 24px; gap: 22px; transform: translateX(100%); transition: transform .25s ease; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white); padding: 90px 0 150px; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  width: 420px; height: 210px; border-radius: 210px 210px 0 0; background: var(--cream-50); opacity: .04;
}
.hero-eyebrow { color: var(--gold-400); letter-spacing: .16em; text-transform: uppercase; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 54px); max-width: 720px; line-height: 1.12; }
.hero p.lead { max-width: 560px; color: var(--gold-100); font-size: 18px; }

/* Search card — signature element: a low arch shadow beneath it echoes the Gateway of India */
.search-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  padding: 26px; margin-top: 44px; position: relative; z-index: 5;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; gap: 16px; align-items: end;
}
.search-card .field { display: flex; flex-direction: column; gap: 6px; }
.search-card label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.search-card input, .search-card select {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink);
}
@media (max-width: 980px) {
  .search-card { grid-template-columns: 1fr 1fr; margin-top: 30px; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: 70px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 34px; gap: 20px; flex-wrap: wrap; }
.section-head .eyebrow { color: var(--gold-500); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.section-alt { background: var(--white); }

.arch-divider { display: flex; justify-content: center; margin: 8px 0 40px; }
.arch-divider svg { width: 64px; height: 32px; }

/* ---------- Hotel cards ---------- */
.hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .hotel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .hotel-grid { grid-template-columns: 1fr; } }

.hotel-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.hotel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.hotel-card .thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.hotel-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hotel-card .badge { position: absolute; top: 14px; left: 14px; background: var(--gold-500); color: var(--navy-900); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .05em; }
.hotel-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.hotel-card h3 { font-size: 20px; margin-bottom: 4px; }
.hotel-card .loc { color: var(--ink-soft); font-size: 13px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.stars { color: var(--gold-500); font-size: 14px; letter-spacing: 2px; }
.hotel-card .desc { color: var(--ink-soft); font-size: 14px; flex: 1; }
.hotel-card .amenity-pills { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.pill { background: var(--cream-50); border: 1px solid var(--line); font-size: 11px; padding: 4px 10px; border-radius: 20px; color: var(--ink-soft); }
.hotel-card .price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.price-from { font-size: 12px; color: var(--ink-soft); }
.price-amount { font-family: var(--font-display); font-size: 22px; color: var(--navy-900); font-weight: 700; }
.hotel-card .cta-row { display: flex; gap: 10px; margin-top: 14px; }
.hotel-card .cta-row .btn { flex: 1; }

/* ---------- Benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 780px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit { background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg); padding: 30px; }
.benefit .icon { font-size: 30px; color: var(--gold-400); margin-bottom: 14px; }
.benefit h3 { color: var(--white); font-size: 19px; }
.benefit p { color: var(--gold-100); opacity: .85; font-size: 14px; margin: 0; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 780px) { .review-grid { grid-template-columns: 1fr; } }
.review-card { background: var(--white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-card); border-top: 3px solid var(--gold-500); }
.review-card .stars { margin-bottom: 10px; }
.review-card .name { font-weight: 700; margin-top: 12px; font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: var(--white); border-radius: var(--radius-lg); padding: 50px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: var(--gold-100); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--gold-100); padding: 60px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer a { display: block; font-size: 14px; color: var(--gold-100); opacity: .8; margin-bottom: 10px; }
.site-footer a:hover { opacity: 1; color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 13px; opacity: .7; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Filters / listing ---------- */
.listing-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .listing-layout { grid-template-columns: 1fr; } }
.filter-panel { background: var(--white); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-card); position: sticky; top: 96px; }
.filter-panel h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.filter-group { margin-bottom: 22px; }
.filter-group label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.filter-group input[type="range"] { width: 100%; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.listing-toolbar select { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* ---------- Hotel details ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; border-radius: var(--radius-lg); overflow: hidden; height: 420px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main-img { grid-row: 1 / 3; }
@media (max-width: 780px) { .gallery { display: block; height: 260px; } .gallery img:not(.main-img) { display: none; } }

.hotel-header { display: flex; justify-content: space-between; align-items: flex-start; margin: 26px 0; flex-wrap: wrap; gap: 16px; }
.hotel-header .addr { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }

.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .detail-layout { grid-template-columns: 1fr; } }

.info-block { background: var(--white); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-card); margin-bottom: 24px; }
.amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amenity-grid .item { font-size: 14px; display: flex; gap: 8px; align-items: center; }
.amenity-grid .item::before { content: "✓"; color: var(--gold-500); font-weight: 700; }

.room-card { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); display: grid; grid-template-columns: 220px 1fr auto; gap: 20px; padding: 18px; margin-bottom: 18px; align-items: center; }
@media (max-width: 780px) { .room-card { grid-template-columns: 1fr; } }
.room-card img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.room-card .room-meta { display: flex; gap: 14px; font-size: 13px; color: var(--ink-soft); margin: 8px 0; flex-wrap: wrap; }
.room-card .room-price { text-align: right; }
.room-card .room-price .amt { font-family: var(--font-display); font-size: 24px; color: var(--navy-900); font-weight: 700; }
.room-card .room-price .per { font-size: 12px; color: var(--ink-soft); }

.booking-widget { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 26px; position: sticky; top: 96px; border-top: 4px solid var(--gold-500); }
.booking-widget .field { margin-bottom: 14px; }
.booking-widget label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.booking-widget input, .booking-widget select { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Forms (booking, contact, admin) ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }
.alert-error { background: #fbeaea; color: var(--danger); border: 1px solid #f0c6c6; }
.alert-success { background: #e8f5ee; color: var(--success); border: 1px solid #bfe3cf; }

/* ---------- Price breakdown ---------- */
.price-breakdown { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.price-breakdown .line { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: var(--ink-soft); }
.price-breakdown .line.total { color: var(--navy-900); font-weight: 700; font-size: 18px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.price-breakdown .line.discount { color: var(--success); }

/* ---------- Static / narrow pages ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 34px; }
.prose ul { padding-left: 22px; }
.page-hero { background: var(--navy-900); color: var(--white); padding: 60px 0; text-align: center; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: var(--gold-100); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-status { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.badge-confirmed, .badge-paid, .badge-active, .badge-captured, .badge-checked_in { background: #e8f5ee; color: var(--success); }
.badge-pending, .badge-draft, .badge-created { background: #fdf3de; color: #9a6b0a; }
.badge-cancelled, .badge-failed, .badge-inactive { background: #fbeaea; color: var(--danger); }
