/* Responsive CSS for B2B Eco-Supplies Store Template */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Section padding for mobile */
  section {
    padding: 2rem 0;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Card padding reduction */
  .service-card,
  .price-card,
  .team-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Price card scaling reset */
  .price-card.featured {
    transform: none;
  }
  
  .price-card:hover {
    transform: none;
  }
  
  /* Team photo size */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process number size */
  .process-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.25rem;
  }
  
  /* Gallery item height */
  .gallery-item img {
    height: 200px;
  }
  
  /* Contact info padding */
  .contact-info {
    padding: 2rem;
    margin-top: 2rem;
  }
  
  /* Footer padding */
  #footer {
    padding: 2rem 0 1rem;
  }
  
  /* Navbar brand size */
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  /* Button padding */
  .btn-eco-primary,
  .btn-eco-secondary {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  /* NO ANIMATIONS ON MOBILE - Disable scroll animations */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-eco-primary:hover,
  .btn-eco-secondary:hover {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Section padding */
  section {
    padding: 3rem 0;
  }
  
  /* Hero adjustments */
  #hero {
    min-height: 85vh;
  }
  
  /* Card padding */
  .service-card,
  .price-card,
  .team-card {
    padding: 1.75rem;
  }
  
  /* Team photo */
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  /* Gallery height */
  .gallery-item img {
    height: 220px;
  }
  
  /* Reduced animations on mobile */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: translateY(-2px);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  #hero {
    min-height: 90vh;
  }
  
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  /* Typography */
  h1 {
    font-size: 1.625rem;
  }
  
  h2 {
    font-size: 1.4375rem;
  }
  
  /* Card spacing */
  .service-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery grid adjustments */
  .gallery-item img {
    height: 240px;
  }
  
  /* Contact form layout */
  .contact-form {
    padding: 2.25rem;
  }
  
  .contact-info {
    padding: 2.25rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Full hero height */
  #hero {
    min-height: 100vh;
  }
  
  /* Decorative elements */
  .hero-decorative {
    width: 180px;
    height: 180px;
  }
  
  /* Gallery optimal height */
  .gallery-item img {
    height: 260px;
  }
  
  /* Price card featured scaling */
  .price-card.featured {
    transform: scale(1.03);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Maximum section width */
  .container {
    max-width: 1140px;
  }
  
  /* Hero decorative full size */
  .hero-decorative {
    width: 200px;
    height: 200px;
  }
  
  /* Gallery full height */
  .gallery-item img {
    height: 280px;
  }
  
  /* Optimal spacing */
  section {
    padding: 5rem 0;
  }
  
  /* Contact layout */
  .contact-form,
  .contact-info {
    padding: 2.5rem;
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Enhanced spacing for very large screens */
  section {
    padding: 6rem 0;
  }
  
  /* Larger gallery images */
  .gallery-item img {
    height: 300px;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and interactive elements */
  #header,
  .btn,
  .navbar,
  .hero-decorative {
    display: none;
  }
  
  /* Optimize for print */
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
    page-break-after: avoid;
  }
  
  /* Prevent page breaks inside cards */
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .faq-card {
    page-break-inside: avoid;
    break-inside: avoid;
  }
  
  /* Footer adjustments */
  #footer {
    color: black;
    background: white;
    border-top: 1px solid black;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --eco-green: #1a3d1a;
    --eco-green-dark: #0f2a0f;
    --eco-light-green: #2d5a27;
    --eco-sage: #6b8e5a;
    --eco-cream: #ffffff;
    --eco-cream-light: #ffffff;
    --eco-earth: #4a3429;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .faq-card {
    border-width: 2px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  #hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  /* Disable all transforms and transitions */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .gallery-item,
  .btn-eco-primary,
  .btn-eco-secondary {
    transition: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .btn-eco-primary:hover,
  .btn-eco-secondary:hover {
    transform: none;
  }
  
  .price-card.featured {
    transform: none;
  }
} 

.hero-content {
    padding-top: 100px;
}