/* Enhanced Responsive CSS for AI Inventory Management Website */

/* Extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .container {
    max-width: 1320px;
  }
}

/* Large devices (1200px and up) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 95%;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}

/* Medium devices (992px and up) */
@media (max-width: 991.98px) {
  .hero {
    min-height: 80vh;
    padding: 3rem 0;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0.5rem;
  }
}

/* Small devices (768px and up) */
@media (max-width: 767.98px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 0.5rem;
  }
  
  .hero {
    min-height: 70vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  .service-card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .service-icon {
    width: 55px;
    height: 55px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .service-card h4,
  .service-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  .social-icons-grid {
    gap: 0.5rem;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .shape-1,
  .shape-2,
  .shape-3 {
    display: none;
  }
}

/* Extra small devices (576px and down) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .hero-content p {
    font-size: 0.95rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }
  
  .service-card h4,
  .service-card h5 {
    font-size: 1rem;
  }
  
  .service-price {
    font-size: 1.1rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Ultra small devices (480px and down) */
@media (max-width: 479.98px) {
  .hero-content h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .service-card {
    padding: 0.875rem;
  }
  
  .service-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .social-link {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  section {
    padding: 2.5rem 0;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-shapes,
  .social-link,
  .btn {
    display: none !important;
  }
  
  .hero {
    background: white !important;
    color: black !important;
    min-height: auto;
    padding: 1rem 0;
  }
  
  .hero-content h1,
  .section-title h2 {
    color: black !important;
  }
  
  .service-card {
    box-shadow: none !important;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
