/* ==========================================================================
   O'Dance Holiday — Crète 2027 · main navigation (header.odn)
   Scoped under .odn. Sticky, with a mobile menu below 1100px.
   ========================================================================== */
@font-face { font-family: "ODN Montserrat"; src: url("fonts/montserrat.woff") format("woff"); font-weight: 100 900; font-display: swap; }

.odn {
  --odn-navy: #0b2a5b;
  --odn-yellow: #fcd12a;
  --odn-h: 78px;
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e8eef6;
  font-family: "ODN Montserrat", system-ui, sans-serif;
  color: var(--odn-navy);
}
.odn *, .odn *::before, .odn *::after { box-sizing: border-box; }
.odn :where(ul, p) { margin: 0; padding: 0; list-style: none; }
.odn a { color: inherit; text-decoration: none; }

.odn__bar {
  max-width: 1560px; height: var(--odn-h);
  margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px);
  display: flex; align-items: center; gap: 24px;
}

/* Logo: O'Dance Holiday lock-up (Mike O. Dance Events emblem + wordmark) */
.odn__logo { display: inline-flex; align-items: center; flex: none; }
.odn__logo-img { display: block; width: auto; height: 64px; }

.odn__menu { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 1.5vw, 26px); }
.odn__links { display: flex; align-items: center; gap: clamp(14px, 1.3vw, 24px); }
.odn__link {
  position: relative; display: block;
  padding: 10px 0;
  font-weight: 700; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
  transition: color .15s ease;
}
.odn__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 3px; border-radius: 2px; background: var(--odn-yellow);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.odn__link:hover { color: #1f5fb4; }
.odn__link:hover::after, .odn__link[aria-current="true"]::after, .odn__link[aria-current="page"]::after { transform: scaleX(1); }
.odn__link:focus-visible, .odn__cta:focus-visible, .odn__burger:focus-visible, .odn__lang summary:focus-visible { outline: 3px solid #1f5fb4; outline-offset: 3px; border-radius: 4px; }

.odn__cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px;
  border-radius: 9px; background: var(--odn-yellow); color: var(--odn-navy);
  font-weight: 800; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(11, 42, 91, .12);
  transition: background-color .15s ease, transform .15s ease;
}
.odn__cta:hover { background: #ffdc4f; transform: translateY(-1px); }

.odn__lang { position: relative; }
.odn__lang summary {
  display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 16px; padding: 8px 2px;
}
.odn__lang summary::-webkit-details-marker { display: none; }
.odn__lang summary svg { width: 10px; height: 10px; transition: transform .15s ease; }
.odn__lang[open] summary svg { transform: rotate(180deg); }
.odn__lang ul {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 180px;
  padding: 6px; background: #fff; border: 1px solid #e3eaf4; border-radius: 10px;
  box-shadow: 0 12px 28px rgba(11, 42, 91, .14);
}
.odn__lang li { padding: 9px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.odn__lang li[aria-current="true"] { background: #f1f6fd; }
.odn__lang li span { margin-left: 6px; font-weight: 500; font-size: 12px; color: #7a8aa6; }

.odn__burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid #dfe7f2; border-radius: 10px; background: #fff; color: var(--odn-navy);
  cursor: pointer;
}
.odn__burger svg { width: 22px; height: 22px; display: block; margin: auto; }
.odn__burger .odn-x { display: none; }
.odn.is-open .odn__burger .odn-bars { display: none; }
.odn.is-open .odn__burger .odn-x { display: block; }

/* "Plus" dropdown (secondary pages) */
.odn__more { position: relative; }
.odn__more-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; font-weight: 700; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; }
.odn__more-btn svg { width: 10px; height: 10px; transition: transform .15s ease; }
.odn__more.is-open .odn__more-btn svg { transform: rotate(180deg); }
.odn__more-list {
  position: absolute; right: -12px; top: calc(100% + 6px); z-index: 5;
  min-width: 200px; padding: 6px; margin: 0; list-style: none;
  background: #fff; border: 1px solid #e3eaf4; border-radius: 10px;
  box-shadow: 0 12px 28px rgba(11, 42, 91, .14);
  display: none;
}
.odn__more.is-open .odn__more-list { display: block; }
.odn__sublink { display: block; padding: 10px 12px; border-radius: 6px; }
.odn__sublink::after { display: none; }
.odn__sublink:hover, .odn__sublink[aria-current="page"] { background: #f1f6fd; color: #1f5fb4; }
.odn__more.has-current .odn__more-btn::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .odn__link::after, .odn__cta, .odn__lang summary svg { transition: none; }
}

/* ---------- Tablet & mobile menu ---------- */
@media (max-width: 1399.98px) {
  .odn { --odn-h: 68px; }
  .odn__logo-img { height: 54px; }
  .odn__burger { display: block; }
  .odn__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 14px;
    max-height: calc(100vh - var(--odn-h)); overflow-y: auto;
    padding: 12px 16px 20px;
    background: #fff; border-bottom: 1px solid #e3eaf4;
    box-shadow: 0 16px 30px rgba(11, 42, 91, .12);
  }
  .odn.is-open .odn__menu { display: flex; }
  .odn__links { flex-direction: column; align-items: stretch; gap: 0; }
  .odn__link { padding: 14px 4px; font-size: 15px; border-bottom: 1px solid #eef2f8; }
  .odn__link::after { display: none; }
  .odn__link[aria-current="true"], .odn__link[aria-current="page"] { color: #1f5fb4; box-shadow: inset 4px 0 0 var(--odn-yellow); padding-left: 14px; }
  .odn__cta { min-height: 50px; font-size: 15px; }
  .odn__lang ul { position: static; margin-top: 4px; box-shadow: none; }
  .odn__more-btn { display: none; }
  .odn__more-list { display: block; position: static; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
  .odn__sublink { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid #eef2f8; font-size: 15px; }
  .odn__sublink:hover { background: none; }
  .odn__sublink[aria-current="page"] { background: none; color: #1f5fb4; box-shadow: inset 4px 0 0 var(--odn-yellow); padding-left: 14px; }
}
