/* ===================================
   MENU MODAL
   =================================== */

.menu-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-modal.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
}

.menu-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.menu-modal-content {
  position: relative;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  width: 90%;
  max-width: 900px;
  height: 85vh;
  max-height: 800px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(196, 162, 101, 0.15);
  animation: modalSlideUp 0.4s ease;
  z-index: 1;
}

.menu-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(196, 162, 101, 0.1);
  border: 1px solid var(--dark-border);
  color: var(--gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.menu-modal-close:hover {
  background: var(--gold);
  color: var(--black);
  transform: rotate(90deg);
}

.menu-pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .menu-modal-content {
    width: 95%;
    height: 90vh;
    max-height: 90vh;
  }

  .menu-modal-close {
    width: 36px;
    height: 36px;
    font-size: 24px;
    top: 10px;
    right: 10px;
  }
}
