/**
 * Mobile Menu - Simple Full Screen Overlay
 */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 9999;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
}

/* Header with logo and close button */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.mobile-menu-header img {
  height: 40px;
  width: auto;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #374151;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation list */
.mobile-menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.mobile-menu-nav li {
  border-bottom: 1px solid #f3f4f6;
}

.mobile-menu-nav a {
  display: block;
  padding: 18px 24px;
  color: #1f2937;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
}

.mobile-menu-nav a:active {
  background: #f0fdfa;
  color: #0d9488;
}

/* Language section at bottom */
.mobile-language-section {
  padding: 20px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  flex-shrink: 0;
}

.mobile-language-title {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 12px;
  font-weight: 500;
}

.mobile-language-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mobile-language-grid a {
  display: block;
  padding: 10px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
}

.mobile-language-grid a.active {
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Hide on desktop */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
