/* ==============================================================================
   RESERVA GALLERY - UNIVERSAL SANDWICH MENU (DRAWER & TOGGLE)
   ============================================================================== */

/* Sandwich Toggle Button */
.sandwich-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 101;
  flex-shrink: 0;
}

.sandwich-btn:hover {
  background: rgba(212, 175, 55, 0.14);
  border-color: #d4af37;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.sandwich-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #f4f4f7;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.sandwich-btn:hover .bar {
  background: #d4af37;
}

/* Open Animation on Sandwich Button */
.sandwich-btn.is-active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #d4af37;
}
.sandwich-btn.is-active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.sandwich-btn.is-active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #d4af37;
}

/* Backdrop Overlay */
.sandwich-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sandwich-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* Slide-out Drawer */
.sandwich-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(390px, 90vw);
  background: #0d0d12;
  border-left: 1px solid #272733;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
}

.sandwich-drawer.is-open {
  transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
  padding: 1.5rem 1.6rem 1.25rem 1.6rem;
  border-bottom: 1px solid #1f1f28;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: uppercase;
}

.drawer-brand span {
  color: #d4af37;
}

.drawer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.drawer-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #a1a1aa;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.drawer-close:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  color: #d4af37;
}

/* Drawer Navigation Sections */
.drawer-nav {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  flex: 1;
}

.drawer-group-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #71717a;
  font-weight: 700;
  margin-bottom: 0.45rem;
  padding-left: 0.3rem;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: #f4f4f7;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.drawer-link:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  color: #d4af37;
  transform: translateX(4px);
}

.drawer-link-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-link .icon {
  font-size: 1.1rem;
  display: inline-block;
  width: 22px;
  text-align: center;
}

.drawer-link .arrow {
  color: #52525b;
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.drawer-link:hover .arrow {
  color: #d4af37;
  transform: translateX(2px);
}

/* Channel specific hover */
.drawer-link.channel-marcus:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: #d4af37;
}

.drawer-link.channel-bruno:hover {
  border-color: rgba(124, 168, 86, 0.4);
  color: #7ca856;
}

.drawer-link.channel-milio:hover {
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.drawer-link.channel-kira:hover {
  border-color: rgba(0, 229, 255, 0.4);
  color: #00e5ff;
}

/* Drawer Footer */
.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #1f1f28;
  background: #08080a;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.drawer-contact-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  color: #d4af37;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.drawer-contact-pill:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: #d4af37;
  transform: translateY(-1px);
}

.drawer-legal-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  font-size: 0.75rem;
  color: #71717a;
}

.drawer-legal-links a {
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s;
}

.drawer-legal-links a:hover {
  color: #d4af37;
}
