/* ────────────────────────────────────────────────
   Shared mobile components
   Hamburger · Slide panel · Bottom social bar
   ──────────────────────────────────────────────── */

/* ── Hamburger button (hidden on desktop) ────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: currentColor;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Nav overlay (darkens page behind panel) ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Slide panel ──────────────────────────────── */
.slide-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 72vw;
  max-width: 280px;
  height: 100%;
  background-color: #141212;
  z-index: 30;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 36px 60px;
  box-sizing: border-box;
}

.slide-panel.open {
  transform: translateX(0);
}

.slide-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slide-panel ul li a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #EFECE2;
  text-decoration: none;
  padding: 20px 0;
  border-bottom: 1px solid rgba(239, 236, 226, 0.12);
  transition: color 0.3s ease;
}

.slide-panel ul li:first-child a {
  border-top: 1px solid rgba(239, 236, 226, 0.12);
}

.slide-panel ul li a:hover {
  color: #C6BB97;
}

/* ── Mobile social bar (hidden on desktop) ──── */
.mobile-social-bar {
  display: none;
}

/* ── Mobile breakpoint ────────────────────────── */
@media (max-width: 767px) {

  /* Kill horizontal overflow site-wide */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Show hamburger, hide all nav list items */
  .hamburger {
    display: flex;
  }

  nav li {
    display: none;
  }

  nav ul {
    margin-right: 0;
  }

  nav {
    min-width: 0;
    width: 100%;
    height: 60px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  nav .title {
    margin-left: 0;
    font-size: 18px;
  }

  /* Bottom social bar */
  .mobile-social-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    padding: 12px 0 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
  }

  .mobile-social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-social-bar svg {
    width: 32px;
    height: 32px;
  }
}
