/* Header component for NightVenueHotel */

.nvh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
}

.nvh-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Branding */

.nvh-header__brand {
  display: flex;
  align-items: center;
}

.nvh-header__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #f7f2e9;
}

.nvh-header__logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f6e6c3, #b8860b 45%, #5c3a00 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #050305;
  box-shadow: 0 0 0 1px rgba(255, 248, 220, 0.6), 0 10px 28px rgba(0, 0, 0, 0.6);
}

.nvh-header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nvh-header__logo-name {
  font-family: "Playfair Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nvh-header__logo-tagline {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(243, 234, 222, 0.7);
}

/* Nav */

.nvh-header__nav {
  display: flex;
}

.nvh-header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nvh-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f5eee3;
  background: transparent;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.nvh-header__nav-link::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.2rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.7), transparent);
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nvh-header__nav-link:hover,
.nvh-header__nav-link:focus-visible {
  background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.95));
  color: #fffbf2;
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.28), 0 8px 20px rgba(0, 0, 0, 0.7);
  outline: none;
}

.nvh-header__nav-link:hover::after,
.nvh-header__nav-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nvh-header__nav-link:focus-visible {
  outline: 2px solid #f5e0a3;
  outline-offset: 2px;
}

/* CTA */

.nvh-header__nav-item--cta {
  margin-left: 0.2rem;
}

.nvh-header__nav-link--cta {
  padding-inline: 1.1rem;
  background: linear-gradient(135deg, #e0b15b, #f6e7c1 40%, #b8860b 100%);
  color: #130b02!important;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
}

.nvh-header__nav-link--cta:hover,
.nvh-header__nav-link--cta:focus-visible {
  background: linear-gradient(135deg, #f6e7c1, #ffde8c 40%, #c79410 100%);
  transform: translateY(-1px);
}

/* Mobile toggle */

.nvh-header__menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.95));
  color: #f8f1e5;
  cursor: pointer;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.nvh-header__menu-toggle:focus-visible {
  outline: 2px solid #f5e0a3;
  outline-offset: 3px;
}

.nvh-header__menu-toggle-box {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.nvh-header__menu-toggle-line {
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background-color: #f7f0e4;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nvh-header__menu-toggle-text {
  text-transform: uppercase;
}

/* Mobile layout */

@media (max-width: 768px) {
  .nvh-header__inner {
    padding-block: 0.5rem;
  }

  .nvh-header__menu-toggle {
    display: inline-flex;
  }

  .nvh-header__nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: radial-gradient(circle at 0 0, rgba(40, 23, 36, 0.98), rgba(5, 5, 8, 0.98));
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    transform-origin: top;
    transform: scaleY(0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .nvh-header__nav-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.25rem 0.9rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nvh-header__nav-item--cta {
    margin-left: 0;
    margin-top: 0.2rem;
  }

  .nvh-header__nav-link {
    justify-content: space-between;
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
  }

  .nvh-header__nav-link::after {
    display: none;
  }

  .nvh-header__nav-link--cta {
    justify-content: center;
  }

  .nvh-header__nav--open {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
  }

  .nvh-header__menu-toggle[aria-expanded="true"] .nvh-header__menu-toggle-line:nth-child(1) {
    transform: translateY(4px) rotate(42deg);
  }

  .nvh-header__menu-toggle[aria-expanded="true"] .nvh-header__menu-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .nvh-header__menu-toggle[aria-expanded="true"] .nvh-header__menu-toggle-line:nth-child(3) {
    transform: translateY(-4px) rotate(-42deg);
  }
}

@media (max-width: 480px) {
  .nvh-header__logo-tagline {
    display: none;
  }
}
