/* ═══════════════════════════════════════════════════════════
   MAXXVALUE — SHARED SITE HEADER  (05-Sep-2026)

   The site header/nav, extracted so a page can wear it WITHOUT pulling in the
   whole of taj.css. Written for property-bengaluru.html, which is a
   self-contained landing page with its own inline stylesheet: taj.css would
   have dropped its global reset (`* { margin:0; padding:0 }`) and its own
   .wrap / .btn / body rules on top of that page and wrecked the layout.

   Rules here are therefore:
   • scoped to header selectors only — nothing generic, no element selectors,
     no reset. Dropping this file onto any page changes only the header.
   • using --mvh-* variables of their own, so they cannot collide with a
     host page's tokens (the Bengaluru page defines its own --teal / --cream).

   The same rules still live in css/taj.css for every other page. If you change
   the header's look, change it in BOTH files — taj.css around the "HEADER"
   block, and here. Values below are copied verbatim from taj.css so the two
   render identically.
   ═══════════════════════════════════════════════════════════ */

:root {
  --mvh-gold:       #01A396;
  --mvh-gold-light: #0CCBBC;
  --mvh-dark:       #1C1A17;
  --mvh-dark2:      #2D2418;
  --mvh-cream:      #FAF8F4;
  --mvh-border:     #E8E2D8;
  --mvh-height:     76px;
}

/* ── Header shell ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid var(--mvh-border);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

#site-header .nav-wrap {
  display: flex;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--mvh-height);
  gap: 32px;
}

/* ── Logo ── */
#site-header .nav-logo { flex-shrink: 0; background: #fff; border-radius: 4px; padding: 4px 8px; }
#site-header .nav-logo a { display: block; line-height: 0; text-decoration: none; }
#site-header .nav-logo img { height: 68px; width: auto; display: block; object-fit: contain; max-width: 200px; background: #fff; }

/* ── Nav links ── */
#site-header .nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  flex: 1;
  justify-content: center;
  margin: 0;
  padding: 0;
}
#site-header .nav-links > li { list-style: none; }
#site-header .nav-links > li > a {
  display: block;
  padding: 8px 13px;
  font-family: 'DM Sans', Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mvh-dark2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
#site-header .nav-links > li > a:hover { color: var(--mvh-gold); }

/* ── Dropdown ── */
#site-header .has-dropdown { position: relative; }
#site-header .dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 320px;
  border-top: 2px solid var(--mvh-gold);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  padding: 12px 0 16px;
  z-index: 10000;
}
#site-header .has-dropdown:hover .dropdown-panel { display: block; }
#site-header .dp-city {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--mvh-gold);
  padding: 10px 24px 5px;
}
#site-header .dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 24px 7px 32px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mvh-dark2);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
#site-header .dropdown-panel a::before { content: '\203A'; color: var(--mvh-gold); font-size: 1.1rem; }
#site-header .dropdown-panel a:hover { background: var(--mvh-cream); color: var(--mvh-gold); }

/* ── Book a Stay ── */
#site-header .btn-book-nav {
  flex-shrink: 0;
  display: inline-block;
  background: var(--mvh-gold);
  color: #fff !important;
  padding: 12px 28px;
  font-family: 'DM Sans', Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
#site-header .btn-book-nav:hover { background: var(--mvh-gold-light); }

/* ── Hamburger ── */
#site-header .hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
#site-header .hamburger span { display: block; width: 24px; height: 1.5px; background: var(--mvh-dark2); }

/* ── Mobile menu ── */
.mob-menu {
  display: none;
  position: fixed; inset: 0; z-index: 19999;
  background: var(--mvh-dark);
  flex-direction: column;
  overflow-y: auto;
}
.mob-menu.open { display: flex; }
.mob-menu .mob-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mob-menu .mob-head img { height: 48px; }
.mob-menu .mob-close {
  background: none; border: none;
  font-size: 1.9rem; color: rgba(255,255,255,0.6);
  cursor: pointer; line-height: 1;
}
.mob-menu .mob-close:hover { color: #fff; }
.mob-menu .mob-body { flex: 1; }
.mob-menu .mob-body a {
  display: block;
  padding: 14px 24px;
  font-family: 'DM Sans', Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.mob-menu .mob-body a:hover { color: var(--mvh-gold-light); }
.mob-menu .mob-foot { padding: 24px; }

/* Pages using this header must clear the fixed bar. Add class="mvh-offset"
   to <body> and the top padding is handled here, at both breakpoints. */
body.mvh-offset { padding-top: var(--mvh-height); }

@media (max-width: 1024px) {
  #site-header .nav-wrap { padding: 0 20px; gap: 20px; }
}
@media (max-width: 860px) {
  #site-header .nav-links { display: none; }
  #site-header .hamburger { display: flex; }
  #site-header .btn-book-nav { padding: 11px 20px; font-size: 0.62rem; }
}
@media (max-width: 600px) {
  :root { --mvh-height: 64px; }
  #site-header .nav-wrap { height: 64px; padding: 0 16px; }
  #site-header .nav-logo img { height: 52px; }
  #site-header .hamburger { min-width: 44px; min-height: 44px; }
  #site-header .btn-book-nav { min-height: 44px; display: flex; align-items: center; }
}
