/* Shared header and cookie notice for every static page. */
.nav {
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  height: 68px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(10, 9, 12, 0.98);
  border-bottom: 1px solid rgba(200, 16, 46, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.nav-logo-svg {
  display: block;
  width: 100px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #b7adbd;
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links > li > a:hover,
.nav-links > li > a:focus-visible {
  color: #f0eaf5;
}

.nav-arrow {
  margin-left: 0.35rem;
  font-size: 0.5rem;
  opacity: 0.65;
}

.nav-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 400;
  min-width: 220px;
  padding: 8px 0;
  border: 1px solid rgba(200, 16, 46, 0.24);
  background: rgba(10, 9, 12, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  visibility: hidden;
}

.nav-drop::before {
  position: absolute;
  top: -8px;
  right: 0;
  left: 0;
  height: 8px;
  content: '';
}

.nav-links li:hover .nav-drop,
.nav-links li:focus-within .nav-drop {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-drop a {
  display: block;
  padding: 10px 18px;
  color: #b7adbd;
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-drop a:hover,
.nav-drop a:focus-visible {
  color: #f0eaf5;
  background: rgba(200, 16, 46, 0.1);
}

.nav-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid #c8102e;
  background: transparent;
  box-shadow: 0 0 12px rgba(200, 16, 46, 0.15);
  color: #ff4058;
  font-family: 'Raleway', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.nav-book:hover,
.nav-book:focus-visible {
  background: rgba(200, 16, 46, 0.16);
  box-shadow: 0 0 20px rgba(200, 16, 46, 0.28);
  color: #fff;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #f0eaf5;
}

.nav-mobile {
  position: fixed;
  top: 68px;
  right: 0;
  left: 0;
  z-index: 299;
  display: none;
  max-height: calc(100vh - 68px);
  flex-direction: column;
  overflow-y: auto;
  padding: 12px clamp(20px, 5vw, 40px) 20px;
  border-bottom: 1px solid rgba(200, 16, 46, 0.24);
  background: rgba(10, 9, 12, 0.99);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #b7adbd;
  font-family: 'Raleway', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-mobile a:hover,
.nav-mobile a:focus-visible {
  color: #f0eaf5;
}

.nav-mobile a:last-child {
  border-bottom: 0;
  color: #ff4058;
}

#cookie-bar {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(520px, calc(100vw - 48px));
  padding: 18px 20px;
  border: 1px solid rgba(200, 16, 46, 0.38);
  border-radius: 6px;
  background: rgba(17, 16, 20, 0.98);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #d3ccd8;
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

#cookie-bar.hidden {
  display: none !important;
}

#cookie-bar span {
  display: block;
  flex: 1 1 auto;
}

#cookie-bar a {
  color: #ff4058;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#cookie-accept {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(135deg, #a00820, #c8102e);
  color: #fff;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

#cookie-accept:hover,
#cookie-accept:focus-visible {
  background: linear-gradient(135deg, #c8102e, #ff2040);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-book {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

@media (min-width: 901px) {
  .nav-mobile {
    display: none !important;
  }
}

@media (max-width: 600px) {
  #cookie-bar {
    right: 16px;
    bottom: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: auto;
    padding: 16px;
  }

  #cookie-accept {
    width: 100%;
  }
}
