/* navbar.css — HolidayLandmark theme */

:root {
  --hl-green:        #0a4d3e;
  --hl-green-600:    #094034;
  --hl-green-50:     #e7f2ee;
  --hl-cream:        #fdf6ed;
  --hl-ink:          #0f172a;
  --hl-muted:        #6b7280;
  --hl-line:         #e5e7eb;
  --hl-orange:       #f97316;
}

.ms-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--hl-line);
}

.ms-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

/* ---------- Brand ---------- */
.ms-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--hl-green);
  line-height: 1;
}

.ms-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hl-green);
  color: #fff;
}

.ms-brand-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--hl-green);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.ms-nav-toggle,
.ms-nav-overlay,
.ms-nav-panel-head {
  display: none;
}

.ms-nav-panel {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---------- Menu ---------- */
.ms-menu {
  list-style: none;
  margin: 0;
  padding: 6px;
  display: flex;
  gap: 4px;
  background: var(--hl-cream);
  border-radius: 999px;
}

.ms-menu li { display: flex; }

.ms-menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--hl-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.ms-menu-link:hover {
  background: rgba(10, 77, 62, .08);
}

.ms-menu-link.is-active {
  background: #ffffff;
  color: var(--hl-green);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}

/* ---------- Locale chips ---------- */
.ms-nav-locale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ms-locale-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--hl-line);
  background: #fff;
  color: var(--hl-ink);
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s ease, background .15s ease;
}

.ms-locale-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.ms-locale-chip svg { color: var(--hl-muted); }
.ms-locale-rupee { font-weight: 800; color: var(--hl-ink); }
.ms-locale-caret { color: var(--hl-muted); font-size: 11px; }

/* ---------- Actions ---------- */
.ms-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.ms-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.ms-nav-btn-outline {
  background: #fff;
  color: var(--hl-green);
  border: 1.5px solid var(--hl-green);
}
.ms-nav-btn-outline:hover {
  background: var(--hl-green-50);
}

.ms-nav-btn-primary {
  background: var(--hl-green);
  color: #fff;
  border: 1.5px solid var(--hl-green);
}
.ms-nav-btn-primary:hover {
  background: var(--hl-green-600);
  border-color: var(--hl-green-600);
}

body.ms-nav-lock {
  overflow: hidden;
}

/* ---------- Mobile ---------- */
@media (max-width: 1080px) {
  .ms-menu { gap: 0; }
  .ms-menu-link { padding: 8px 12px; font-size: 13px; }
  .ms-nav-locale { gap: 6px; }
  .ms-locale-chip { padding: 6px 9px; font-size: 12px; }
  .ms-nav-btn { padding: 10px 14px; font-size: 13px; }
}

@media (max-width: 900px) {
  .ms-nav-inner {
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
  }

  .ms-brand-name { font-size: 17px; }
  .ms-brand-mark { width: 32px; height: 32px; }

  .ms-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--hl-line);
    border-radius: 999px;
    background: #fff;
    color: var(--hl-green);
    padding: 9px 12px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
  }

  .ms-nav-toggle:focus-visible,
  .ms-nav-close:focus-visible {
    outline: 2px solid var(--hl-green);
    outline-offset: 2px;
  }

  .ms-nav-toggle-bars {
    display: inline-block;
    position: relative;
    width: 14px;
    height: 10px;
  }

  .ms-nav-toggle-bars::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
  }

  .ms-nav-panel {
    position: fixed;
    top: 8px;
    right: 8px;
    bottom: 8px;
    width: min(340px, calc(100vw - 16px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--hl-line);
    background: #fff;
    box-shadow: 0 24px 60px rgba(10, 77, 62, 0.18);
    transform: translateX(112%);
    transition: transform 0.24s ease;
    z-index: 2001;
    overflow-y: auto;
    pointer-events: none;
  }

  .ms-nav-panel[aria-hidden="true"] {
    visibility: hidden;
  }

  .ms-nav.ms-nav-open .ms-nav-panel {
    transform: translateX(0);
    pointer-events: auto;
  }

  .ms-nav.ms-nav-open .ms-nav-panel[aria-hidden="false"] {
    visibility: visible;
  }

  .ms-nav-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .ms-nav-panel-title {
    color: var(--hl-green);
    font-size: 14px;
    font-weight: 800;
  }

  .ms-nav-close {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid var(--hl-line);
    background: #fff;
    color: var(--hl-green);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
  }

  .ms-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 77, 62, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2000;
  }

  .ms-nav.ms-nav-open .ms-nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .ms-menu {
    flex: 0 0 auto;
    width: 100%;
    flex-direction: column;
    background: var(--hl-cream);
    padding: 8px;
    border-radius: 16px;
    gap: 4px;
  }

  .ms-menu li { width: 100%; }

  .ms-menu-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .ms-nav-locale {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .ms-locale-chip { flex: 1 1 auto; justify-content: center; }

  .ms-nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    white-space: normal;
  }

  .ms-nav-btn {
    width: 100%;
    min-height: 44px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    font-size: 13px;
  }
}
