/* navbar.css — RTS Ferries */

/* ── Main nav ── */
.main-nav {
  background: #fff;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--grey-light);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo {
  flex-shrink: 0;
  margin-right: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  overflow: hidden;
}
.nav-logo img { height: 56px; width: auto; align-self: flex-start; mix-blend-mode: multiply; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.nav-logo-sub {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--grey-text);
  letter-spacing: .4px;
  font-style: italic;
}

.nav-menu {
  display: flex;
  list-style: none;
  height: 68px;
  align-items: stretch;
  flex: 1;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 18px;
  height: 100%;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--text);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.nav-item > a:hover,
.nav-item.active > a { color: var(--navy-light); border-bottom-color: var(--accent); }

.nav-caret {
  font-size: 8px;
  opacity: .5;
  transition: transform var(--ease);
}
.nav-item:hover .nav-caret { transform: rotate(180deg); opacity: 1; }

.nav-drop {
  display: none;
  position: absolute;
  top: 68px; left: 0;
  background: #fff;
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  z-index: 600;
  padding: 8px 0;
  animation: dropFade .15s ease;
}
@keyframes dropFade { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
.nav-item:hover .nav-drop { display: block; }
.nav-drop a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-light);
  border-bottom: 1px solid var(--grey-light);
  transition: all .12s;
}
.nav-drop a:last-child { border-bottom: none; }
.nav-drop a:hover { background: var(--off-white); color: var(--navy); padding-left: 26px; }

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-btn-ghost {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--navy);
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  background: transparent;
  transition: all var(--ease);
}
.nav-btn-ghost:hover { border-color: var(--navy); background: var(--off-white); }
.nav-btn-primary {
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--navy);
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  transition: background var(--ease), transform var(--ease);
}
.nav-btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ── Offer ticker strip ── */
.ticker-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--grey-light);
  padding: 7px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-scroll { overflow: hidden; flex: 1; }
.ticker-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: tickScroll 38s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes tickScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-inner span {
  font-size: 12px;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--text-light);
  padding: 0 28px;
  border-right: 1px solid var(--grey-mid);
}
.ticker-inner span:last-child { border-right: none; }
.ticker-inner span strong { color: var(--navy); }
.ticker-inner span em {
  font-style: normal;
  color: var(--accent-dark);
  font-weight: 700;
}