/* ═══════════════════════════════════════════════════════════════════════
   Eja Concierge · eja-nav.css
   Shared top navigation — works across all pages.
   The lang toggle (#langToggle) lives inside .eja-nav and must override
   the fixed-position styles injected by eja-concierge-1.js.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Nav bar ─────────────────────────────────────────────────────────── */
.eja-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 58, 92, 0.08);
  height: 60px;
}

.eja-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── Logo ────────────────────────────────────────────────────────────── */
.eja-nav-logo {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a3a5c;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 32px;
}

/* ── Nav links ───────────────────────────────────────────────────────── */
.eja-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.eja-nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(26, 58, 92, 0.55);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 3px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.eja-nav-links a:hover {
  color: #1a3a5c;
  background: rgba(26, 58, 92, 0.05);
}

.eja-nav-links a.eja-nav-active {
  color: #1a3a5c;
  font-weight: 600;
}

.eja-nav-links a.eja-nav-cta {
  background: #1a3a5c;
  color: #fff;
  padding: 7px 14px;
  margin-left: 8px;
}

.eja-nav-links a.eja-nav-cta:hover {
  background: #c9a96e;
  color: #fff;
}

/* ── Lang toggle — inside .eja-nav ──────────────────────────────────── */
.eja-nav #langToggle {
  position: static !important;
  margin-left: 12px;
  flex-shrink: 0;
}

/* ── Burger button (mobile) ──────────────────────────────────────────── */
.eja-nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.eja-nav-burger span {
  display: block;
  height: 2px;
  background: #1a3a5c;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.eja-nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.eja-nav-burger.open span:nth-child(2) { opacity: 0; }
.eja-nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Body offset for fixed nav ───────────────────────────────────────── */
body.has-nav {
  padding-top: 60px;
}

/* ── Page hero (sub-pages) ───────────────────────────────────────────── */
.page-hero {
  background: #1a3a5c;
  padding: 56px 32px 48px;
  text-align: center;
}

.page-hero .label {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.page-hero h1 em {
  font-style: italic;
  color: #c9a96e;
}

.page-hero p {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .eja-nav-burger { display: flex; }

  .eja-nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 0 16px;
    border-bottom: 1px solid rgba(26, 58, 92, 0.08);
    box-shadow: 0 8px 24px rgba(26, 58, 92, 0.08);
  }

  .eja-nav-links.open { display: flex; }

  .eja-nav-links a {
    width: 100%;
    padding: 12px 24px;
    border-radius: 0;
    font-size: 0.8rem;
  }

  .eja-nav-links a.eja-nav-cta {
    margin: 8px 24px 0;
    width: calc(100% - 48px);
    text-align: center;
    border-radius: 3px;
  }

  .eja-nav #langToggle {
    margin-left: auto;
    margin-right: 48px;
  }

  .page-hero { padding: 48px 20px 40px; }
}

@media (max-width: 480px) {
  .eja-nav-logo { font-size: 0.8rem; }
}

/* ── Cookie notice ───────────────────────────────────────────────────── */
.cookie-hidden {
  display: none !important;
}
