/* ============================================
   POPUP MENU — 
   ============================================ */
body.menu-open {
  overflow: hidden;
}

.menu-popup {
  position: fixed;
  inset: 0;
  z-index: 200000;
  background: url('../images/menu_bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: all 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}

.menu-popup.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

/* ============================================
   MENU CONTENT
   ============================================ */
.menu-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 100px 80px 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}


/* Close button */
.close-btn {
  position: absolute;
  top: 20px;
  /*right: 60px;*/
  font-size: 2.5rem;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 10; /* ✅ Ensure it's above other content */
}

.close-btn:hover {
  background-color: transparent !important;
  color: #000 !important;
  transform: rotate(90deg); /* ✅ Nice rotation effect */
}


/* ============================================
   HUB+ BUTTON (Top)
   ============================================ */
.hub-top-btn {
  display: inline-flex;
  margin-top: 3rem;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  background-color: #9E1010;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(158, 16, 16, 0.3);
  align-self: flex-end;
  width: fit-content;
}

.hub-top-btn:hover {
  background-color: #7a0c0c !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(158, 16, 16, 0.4);
  color: #fff !important;
}

/* ============================================
   NAV LINKS
   ============================================ */
.menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-links li {
  margin-bottom: 8px;
  text-align: right;
}

.menu-links li a {
  display: inline-block;
  font-size: 30px;
  font-weight: 200;
  text-decoration: none;
  font-family: 'Libre Caslon Text', Georgia, serif;
  line-height: 1.4;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.menu-links li a .word-part-1 {
  color: #1F0173;
}

.menu-links li a .word-part-2 {
  color: #d32f2f;
}

/* Single color links (Podcast, Bookings) */
.menu-links li a:not(:has(.word-part-1)) {
  color: #1F0173;
}

.menu-links li a:hover {
  opacity: 0.8;
}

/* ============================================
   GALLERY BUTTON (Bottom)
   ============================================ */
.menu-bottom-buttons {
  display: flex;
  justify-content: flex-end;
}

.menu-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: -10px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  background-color: #9E1010;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(158, 16, 16, 0.3);
}

.menu-gallery-btn:hover {
  background-color: #7a0c0c !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(158, 16, 16, 0.4);
  color: #fff !important;
}

.menu-gallery-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   TABLET (769px – 1024px)
   ============================================ */
@media (max-width: 1024px) and (min-width: 769px) {
  .menu-content {
    max-width: 450px;
    padding: 80px 60px 60px 40px;
  }

  .menu-links li a {
    font-size: 42px;
  }
}

/* ============================================
   MOBILE ≤ 768px
   ============================================ */
@media (max-width: 768px) {
  .menu-popup {
    align-items: flex-start;
  }

  .menu-content {
    margin-top: 6rem;
    max-width: 65%;
    padding-top: 20px;
    padding-right: 0;
    text-align: center;
    gap: 25px;
  }

  .hub-top-btn {
    margin-top: 0;
    align-self: center;
  }

  .menu-links li {
    text-align: center;
    margin-bottom: 15px
  }

  .menu-links li a {
    font-size: 25px;
  }

  .menu-links li a:hover {
    transform: scale(1.05);
    letter-spacing: 1px;
  }

  .menu-bottom-buttons {
    justify-content: center;
  }

  .menu-gallery-btn {
    width: 100%;
    max-width: 200px;
    margin-top: -5px;
    margin-left: -25px;
  }
}

/* =========================================================
   27-INCH+ — Slightly larger menu text
========================================================= */
@media (min-width: 2560px) {
  .menu-content {
    max-width: 650px;
    padding: 120px 100px 80px 60px;
    gap: 40px;
  }

  .menu-links li a {
    font-size: 42px;
  }

  .hub-top-btn,
  .menu-gallery-btn {
    font-size: 20px;
    padding: 18px 42px;
  }
}