/* =============================================
   HEADER_STATIC.CSS – Navbar + Hero
   Premium Heritage Design
   Inspired by: Kuehlmann parallax, Oetker elegance
   ============================================= */

/* ----- Navbar ----- */
.navbar-main {
  box-shadow: none;
  z-index: 1030;
  transition: all 0.5s var(--ease-smooth, cubic-bezier(0.4, 0, 0.2, 1));
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.navbar-main.scrolled {
  box-shadow: 0 2px 20px rgba(26, 26, 46, 0.06);
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.97) !important;
}

/* Gold accent line on top of navbar */
.navbar-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark, #A67D2E), var(--gold, #C8993F), var(--gold-light, #E2B964), var(--gold, #C8993F));
  z-index: 1;
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* Logo styling */
.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s var(--ease-smooth, cubic-bezier(0.4, 0, 0.2, 1));
}

.navbar-main.scrolled .navbar-logo {
  height: 50px;
}

/* Nav links */
.navbar-main .nav-link {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink, #1A1A2E);
  padding: 0.65rem 1.1rem;
  position: relative;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.35s ease;
  font-family: 'DM Sans', 'Montserrat', sans-serif;
}

.navbar-main .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold, #C8993F), var(--gold-light, #E2B964));
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link:focus {
  color: var(--primary, #1B3A5C);
}

.navbar-main .nav-link:hover::after {
  transform: scaleX(1);
}

/* Active nav link */
.navbar-main .nav-link.active {
  color: var(--primary, #1B3A5C);
}

.navbar-main .nav-link.active::after {
  transform: scaleX(1);
  background: var(--gold, #C8993F);
}

/* Hamburger button */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.navbar-toggler:hover {
  background: var(--gold-soft, rgba(200, 153, 63, 0.1));
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(200, 153, 63, 0.2);
}


/* =============================================
   HERO – Split-Screen with Bezier Divider
   Left: Navy content | Right: Product image
   Inspired by Coppenrath-Wiese, Dr. Oetker
   ============================================= */
.hero-split {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  overflow: hidden;
}

/* --- Left half: Navy text area --- */
.hero-split-left {
  position: relative;
  width: 50%;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--primary, #1B3A5C) 0%, var(--primary-dark, #0F2640) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 6rem 2rem 4rem;
}

/* Subtle decorative radial glow in left pane */
.hero-split-left::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(200, 153, 63, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Right half: Product image --- */
.hero-split-right {
  position: relative;
  width: 50%;
  min-height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.hero-split-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 12s ease-out;
}

/* Ken Burns zoom on load */
.hero-split-image.loaded {
  transform: scale(1.06);
}

/* Fallback background if image fails */
.hero-split-right {
  background: var(--primary-dark, #0F2640);
}

/* --- Bezier curve divider – diagonal wave --- */
.hero-bezier-divider {
  position: absolute;
  top: 0;
  /* Wide diagonal wave: starts from ~35% and spans across */
  left: 43%;
  width: 14%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-bezier-divider svg {
  display: block;
  /*width: 100%;
  height: 100%;*/
}

/* --- Mobile image (hidden on desktop) --- */
.hero-split-mobile-image {
  display: none;
}

/* --- Hero text content --- */
.hero-split-content {
  position: relative;
  z-index: 1;
  text-align: left;
  color: #fff;
  max-width: 520px;
  padding: 0 1rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light, #E2B964);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s 0.3s var(--ease-out, ease) forwards;
}

.hero-kicker::before {
  content: '';
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold, #C8993F), var(--gold-light, #E2B964));
  border-radius: 1px;
}

.hero-split-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s 0.5s var(--ease-out, ease) forwards;
}

.hero-split-content p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 440px;
  margin: 0 0 2.25rem;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s 0.7s var(--ease-out, ease) forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s 0.9s var(--ease-out, ease) forwards;
}

.hero-btn {
  padding: 0.85rem 2.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.5s var(--ease-out, ease);
  font-family: 'DM Sans', sans-serif;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--gold, #C8993F), var(--gold-light, #E2B964));
  color: #fff;
  border: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(200, 153, 63, 0.4);
  color: #fff;
  filter: brightness(1.08);
}

.hero-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translateY(-3px);
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =============================================
   HERO WAVE BOTTOM
   ============================================= */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 4;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 60px;
}


/* =============================================
   SCROLL INDICATOR – Minimal, Elegant
   ============================================= */
.scroll-indicator {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: opacity 0.6s var(--ease-smooth, ease);
}

/* Mouse outline */
.scroll-indicator-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.05);
}

/* Scroll wheel dot */
.scroll-indicator-wheel {
  width: 3px;
  height: 8px;
  background: var(--gold-light, #E2B964);
  border-radius: 3px;
  position: absolute;
  top: 7px;
  animation: scrollWheel 2.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  40% {
    opacity: 0.6;
    transform: translateY(10px);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Text label */
.scroll-indicator-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Chevron arrows */
.scroll-indicator-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.scroll-arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  animation: scrollArrows 2.5s ease-in-out infinite;
}

.scroll-arrow:nth-child(1) {
  animation-delay: 0s;
  margin-bottom: -4px;
}

.scroll-arrow:nth-child(2) {
  animation-delay: 0.15s;
}

@keyframes scrollArrows {
  0% {
    opacity: 0;
    transform: rotate(45deg) translateY(-3px);
  }
  30% {
    opacity: 0.7;
  }
  60% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translateY(5px);
  }
}

/* Fade out on scroll */
.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}


/* =============================================
   RESPONSIVE – Hero Split
   ============================================= */

/* Tablet: flatter bezier, slightly narrower text */
@media (max-width: 991.98px) {
  .navbar-main .nav-link {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
  }

  .hero-split-content h1 {
    font-size: 2.75rem;
  }

  .hero-split-content p {
    font-size: 1rem;
  }

  .hero-split-content {
    max-width: 400px;
    padding: 0 0.5rem;
  }

  .hero-bezier-divider {
    width: 28%;
    left: 28%;
  }
}

/* Mobile: stacked layout, bezier becomes horizontal wave */
@media (max-width: 767.98px) {
  .hero-split {
    flex-direction: column;
    min-height: auto;
  }

  .hero-split-left {
    width: 100%;
    min-height: auto;
    padding: 7rem 1.5rem 4rem;
    order: 2;
  }

  .hero-split-right {
    display: none;
  }

  .hero-bezier-divider {
    display: none;
  }

  /* Show mobile image above text */
  .hero-split-mobile-image {
    display: block;
    width: 100%;
    height: 50vh;
    min-height: 280px;
    max-height: 400px;
    overflow: hidden;
    order: 1;
    position: relative;
  }

  .hero-split-mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Horizontal wave at bottom of mobile image (replaces bezier) */
  .hero-split-mobile-image::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,30 C360,0 720,60 1080,20 C1260,5 1380,40 1440,25 L1440,60 L0,60 Z' fill='%231B3A5C'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
    z-index: 1;
  }

  .hero-split-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-split-content h1 {
    font-size: 2.1rem;
  }

  .hero-split-content p {
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-kicker {
    font-size: 0.6rem;
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.8rem;
  }

  .hero-wave {
    order: 3;
  }

  .hero-wave svg {
    min-height: 40px;
  }

  .scroll-indicator {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 2rem;
  }

  .scroll-indicator-mouse {
    width: 20px;
    height: 34px;
  }

  .scroll-indicator-text {
    font-size: 0.55rem;
  }
}

@media (max-width: 480px) {
  .hero-split-content h1 {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hero-split-mobile-image {
    height: 40vh;
    min-height: 220px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator-wheel,
  .scroll-arrow {
    animation: none;
  }
  .scroll-indicator-wheel {
    opacity: 0.8;
  }
  .scroll-arrow {
    opacity: 0.5;
  }
  .hero-split-image {
    transition: none;
  }
  .hero-kicker,
  .hero-split-content h1,
  .hero-split-content p,
  .hero-buttons {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
