/* Mobile-specific styles for AltForce */

/* Base mobile styles */
@media (max-width: 991px) {
  /* Reset some default styles */
  body {
    overflow-x: hidden;
  }

  /* Header and Navigation */
  .header {
    padding: 0.5rem 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 25, 47, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }
  
  /* Mobile menu button */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }
  
  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .nav-link {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background: rgba(33, 150, 243, 0.1);
    transform: translateX(5px);
  }

  /* Hero section */
  .hero {
    padding: 6rem 1.5rem 4rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1.1rem;
    margin: 1.5rem 0;
  }

  /* Features grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  /* Buttons */
  .btn {
    width: 100%;
    margin: 0.5rem 0;
    padding: 1rem 1.5rem;
  }

  /* Mobile menu button */
  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  /* Overlay for mobile menu */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Sections */
  .section {
    padding: 4rem 1.5rem;
  }

  /* FAQ */
  .faq-item {
    margin-bottom: 1rem;
  }

  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1.25rem 1.25rem;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-section {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Hide elements that don't work well on mobile */
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}

/* Small mobile devices (up to 360px) */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Tablet portrait (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

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