/* ════════════════════════════════════════════════════════
   aag-topbar.css
   Gecombineerde topbalk — gedeeld door alle AAG pagina's
   Toevoegen aan aag-shared.css OF inladen als aparte link:
   <link rel="stylesheet" href="aag-topbar.css">
   ════════════════════════════════════════════════════════ */

/* ── BROWSER RESET ── */
html, body {
  margin: 0;
  padding: 0;
}

.aag-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(135deg, #1a1035 0%, #3a1060 60%, #6b21a8 100%);
  display: flex;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.aag-topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(201,169,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── LOGO VLAK ── */
.aag-topbar-logo {
  width: 160px;
  flex-shrink: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.aag-topbar-logo img {
  height: 130px;
  width: auto;
  object-fit: contain;
}

/* ── MIDDEN: label + paginatitel ── */
.aag-topbar-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0 24px;
}
.aag-topbar-label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 8px;
}
.aag-topbar-title {
  font-family: var(--font-sans);
  font-size: clamp(33px, 3.75vw, 63px);
  font-weight: 400;
  color: white;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
}

/* ── NAVIGATIELINKS (rechts, 2 kolommen) ── */
.aag-topbar-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  justify-items: start;
  padding: 0 32px;
  gap: 8px 24px;
  z-index: 2;
  flex-shrink: 0;
}
.aag-topbar-nav a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
}
.aag-topbar-nav a:hover  { color: white; background: rgba(255,255,255,0.18); }
.aag-topbar-nav a.active { color: #c9a96e; background: rgba(201,169,110,0.18); }

/* ── MÁS DROPDOWN ── */
.tb-mas { position: relative; grid-column: 1 / -1; justify-self: end; }
.tb-mas-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 11px;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.75); padding: 0;
}
.tb-mas-btn:hover { color: white; }
.tb-mas-drop {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  background: #2a1050; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 8px 0; min-width: 170px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5); z-index: 2000;
}
.tb-mas-drop.open { display: block; }
.tb-mas-drop a {
  display: block; padding: 9px 18px;
  font-family: var(--font-sans); font-size: 11px;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.8); text-decoration: none;
}
.tb-mas-drop a:hover { background: rgba(255,255,255,0.08); color: white; }

/* ── HAMBURGER ── */
.tb-burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; padding: 0 24px; background: none; border: none;
  cursor: pointer; z-index: 2;
}
.tb-burger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; }

/* ── MOBIEL MENU ── */
.tb-mobile {
  display: none; position: fixed;
  top: 200px; left: 0; right: 0;
  background: #1a1035; border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 0; z-index: 999; flex-direction: column;
}
.tb-mobile.open { display: flex; }
.tb-mobile a {
  padding: 11px 24px;
  font-family: var(--font-sans); font-size: 12px;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.8); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tb-mobile a.nav-tienda { color: #c9a96e; }

/* ── WINKELMANDJE + HARTJE ICONEN ── */
.tb-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px 0 8px;
  flex-shrink: 0;
  z-index: 2;
}
.tb-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.tb-icon-btn:hover { background: rgba(255,255,255,0.12); color: white; }
.tb-icon-count {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  color: #c9a96e;
}

/* ── PAGINA PADDING ──
   Avada's #wrapper krijgt geen extra offset van ons.
   De topbalk is position:fixed en zweeft boven de content.
   Avada regelt de offset zelf via zijn eigen header-hoogte systeem.
── */

/* ── RESPONSIVE ── */
@media (min-width: 1100px) {
  .aag-topbar-nav { grid-template-columns: 1fr 1fr; gap: 8px 24px; }
}
@media (max-width: 1099px) and (min-width: 600px) {
  .aag-topbar-nav { grid-template-columns: 1fr; gap: 4px; padding: 0 20px; }
  .aag-topbar-nav a { font-size: 10px; letter-spacing: 1px; }
  .tb-burger { display: none; }
}
@media (max-width: 599px) {
  .aag-topbar-nav { display: none; }
  .tb-burger { display: flex; }
  .aag-topbar-logo { width: 100px; }
  .aag-topbar-logo img { height: 85px; }
  .aag-topbar { height: 160px; }
  .tb-mobile { top: 160px; }
  .aag-topbar-title { font-size: 22px; }
}
