/* Mobile Optimization CSS for Social Studio */
/* This file ONLY ADDS mobile-specific rules - NO changes to existing design */

/* Mobile-First Responsive Design - Additive Only */
@media (max-width: 768px) {
  /* Mobile Typography - Only size adjustments, no color changes */
  h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  h2 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }
  
  h3 {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
  }
  
  /* Mobile Navigation - Only touch target improvements */
  .nav-link {
    padding: 0.75rem 1rem !important;
    min-height: 44px !important; /* Touch target minimum */
  }
  
  /* Mobile Buttons - Only size adjustments, no color changes */
  .btn-primary, .contact-btn {
    padding: 0.875rem 1.5rem !important;
    min-height: 44px !important; /* Touch target minimum */
  }
  
  /* Mobile Forms - Only iOS zoom prevention */
  input, textarea, select {
    font-size: 16px !important; /* Prevents zoom on iOS */
    min-height: 44px !important; /* Touch target minimum */
  }
  
  /* Mobile Cards - Only spacing adjustments */
  .service-card, .industry-card {
    margin-bottom: 1rem !important;
  }
  
  /* Mobile Grid - Only responsive adjustments */
  .grid {
    gap: 1rem !important;
  }
  
  /* Mobile Spacing - Only padding adjustments */
  .py-20 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .py-12 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Small Mobile Devices - Only extra small adjustments */
@media (max-width: 480px) {
  /* Container padding adjustments */
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  /* Button sizing for small screens */
  .btn-primary, .contact-btn {
    width: 100% !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* Form full width on small screens */
  form {
    width: 100% !important;
  }
}

/* Tablet Optimizations - Only responsive adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet grid adjustments */
  .grid {
    gap: 1.5rem !important;
  }
}

/* Touch Device Optimizations - Only touch-specific improvements */
@media (hover: none) and (pointer: coarse) {
  /* Touch-friendly spacing */
  .nav-link {
    padding: 1rem 1.5rem !important;
  }
  
  /* Touch-friendly form elements */
  input, textarea, select {
    min-height: 48px !important;
  }
}

/* Accessibility Improvements - Only focus states */
.btn-primary:focus,
.contact-btn:focus,
.nav-link:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #667eea !important;
  outline-offset: 2px !important;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  /* Only reduce motion for accessibility - no design changes */
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile Menu Enhancements - Only mobile-specific */
@media (max-width: 768px) {
  #mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 1000 !important;
    padding: 2rem 1rem !important;
  }
  
  #mobile-menu a {
    display: block !important;
    padding: 1rem 1.5rem !important;
    margin: 0.5rem 0 !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
  }
}

/* Footer Mobile Optimization - Only responsive adjustments */
@media (max-width: 768px) {
  footer .grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }
  
  footer .flex {
    flex-direction: column !important;
    gap: 1rem !important;
  }
} 
