/* =============================================
   ARK SEACOAST — Navigation
   ============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  min-height: 64px;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  transition: height 0.3s, box-shadow 0.3s;
  overflow: visible;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}
.site-header.scrolled { height: 62px; min-height: 62px; box-shadow: var(--shadow-sm); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

/* ── Logo ── */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
  overflow: hidden;
}

/*
 * The icons-row.png has a white background.
 * mix-blend-mode: multiply makes white transparent on light backgrounds
 * so the navy icons show cleanly against the cream nav — no clashing.
 */
.nav-logo-icons {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: multiply;  /* eliminates white bg on cream nav */
}

.logo-name {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}
.logo-name .ark {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.logo-name .sea {
  font-family: 'Great Vibes', cursive;
  font-size: 24px;
  color: var(--magenta);
  line-height: 1;
}

/* Hide tagline — too small, clutters nav */
.logo-tagline { display: none; }

/* ── Desktop nav ── */
.header-nav { flex: 1; display: flex; justify-content: center; }
.nav-list   { display: flex; gap: 4px; list-style: none; }
.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.6;
  border-radius: var(--radius);
  transition: opacity 0.2s, background 0.2s;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active { opacity: 1; background: rgba(27,58,92,0.07); }

/* ── CTA ── */
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--magenta);
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.2s;
}
.header-phone:hover { opacity: 0.8; }

/* ── Mobile hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile drawer ── */
.mobile-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--warm-white);
  border-bottom: 2px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.mobile-nav.open { max-height: 440px; padding: 24px 20px 32px; }

.mobile-nav-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; list-style: none; }
.mobile-nav-list a {
  display: block;
  padding: 13px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-nav-list a:hover { color: var(--magenta); }

.mobile-nav-contact { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-contact a { font-size: 15px; color: var(--muted); text-decoration: none; }

/* ── Breakpoints ── */
@media (max-width: 920px) {
  .header-nav,
  .header-phone    { display: none; }
  .header-cta .btn { display: none; }
  .nav-toggle      { display: flex !important; flex-shrink: 0 !important; }

  /* Mobile: hide text, keep icon logo only */
  .logo-text       { display: none !important; }
  .nav-logo-icons  { display: block !important; height: 32px !important; width: auto !important; flex-shrink: 0 !important; }
  .header-logo     { flex-shrink: 0; gap: 0; }
  .nav-toggle      { display: flex !important; flex-shrink: 0 !important; margin-left: auto; }

  /* Always white nav on mobile */
  .site-header { background: var(--warm-white) !important; border-bottom-color: var(--border) !important; }

  /* Burger lines navy */
  .nav-toggle span { background: var(--navy) !important; }

  /* Logo colours */
  .logo-name .ark  { color: var(--navy) !important; }
  .logo-name .sea  { color: var(--magenta) !important; }

  .mobile-nav { background: var(--warm-white); }
  .header-inner { padding: 0 14px; gap: 8px; }
}

@media (max-width: 480px) {
  .logo-name .ark { font-size: 15px !important; }
  .logo-name .sea { font-size: 20px !important; }
  .header-inner   { padding: 0 12px; }
}

@media (max-width: 360px) {
  .logo-name { display: none !important; }
}
