/* ===== BASIS ===== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  color: #333;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #111;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
}

/* LOGO */
.logo-wrap {
  background: #f6f3ec;
  padding: 22px 55px;
}

.logo-wrap img {
  display: block;
  max-height: 140px;
  width: auto;
  height: auto;
  transition: max-height 0.3s ease;
}

/* Logo kleiner bij scroll */
header.shrink .logo-wrap img {
  max-height: 85px;
}


/* NAV */
.nav-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 55px;
}

.nav-wrap a {
  color: #c9a23f;
  margin-left: 28px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

.nav-wrap a.active,
.nav-wrap a:hover {
  color: #e6c76a;
}

.nav-wrap a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e6c76a;
}

/* ===== CONTENT ===== */
main {
  max-width: 1000px;
  margin: 40px auto;
  background: #fff;
  padding: 50px;
}

h1, h2 {
  color: #c9a23f;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 25px;
  margin-top: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
  }

  .logo-wrap {
    width: 100%;
    text-align: center;
  }

  .logo-wrap img {
    max-height: 110px;
  }

  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px 20px;
  }

  .nav-wrap a {
    margin: 8px 12px;
  }

}


.lang-switch {
  margin-left: 30px;
}

.lang-switch button {
  background: none;
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  padding: 0 4px;
}

.lang-switch button:hover {
  color: #e6c76a;
}

/* ===== RTL SUPPORT (Arabic) ===== */
body.rtl {
  direction: rtl;
  text-align: right;
}

/* Header & navigatie omdraaien */
body.rtl .header-inner {
  flex-direction: row-reverse;
}

body.rtl .nav-wrap {
  justify-content: flex-start;
}

body.rtl .nav-wrap a {
  margin-left: 0;
  margin-right: 28px;
}

/* Active underline correct laten lopen */
body.rtl .nav-wrap a.active::after {
  left: auto;
  right: 0;
}

/* Language switch spacing corrigeren */
body.rtl .lang-switch {
  margin-left: 0;
  margin-right: 30px;
}

/* Content blijft leesbaar */
body.rtl main {
  text-align: right;
}



