/* ============================================================
   Rijschool Anil — Shared Nav CSS
   Linked from <head> of every page. Edit once, applies everywhere.
   ============================================================ */

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; padding: 0 48px; height: 68px; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); gap: 16px; }
.nav-logo { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; }
.nav-logo svg { display: block; height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; }
.nav-links a { color: var(--text-muted); font-family: var(--font-text); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .18s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { background: var(--blue) !important; color: #fff !important; padding: 0 20px !important; height: 38px; line-height: 38px; border-radius: 8px; font-weight: 700 !important; white-space: nowrap; display: inline-flex !important; align-items: center; }
.nav-cta:hover { background: var(--blue-dark) !important; color: #fff !important; }
.lang-switcher { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.lang-btn { border: none; background: transparent; border-radius: 6px; padding: 5px 8px; font-size: 12px; font-weight: 600; cursor: pointer; color: var(--text-muted); transition: background .15s, color .15s; white-space: nowrap; font-family: var(--font-text); }
.lang-btn:hover { background: var(--bg2); color: var(--text); }
.lang-btn.active { background: var(--bg3); color: var(--text); }
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 8px; flex-shrink: 0; }
@media (max-width: 1200px) { .nav-hamburger { display: flex; } }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; z-index: 149; background: rgba(0,0,0,0.4); }
.nav-overlay.open { display: block; }
.nav-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: 300px; max-width: 85vw; background: #fff; box-shadow: -4px 0 32px rgba(0,0,0,0.12); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); }
.nav-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: flex-end; padding: 0 20px; height: 68px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.drawer-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-muted); padding: 4px 8px; border-radius: 6px; line-height: 1; }
.drawer-close:hover { background: var(--bg2); color: var(--text); }
.nav-drawer a { color: var(--text); font-family: var(--font-text); font-size: 15px; font-weight: 500; text-decoration: none; padding: 16px 28px; border-bottom: 1px solid var(--border); transition: color .18s, background .18s; }
.nav-drawer a:hover { color: var(--blue); background: var(--bg2); }
.nav-drawer .nav-cta { margin: 20px; border-radius: 10px; text-align: center; font-weight: 700 !important; border-bottom: none !important; }
/* NAV MOBILE */
.lang-desktop { display: flex; }
.lang-mobile { display: none; }
@media (max-width: 1200px) {
  nav { padding: 0 16px; flex-wrap: nowrap; height: 64px; }
  .nav-logo svg { height: 28px; }
  .nav-links { display: none; }
  .lang-desktop { display: none; }
  .lang-mobile { display: flex; align-items: center; width: fit-content; margin-left: auto; border: 1.5px solid var(--border); border-radius: 7px; padding: 5px 8px; font-size: 13px; font-weight: 600; color: var(--text); background: #fff; cursor: pointer; font-family: var(--font-text); appearance: none; -webkit-appearance: none; padding-right: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7592' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 7px center; }
  .nav-hamburger { display: flex; margin-left: 8px; }
}
      }
