/* Responsive CSS for Organic Urban Mushroom Farming Kit Template */

/* Tablet Styles */
@media (max-width: 992px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section::before {
    top: -30%;
    right: -30%;
    width: 100%;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .card-img-top {
    height: 150px;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .process-item, .timeline-item {
    padding-left: 2.5rem;
  }
  
  .process-item::before, .timeline-item::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  
  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  #blog_grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 576px) {
  .hero-section {
    min-height: 60vh;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .faq-item {
    padding: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.125rem; }
  
  .service-price {
    font-size: 1.125rem;
  }
}

/* Mobile-specific: No animations on scroll for better performance */
@media (max-width: 768px) {
  .card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .gallery-item {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .card-img-top,
  .gallery-item img,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark Mode Support */

.hero-content {
    padding-top: 225px;
}