.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px 4%;
  background: linear-gradient(
    120deg,
    #7d0a0a 0%,
    #cc1b1b 45%,
    #e8b84b 120%
  );
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  border-radius: 0 0 10px 10px;
  transform: translateY(-100%);
  opacity: 0;
  animation: bannerSlideDown 0.6s ease forwards;
}

.top-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0 0 10px 10px;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 214, 150, 0.25),
    transparent 55%
  );
  opacity: 0.5;
  pointer-events: none;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.banner-icon {
  font-size: 1.1rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.banner-text {
  font-family: "Crimson Pro", serif;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.banner-close {
  position: relative;
  z-index: 1;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.banner-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.05);
}

.top-banner.is-hidden {
  display: none;
}

@keyframes bannerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes bannerPulse {
  0%,
  100% {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow: 0 10px 22px rgba(232, 184, 75, 0.35);
  }
}

.top-banner.pulse {
  animation: bannerSlideDown 0.6s ease forwards, bannerPulse 5s ease-in-out infinite;
}

body.has-banner {
  --banner-height: 52px;
}

body.has-banner nav {
  top: var(--banner-height);
}

body.has-banner .mobile-menu {
  top: calc(68px + var(--banner-height));
}

body.has-banner #hero {
  padding-top: calc(100px + var(--banner-height));
}

@media (max-width: 700px) {
  .top-banner {
    padding: 10px 5%;
  }
  .banner-text {
    font-size: 0.85rem;
  }
  body.has-banner .mobile-menu {
    top: calc(60px + var(--banner-height));
  }
  body.has-banner #hero {
    padding-top: calc(90px + var(--banner-height));
  }
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 4, 4, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(204, 27, 27, 0.6);
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 10px rgba(204, 27, 27, 0.5);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-text .name {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-logo-name-animated {
  position: relative;
  display: inline-block;
  background-image: linear-gradient(
    120deg,
    #ffffff 0%,
    #f5cd6a 40%,
    #ffffff 80%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.65);
  animation: navLogoGlow 9s ease-in-out infinite;
}

@keyframes navLogoGlow {
  0% {
    background-position: 0% 50%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transform: translateY(0) scale(1);
  }
  40% {
    background-position: 100% 50%;
    text-shadow: 0 0 14px rgba(0, 0, 0, 0.7), 0 0 18px rgba(248, 212, 120, 0.7);
    transform: translateY(-0.5px) scale(1.03);
  }
  100% {
    background-position: 0% 50%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transform: translateY(0) scale(1);
  }
}

.nav-logo-text .tagline {
  font-family: "Crimson Pro", serif;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: "Crimson Pro", serif;
  font-weight: 600;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--kbc-red);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background-image: linear-gradient(
    135deg,
    var(--kbc-red-deep) 0%,
    var(--kbc-red) 40%,
    var(--kbc-gold) 100%
  ) !important;
  color: white !important;
  padding: 9px 20px !important;
  border-radius: 3px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  box-shadow: 0 3px 10px rgba(204, 27, 27, 0.4) !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background-image: linear-gradient(
    135deg,
    var(--kbc-red-bright) 0%,
    var(--kbc-red) 35%,
    var(--kbc-gold) 95%
  ) !important;
  transform: translateY(-1px) !important;
}

.nav-cta::after {
  display: none !important;
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(22, 4, 4, 0.99);
  z-index: 999;
  padding: 1.2rem 5%;
  border-bottom: 3px solid var(--kbc-red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(204, 27, 27, 0.2);
  font-size: 1.05rem;
  font-family: "Crimson Pro", serif;
  letter-spacing: 1px;
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-menu a:hover {
  color: #fff;
  padding-left: 8px;
}
