/* ============================================================
   NAV MARQUEE — Full-screen overlay with marquee hover effect
   Mama Tava Travel
   ============================================================ */

/* ── Header bar ─────────────────────────────────────────────── */
.mh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: transparent;
}

/* ── Logo ────────────────────────────────────────────────────── */
.mh-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.mh-logo-img {
  height: 96px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  display: block;
}

/* ── Header right side ──────────────────────────────────────── */
.mh-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ── CTA pill ───────────────────────────────────────────────── */
.mh-cta-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 9999px;
  background: rgba(200, 225, 225, 0.65);
  border: 1px solid rgba(77, 123, 123, 0.35);
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #354363;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mh-cta-pill:hover {
  background: rgba(200, 225, 225, 0.90);
  border-color: rgba(77, 123, 123, 0.65);
  transform: translateY(-1px);
  color: #354363;
  text-decoration: none;
}

@media (max-width: 560px) {
  .mh-cta-pill { display: none; }
}

/* ── Hamburger trigger ──────────────────────────────────────── */
.mh-trigger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: rgba(200, 225, 225, 0.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(77, 123, 123, 0.30);
  border-radius: 9999px;
  cursor: pointer;
  z-index: 1002;
  transition: background 0.25s, border-color 0.25s;
}

.mh-trigger:hover {
  background: rgba(200, 225, 225, 0.95);
  border-color: rgba(77, 123, 123, 0.60);
}

.mh-trigger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #354363;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1),
              opacity   0.25s ease,
              width     0.35s ease;
  transform-origin: center;
}

.mh-trigger.open .mh-trigger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.mh-trigger.open .mh-trigger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.mh-trigger.open .mh-trigger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Full-screen nav overlay ────────────────────────────────── */
.mh-nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #C8E1E1;
  display: flex;
  flex-direction: column;

  /* Hidden state */
  visibility: hidden;
  pointer-events: none;
}

.mh-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}

/* ── Nav top bar (logo + close) ─────────────────────────────── */
.mh-nav-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  z-index: 10;
}

.mh-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0;
}

.mh-nav-logo img {
  height: 96px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  display: block;
}

/* ── Close X button ─────────────────────────────────────────── */
.mh-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  opacity: 0;
}

.mh-close::before,
.mh-close::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 1.5px;
  background: #354363;
  border-radius: 2px;
}

.mh-close::before { transform: rotate(45deg);  }
.mh-close::after  { transform: rotate(-45deg); }

.mh-close:hover::before,
.mh-close:hover::after {
  background: #4D7B7B;
}

/* ── Menu list ──────────────────────────────────────────────── */
.mh-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 72px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Each menu item ─────────────────────────────────────────── */
.mh-item {
  position: relative;
  flex: 1;
  border-bottom: 1px solid rgba(53, 67, 99, 0.12);
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
}

.mh-item:first-child {
  border-top: 1px solid rgba(53, 67, 99, 0.12);
}

/* ── Marquee reveal layer (slides in/out on hover) ─────────── */
.mh-item-reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.mh-marquee {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  will-change: transform;
  /* Start above (default; JS sets per-item based on edge) */
  transform: translateY(-101%);
}

.mh-marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  /* Track is 200% wide; GSAP translates -50% for infinite loop */
  will-change: transform;
}

.mh-marquee-track img {
  height: clamp(50px, 8vh, 72px);
  width: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
}

.mh-marquee-label {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #354363;
  flex-shrink: 0;
}

/* ── Main link text ─────────────────────────────────────────── */
.mh-link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  width: 100%;
  height: 100%;
  padding: 0 clamp(24px, 5vw, 72px);
  text-decoration: none;
  color: #354363;
  transition: color 0.2s ease;
}

.mh-item:hover .mh-link {
  color: #354363;
}

.mh-link-num {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  letter-spacing: 0.2em;
  color: #4D7B7B;
  opacity: 0.7;
  min-width: 24px;
}

.mh-link-title {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  transition: letter-spacing 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              color          0.25s ease;
}

.mh-item:hover .mh-link-title {
  letter-spacing: 0.08em;
  color: #354363;
}

.mh-link-arrow {
  width: clamp(20px, 3vw, 32px);
  height: clamp(20px, 3vw, 32px);
  stroke: #4D7B7B;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-left: auto;
  margin-right: clamp(24px, 5vw, 72px);
  flex-shrink: 0;
}

.mh-item:hover .mh-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Nav footer bar ─────────────────────────────────────────── */
.mh-nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(24px, 5vw, 72px);
  border-top: 1px solid rgba(53, 67, 99, 0.12);
  opacity: 0;
}

.mh-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4D7B7B;
  text-decoration: none;
  transition: color 0.2s;
}

.mh-nav-wa:hover { color: #354363; text-decoration: none; }

.mh-nav-wa svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mh-nav-copy {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(53, 67, 99, 0.40);
}

@media (max-width: 560px) {
  .mh-nav-copy { display: none; }
  .mh-link-num  { display: none; }
}

/* ── Mobile: stack items with larger touch targets ──────────── */
@media (max-width: 768px) {
  .mh-link-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .mh-marquee-track img {
    height: 44px;
  }
}
