/* =====================================
   BASIS OPMAAK
===================================== */
.site-header {
  font-family: sans-serif;
}

/* =====================================
   TOP BAR
===================================== */
.top-bar {
  background-color: var(--primary-color);
  padding: 10px 20px;
  height: 40px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-menu.left,
.top-menu.right {
  display: flex;
  align-items: center;
  font-family: var(--body-font-family);
  font-size: 12px;
  font-weight: 500;
}

.top-menu.left {
  justify-content: flex-start;
  gap: 20px;
}

.top-menu.right {
  justify-content: flex-end;
  gap: 20px;
}

.top-menu a {
  color: var(--secondary-color);
  text-decoration: none;
}

.top-menu .contact-link {
  text-decoration: underline;
}

/* =====================================
   MAIN BAR
===================================== */
.main-bar {
  position: relative;
  top: 0;
  z-index: 100;
  background: var(--secondary-color);
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.main-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Scrollgedrag via JS */
.main-bar.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--secondary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
}

/* Hero-variant: standaard transparant */
body.has-hero .main-bar {
  background: transparent;
  box-shadow: none;
}

/* Hero-variant: sticky actief */
body.has-hero .main-bar.fixed {
  background: var(--secondary-color) !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

/* =====================================
   MENU LINKS & RECHTS (MAIN BAR)
===================================== */
.main-menu.left,
.main-menu.right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--body-font-family);
  text-transform: uppercase;
  font-size: 14px;
  z-index: 1;
}

.main-menu.left {
  justify-content: flex-start;
  flex: 1;
  margin-left: 20px;
}

.main-menu.right {
  justify-content: flex-end;
  flex: 1;
  margin-right: 20px;
}

.main-menu a {
  color: #fff;
  text-decoration: none;
}

.main-menu a:hover {
  color: #fff;
}

/* =====================================
   LOGO
===================================== */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.logo img {
  width: 100px;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

.logo a {
  display: inline-block;
}

/* =====================================
   RESPONSIVE STYLES
===================================== */
@media (max-width: 768px) {
  .top-bar .container,
  .main-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-bar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .main-bar {
    padding: 10px 20px;
  }

  .top-menu.left,
  .top-menu.right,
  .main-menu.left,
  .main-menu.right {
    display: none;
  }
  
  .logo img {
    width: 75px;
    height: auto;
    display: block;
    transition: all 0.3s ease;
    }

  .mini-cart {
    width: 100%;
  }
}