/* Destination : assets/css/navbar.css */

/* ---------- Top bar (À propos / Contact) ---------- */
.nh-topbar {
  background: var(--nh-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nh-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nh-lang-switch {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 700; color: var(--nh-grey-300);
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50px;
  padding: 0.25rem 0.75rem; transition: var(--nh-transition); white-space: nowrap;
}
.nh-lang-switch i { color: var(--nh-gold); font-size: 0.72rem; }
.nh-lang-switch:hover { color: var(--nh-white); border-color: var(--nh-rose); background: rgba(230, 57, 80, 0.15); }
@media (max-width: 575.98px) {
  .nh-lang-switch span { display: none; }
  .nh-lang-switch { padding: 0.3rem 0.55rem; }
}
.nh-topbar-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0.5rem 0;
}
.nh-topbar-links li { position: relative; }
.nh-topbar-links li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.7rem;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
}
.nh-topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nh-grey-300);
  transition: var(--nh-transition);
  white-space: nowrap;
}
.nh-topbar-links a i { color: var(--nh-gold); font-size: 0.78rem; transition: var(--nh-transition); }
.nh-topbar-links a:hover,
.nh-topbar-links a.active { color: var(--nh-white); }
.nh-topbar-links a:hover i,
.nh-topbar-links a.active i { color: var(--nh-rose); }

@media (max-width: 575.98px) {
  .nh-topbar-links { gap: 0.9rem; }
  .nh-topbar-links a { font-size: 0.66rem; gap: 0.32rem; }
  .nh-topbar-links a i { font-size: 0.66rem; }
  .nh-topbar-links li:not(:last-child)::after { right: -0.45rem; height: 10px; }
}

.nh-navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1050;
  width: 100%;
}

.nh-navbar {
  background: var(--nh-white);
  padding: 0.75rem 0;
  box-shadow: 0 2px 18px rgba(43, 27, 30, 0.08);
  transition: var(--nh-transition);
}

.nh-navbar.nh-scrolled {
  padding: 0.4rem 0;
  box-shadow: 0 6px 24px rgba(43, 27, 30, 0.14);
}

/* ---------- Marque ---------- */
.nh-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nh-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--nh-gradient-primary);
  color: var(--nh-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--nh-shadow-glow);
  flex-shrink: 0;
}
.nh-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nh-brand-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--nh-dark);
}
.nh-brand-accent { color: var(--nh-rose); }
.nh-brand-slogan {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--nh-grey-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 575.98px) {
  .nh-brand-slogan { display: none; }
}

/* ---------- Liens ---------- */
.nh-navbar .nav-link {
  font-weight: 600;
  color: var(--nh-dark);
  padding: 0.6rem 1rem !important;
  border-radius: 50px;
  transition: var(--nh-transition);
  position: relative;
}
.nh-navbar .nav-link:hover,
.nh-navbar .nav-link.active {
  color: var(--nh-rose);
  background: var(--nh-rose-light);
}
.nh-navbar .dropdown-toggle::after { vertical-align: 2px; }

.nh-dropdown {
  border: none;
  border-radius: var(--nh-radius-md);
  box-shadow: var(--nh-shadow-md);
  padding: 0.6rem;
  margin-top: 0.6rem !important;
}
.nh-dropdown .dropdown-item {
  border-radius: var(--nh-radius-sm);
  padding: 0.6rem 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--nh-transition);
}
.nh-dropdown .dropdown-item i { color: var(--nh-rose); width: 18px; text-align: center; }
.nh-dropdown .dropdown-item:hover { background: var(--nh-rose-light); color: var(--nh-rose-dark); }
.nh-dropdown-cta { color: var(--nh-teal); font-weight: 700; }

/* ---------- CTA suivi de réservation ---------- */
.nh-nav-cta-item { margin-left: 0.5rem; }
.nh-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--nh-gradient-primary);
  color: var(--nh-white) !important;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  box-shadow: var(--nh-shadow-glow);
  transition: var(--nh-transition);
  white-space: nowrap;
}
.nh-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(230, 57, 80, 0.35); }

/* ---------- Bouton hamburger personnalisé ---------- */
.nh-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--nh-rose-light);
  border-radius: 12px;
  padding: 0;
}
.nh-burger-line {
  display: block;
  width: 22px;
  height: 2.5px;
  margin: 0 auto;
  background: var(--nh-rose);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nh-burger[aria-expanded="true"] .nh-burger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nh-burger[aria-expanded="true"] .nh-burger-line:nth-child(2) { opacity: 0; }
.nh-burger[aria-expanded="true"] .nh-burger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Voile derrière le menu mobile ---------- */
.nh-navbar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(43, 27, 30, 0.45);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.nh-navbar-backdrop.show { opacity: 1; visibility: visible; }

/* ---------- Responsive : menu mobile plein écran ---------- */
@media (max-width: 991.98px) {
  .nh-burger { display: flex; }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(85vw, 360px);
    background: var(--nh-white);
    z-index: 1045;
    padding: 5.5rem 1.5rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(43, 27, 30, 0.15);
  }
  .navbar-collapse.show { transform: translateX(0); }
  .navbar-collapse.collapsing { transform: translateX(100%); transition: transform 0.35s ease; height: 100vh !important; }

  .nh-navbar .navbar-nav { width: 100%; }
  .nh-navbar .nav-item { width: 100%; border-bottom: 1px solid var(--nh-grey-300); }
  .nh-navbar .nav-link { padding: 0.9rem 0.5rem !important; width: 100%; }
  .nh-dropdown { box-shadow: none; padding: 0 0 0 1rem; margin-top: 0 !important; }
  .nh-nav-cta-item { margin: 1rem 0 0; }
  .nh-nav-cta { justify-content: center; width: 100%; }
}