/* Mobile-Critical CSS - Loaded only on mobile devices */
@media (max-width: 768px) {
  /* Mobile-first hero optimizations */
  .hero-section {
    min-height: 60vh;
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  
  /* Mobile navigation optimizations */
  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  /* Touch-friendly buttons */
  .btn-mobile {
    min-height: 48px;
    min-width: 48px;
    padding: 12px 16px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Mobile-optimized forms */
  .form-input-mobile {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 12px;
    border-radius: 8px;
  }
  
  /* Reduce animations on mobile for performance */
  .reduce-motion {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* Mobile-specific image optimizations */
  .hero-image-mobile {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
  }
  
  /* Mobile typography optimizations */
  .text-mobile-optimized {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.01em;
  }
  
  /* Mobile-specific spacing */
  .section-mobile {
    padding: 2rem 1rem;
  }
  
  .container-mobile {
    max-width: 100%;
    padding: 0 1rem;
  }
}

/* Connection-aware optimizations */
@media (max-width: 768px) and (prefers-reduced-data: reduce) {
  /* Disable non-critical animations on slow connections */
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* Hide decorative images on slow connections */
  .decorative-image {
    display: none;
  }
}
