/* Mobile Responsive Improvements */

/* Mobile navigation improvements */
@media (max-width: 1023px) {
  .mobile-nav {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
  }

  .mobile-nav.show {
    opacity: 1;
    visibility: visible;
    display: block !important;
  }

  .mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000;
  }

  .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    transition: all 0.2s ease;
  }

  .close-btn:hover {
    color: #61ba46;
    transform: scale(1.1);
  }

  .mobile-menu-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 80px 20px 20px;
  }

  .mobile-menu-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
  }

  .mobile-menu-content li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-content li:last-child {
    border-bottom: none;
  }

  .mobile-menu-content a {
    display: block;
    padding: 25px 20px;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }

  .mobile-menu-content a:hover,
  .mobile-menu-content a.active {
    background-color: rgba(97, 186, 70, 0.1);
    color: #00ff00;
  }

  /* Site hero improvements */
  .site-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .site-hero-content {
    padding: 20px;
    text-align: center;
    position: initial;
    margin: auto;
  }

  /* Image improvements */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Text improvements */
  .text-3xl {
    font-size: 1.875rem;
  }

  .text-4xl {
    font-size: 2.25rem;
  }

  .text-5xl {
    font-size: 3rem;
  }
}

/* Small mobile improvements */
@media (max-width: 639px) {
  .wrapper {
    padding: 0 15px;
  }

  .mobile-menu-content a {
    font-size: 1.25rem;
    padding: 20px 15px;
  }
}

/* Landscape mobile improvements */
@media (max-width: 767px) and (orientation: landscape) {
  .site-hero {
    min-height: 100vh;
  }

  .site-hero-content {
    padding: 10px 20px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
