﻿/* ==========================================
   LAYOUT — PT ROTTERDAM
   Navigatie, page-hero, footer
   ========================================== */

/* ═══════════════════════════════════════════
   TICKER BAND
   ═══════════════════════════════════════════ */
.ticker-outer {
  margin: 0;
  overflow: hidden;
  background: var(--neon-green);
  border-top:    none;
  border-bottom: none;
  box-shadow: 0 0 24px rgba(0,92,40,.3);
}

.ticker-wrap {
  padding: 0.85rem 0;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 0 1.4rem;
  font-style: italic;
}

.ticker-item--accent {
  color: #ffffff;
}

.ticker-sep {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--neon-green);
  border-radius: 50%;
  color: var(--black);
  font-size: 0.7rem;
  font-style: normal;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   NAVIGATIE
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 92, 40, 0.2);
  transition: padding 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  padding: 1.4rem 0;
  border-bottom-color: rgba(0, 92, 40, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-logo span {
  color: var(--neon-green);
  text-shadow: var(--shadow-neon-sm);
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--light-gray);
  transition: color 0.2s, text-shadow 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-green);
  box-shadow: var(--shadow-neon-sm);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-green);
  text-shadow: var(--shadow-neon-sm);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* CTA knop in nav */
.nav-cta {
  font-family: var(--font-heading) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  padding: 0.55rem 1.4rem !important;
  background: transparent;
  color: var(--neon-green) !important;
  border: 1px solid var(--neon-green) !important;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0,92,40,.18);
  transition: background 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: rgba(0,92,40,.1) !important;
  box-shadow: 0 0 18px rgba(0,92,40,.35) !important;
}

.nav-cta::after { display: none !important; }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon-green);
  box-shadow: var(--shadow-neon-sm);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobiel menu ── */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,.98);
  border-top: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.nav-mobile.open {
  border-top: 1px solid rgba(0,92,40,.15);
}

.nav-mobile.open {
  max-height: 400px;
}

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-gray);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--neon-green);
  background: rgba(0,92,40,.04);
  text-shadow: var(--shadow-neon-sm);
}

/* ═══════════════════════════════════════════
   PAGE HERO (subpagina's)
   ═══════════════════════════════════════════ */
.page-hero {
  padding: 12rem 0 5rem;
  background: linear-gradient(135deg, #005c28 0%, #004a20 100%);
  border-bottom: 1px solid rgba(0,0,0,.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.page-hero.page-hero--split {
  text-align: left;
}

.page-hero.page-hero--split .page-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.page-hero.page-hero--split .page-hero-text {
  text-align: left;
}

.page-hero.page-hero--split .page-hero-title {
  text-align: left;
}

.page-hero.page-hero--split .page-hero-subtitle {
  text-align: left;
  margin: 0;
  max-width: 100%;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--neon-green);
  border-top: none;
  padding: 2.5rem 0 2rem;
  margin-top: 6rem;
  opacity: 1;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: inline-block;
  color: #ffffff;
}

.footer-brand .nav-logo span {
  color: #ffffff;
  text-shadow: none;
}

.footer-brand p {
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 290px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: none;
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item .icon {
  color: #ffffff;
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255,255,255,.75);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .ticker-item  { font-size: 0.75rem; padding: 0 1rem; }
  .ticker-wrap  { margin: 2rem 0; }
  .nav-links    { display: none; }
  .hamburger    { display: flex; }
  .nav-mobile   { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
