/* ===================================
   MOBILE NAVIGATION STYLES
   =================================== */

/* === MOBILE MENU OVERLAY === */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #0a0a0a;
  z-index: 2000;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.5);
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

/* === MOBILE HEADER === */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #000000;
}

.mobile-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.mobile-logo strong::first-letter {
  color: #10b981;
}

.mobile-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s;
}

.mobile-close:hover {
  color: #10b981;
}

/* === MOBILE NAV === */
.mobile-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

/* === MOBILE MENU ITEMS === */
.mobile-menu-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: #d1d5db;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.mobile-menu-toggle:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #ffffff;
}

.mobile-menu-toggle svg {
  transition: transform 0.3s;
  color: #9ca3af;
}

.mobile-menu-item.active .mobile-menu-toggle {
  color: #10b981;
}

.mobile-menu-item.active .mobile-menu-toggle svg {
  transform: rotate(180deg);
  color: #10b981;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.2s;
}

.mobile-menu-link:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #ffffff;
}

.mobile-menu-link.deals-link {
  color: #10b981;
  font-weight: 600;
}

.mobile-menu-link.deals-link:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #ffffff;
}

/* === MOBILE SUBMENU === */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  transition: max-height 0.4s ease;
}

.mobile-menu-item.active .mobile-submenu {
  max-height: 500px;
}

.mobile-submenu a {
  display: block;
  padding: 0.75rem 1.25rem 0.75rem 2.5rem;
  font-size: 0.9375rem;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.mobile-submenu a:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding-left: 2.75rem;
  border-left-color: #10b981;
}

.mobile-submenu h4 {
  padding: 0.75rem 1.25rem 0.375rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.mobile-submenu hr {
  margin: 0.5rem 1.25rem 0.5rem 2.5rem;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* === MOBILE FOOTER === */
.mobile-menu-footer {
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #000000;
}

/* Mobile Language Switcher */
.mobile-language-switcher {
  margin-bottom: 1rem;
}

.mobile-language-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.mobile-language-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.mobile-lang-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.625rem 0.375rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
}

.mobile-lang-option:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  transform: translateY(-2px);
}

.mobile-lang-option.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
}

.mobile-lang-flag {
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-lang-code {
  font-size: 0.625rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
}

.mobile-lang-option.active .mobile-lang-code {
  color: #10b981;
}

.mobile-cta-button {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  border-radius: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
  transition: all 0.2s;
  margin-bottom: 0.75rem;
}

.mobile-cta-button:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px -1px rgba(16, 185, 129, 0.4);
}

.mobile-search-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-search-btn:hover {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}

/* === ANIMATIONS === */
@keyframes slideInRight {
  from {
    right: -100%;
  }
  to {
    right: 0;
  }
}

@keyframes slideOutRight {
  from {
    right: 0;
  }
  to {
    right: -100%;
  }
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 480px) {
  .mobile-menu {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-overlay {
    display: none !important;
  }
}
