/* ============================================
   MOBILE MENU - COMPLETELY NEW APPROACH
   NO HAMBURGER - BOTTOM TAB BAR LIKE APPS
   ============================================ */

@media (max-width: 768px) {
  /* HIDE desktop navigation completely */
  header nav {
    display: none !important;
  }
  
  /* HIDE hamburger */
  .hamburger {
    display: none !important;
  }
  
  /* CREATE BOTTOM TAB BAR - PREMIUM DESIGN */
  .mobile-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 26, 77, 0.98) 0%, rgba(0, 19, 46, 0.98) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 75px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4), 0 -1px 0 rgba(255, 215, 0, 0.2);
    z-index: 999999;
    padding: 0 15px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
  }
  
  .mobile-tab-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 215, 0, 0.7);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 8px 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 60px;
    position: relative;
  }
  
  /* Custom SVG icon styling - GLOWING EFFECT */
  .mobile-tab-bar a .nav-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
    opacity: 0.9;
  }
  
  /* Active/Tap state - INTENSE GLOW EFFECT */
  .mobile-tab-bar a:active,
  .mobile-tab-bar a.active {
    color: #ffd700;
  }
  
  .mobile-tab-bar a:active .nav-icon,
  .mobile-tab-bar a.active .nav-icon {
    transform: translateY(-3px) scale(1.15);
    filter: brightness(1.3) drop-shadow(0 0 16px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 24px rgba(255, 215, 0, 0.4));
    opacity: 1;
  }
  
  /* Subtle hover indicator */
  .mobile-tab-bar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    transition: width 0.3s ease;
  }
  
  .mobile-tab-bar a:active::before {
    width: 80%;
  }
  
  /* Services dropdown button */
  .mobile-services-btn {
    position: relative;
  }
  
  /* Services popup menu - PREMIUM DESIGN */
  .mobile-services-menu {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 215, 0, 0.2);
    width: 90%;
    max-width: 360px;
    max-height: 65vh;
    overflow: hidden;
    display: none;
    z-index: 999998;
  }
  
  .mobile-services-menu.show {
    display: block;
    animation: premiumSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
  @keyframes premiumSlideUp {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(30px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0) scale(1);
    }
  }
  
  .mobile-services-menu a {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    color: #001a4d;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 26, 77, 0.08);
    transition: all 0.3s ease;
    position: relative;
  }
  
  .mobile-services-menu a::before {
    content: '→';
    position: absolute;
    right: 24px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #ffd700;
    font-weight: bold;
  }
  
  .mobile-services-menu a:last-child {
    border-bottom: none;
  }
  
  .mobile-services-menu a:active {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
  }
  
  .mobile-services-menu a:active::before {
    opacity: 1;
    transform: translateX(0);
  }
  
  .mobile-services-close {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, #001a4d 0%, #00132e 100%);
    padding: 16px 20px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffd700;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    z-index: 10;
  }
  
  /* Overlay for services menu */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999997;
  }
  
  .mobile-overlay.show {
    display: block;
  }
  
  /* Add padding to bottom of page so content isn't hidden */
  body {
    padding-bottom: 80px !important;
  }
}
