/* Mobile Navigation Styles */
@media (max-width: 768px) {
  /* Hide default navigation on mobile */
  .nav-links {
    display: none;
  }

  /* Show mobile menu button */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }

  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Hamburger to X animation */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Mobile navigation overlay */
  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(14, 14, 26, 0.98);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }

  .mobile-nav.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .mobile-nav-links a {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
  }

  .mobile-nav.active .mobile-nav-links a {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered animation for links */
  .mobile-nav.active .mobile-nav-links a:nth-child(1) {
    transition-delay: 0.1s;
  }

  .mobile-nav.active .mobile-nav-links a:nth-child(2) {
    transition-delay: 0.2s;
  }

  .mobile-nav.active .mobile-nav-links a:nth-child(3) {
    transition-delay: 0.3s;
  }

  .mobile-nav.active .mobile-nav-links a:nth-child(4) {
    transition-delay: 0.4s;
  }

  .mobile-nav.active .mobile-nav-links a:nth-child(5) {
    transition-delay: 0.5s;
  }

  .mobile-nav-links a.active,
  .mobile-nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
  }

  /* Mobile CTA button */
  .mobile-nav .cta-button {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: 0.6s;
  }

  .mobile-nav.active .cta-button {
    opacity: 1;
    transform: translateY(0);
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links {
    gap: 20px;
  }

  .logo {
    font-size: 1.3rem;
  }
}

/* Ensure logo is visible on all screen sizes */
.logo {
  z-index: 1002;
}
