/* =====================================================
   KOME DOJO — header.css
   Inclus via header.php (toutes les pages)
   ===================================================== */

/* --- NAVIGATION --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--orange);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Marque (logo + texte) */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-brand-name {
  font-family: 'Shippori Mincho', Georgia, serif;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.nav-brand-location {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1;
}

.nav-logo {
  height: 52px;
  width: auto;
  opacity: 1;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 1; }

/* Liens */
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 3px;
}
.nav-links a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

/* Bouton Contact */
.nav-cta {
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.6) !important;
  color: #fff !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
}

/* Burger — caché sur desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 3px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- RESPONSIVE --- */
@media (max-width: 820px) {
  .nav-burger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--orange);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    z-index: 200;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    border: none;
    border-radius: 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links a:hover {
    background: rgba(255,255,255,0.1);
    border-color: transparent;
  }

  .nav-links .nav-cta {
    margin: 12px 24px 0 !important;
    display: block;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.6) !important;
    border-radius: 3px;
    padding: 12px 16px !important;
  }
}

@media (max-width: 580px) {
  .nav-inner { padding: 0 20px; }
}
