/* ============================================================
   HEADER.CSS — zxc7
   Ultra-stable + thin side menu + PERFECT U-shaped logo
   ============================================================ */

/* ---------- BASIC COLORS + SIZES ---------- */
:root {
  --mango: #ff920d;
  --light-peach: #f7d6be;
  --dark-blue: #0c0abb;

  --header-height: 72px;
  --strip-height: 46px;
  --side-width: 135px;
}

/* Everything inside header uses Comic Sans */
.mh-top-header, .mh-white-strip, #mh-side-menu, .mh-book-btn {
  box-sizing: border-box;
  font-family: "Comic Neue", "Comic Sans",cursive;
}

/* ============================================================
   TOP MANGO HEADER
   ============================================================ */
.mh-top-header {
  height: var(--header-height);
  background: var(--mango);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 1000;
}

/* ---------- HAMBURGER BUTTON ---------- */
#mh-ham {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  cursor: pointer;
}

#mh-ham span {
  height: 4px;
  width: 28px;
  background: #fff;
  border-radius: 3px;
  transition: transform .28s, opacity .28s;
}

#mh-ham.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
#mh-ham.active span:nth-child(2) { opacity: 0; }
#mh-ham.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- TITLE ---------- */
.mh-title {
  color: #fff;
  font-size: 28px;
  flex: 1;
  text-align: center;
}

/* ============================================================
   U-SHAPED LOGO (FINAL PERFECT VERSION)
   ============================================================ */
.mh-logo-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

/* No cut, perfect side walls, perfect round U bottom */
.mh-logo {
  width: 130%;
  height: auto;
  object-fit: cover;
  transform: translateY(-6px);

  clip-path: path(
    "M 18 0 
     L 18 55 
     Q 50 95 82 55 
     L 82 0 
     Z"
  );
}

/* ============================================================
   WHITE STRIP BELOW HEADER
   ============================================================ */
.mh-white-strip {
  background: #fff;
  height: var(--strip-height);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mh-strip-inner {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mh-strip-text {
  font-size: 15px;
  color: #333;
}

/* ---------- BOOK NOW BUTTON ---------- */
@keyframes bookBuzz1s {
  0%   { transform: translateX(0); }
  12%  { transform: translateX(-3px); }
  24%  { transform: translateX(3px); }
  36%  { transform: translateX(-3px); }
  48%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}

.mh-book-btn {
  background: var(--dark-blue);
  color: #e1e1e1;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  animation: bookBuzz1s 1s infinite;
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

/* ============================================================
   SIDE MENU
   ============================================================ */
#mh-side-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: var(--side-width);
  min-width: 100px;
  max-width: 150px;
  height: calc(100vh - var(--header-height));
  background: var(--light-peach);
  padding: 22px 14px;
  transform: translateX(calc(-1 * var(--side-width)));
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto;
  z-index: 900;
  box-shadow: 3px 0 18px rgba(0,0,0,0.12);
}

#mh-side-menu.open { transform: translateX(0); }

#mh-side-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

#mh-side-menu a {
  font-weight: 700;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 4px;
  display: block;
  white-space: nowrap;
}

#mh-side-menu a:hover {
  color: #f7edb7;
  background: rgba(0,0,0,0.08);
}

/* ---------- DARK OVERLAY ---------- */
.mh-overlay {
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 850;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  #mh-side-menu { width: 38vw; transform: translateX(-38vw); }
  #mh-side-menu.open { transform: translateX(0); }
  .mh-title { font-size: 20px; }
}

@media (min-width: 600px) and (max-width: 992px) {
  #mh-side-menu { width: 45vw; transform: translateX(-45vw); }
  #mh-side-menu.open { transform: translateX(0); }
}

/* ---------- GLOBAL PAGE FIX ---------- */
body { margin: 0 !important; padding: 0 !important; }

.cursive {
    font-family: 'Dancing Script', cursive;
}

