/* Noordeik – custom styles on top of Tailwind CDN */

:root {
  --color-primary: #0f3d5c;
  --color-primary-light: #155a82;
  --color-accent: #d9a440;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Fade/slide-up reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helper */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Mobile menu */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
#mobile-menu.open {
  max-height: 480px;
}

/* Nav separators between items */
.nav-links {
  gap: 0;
}
.nav-links a {
  padding: 0 1.4rem;
}
.nav-links a:first-child {
  padding-left: 1.4rem;
}
.nav-links a + a {
  border-left: 1px solid #cbd5e1;
}

/* Active nav link underline */
.nav-link {
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 50%;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 1px;
}

/* Hero pattern background */
.hero-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 28px 28px;
}

/* Hero entrance animations */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-animate-1 { opacity: 0; animation: heroSlideUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.1s forwards; }
.hero-animate-2 { opacity: 0; animation: heroSlideUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.28s forwards; }
.hero-animate-3 { opacity: 0; animation: heroSlideUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.44s forwards; }
.hero-animate-4 { opacity: 0; animation: heroSlideUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.60s forwards; }
.hero-animate-badge { opacity: 0; animation: heroFadeIn 0.5s ease 0.05s forwards; }

/* Card hover */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(15,61,92,0.25);
}
