/* Responsive Styles for Gluten-Free Bakery Truck Template */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
  
  .hero-section {
    padding: 0 2rem;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
}

/* Medium screens (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Small screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 1.5rem 0;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .team-card {
    padding: 1rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .process-step {
    padding: 1.5rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
}

/* Extra small screens (up to 575px) */
@media (max-width: 575px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: 1.375rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  .navbar-brand {
    font-size: 1.125rem !important;
  }
  
  /* Layout adjustments */
  .hero-section {
    min-height: 60vh;
    text-align: center;
    padding: 1rem 0;
  }
  
  .hero-section::before {
    display: none; /* Remove decorative blob on mobile */
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Cards and components */
  .service-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .team-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
  }
  
  .review-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .faq-card {
    padding: 1rem;
  }
  
  .process-step {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .process-number {
    width: 25px;
    height: 25px;
    font-size: 0.75rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 150px;
  }
  
  /* Forms */
  .form-control {
    padding: 0.625rem;
    font-size: 0.875rem;
  }
  
  .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 1.5rem;
  }
  
  /* Navigation */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-align: center;
  }
}

/* Mobile-specific no-animation rules */
@media (max-width: 767px) {
  /* Disable animations on mobile for better performance */
  .service-card,
  .gallery-item img,
  .navbar-nav .nav-link,
  .footer a {
    transition: none !important;
  }
  
  .service-card:hover {
    transform: none !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
  }
  
  .gallery-item:hover img {
    transform: none !important;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 50vh;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

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

/* Print styles */
@media print {
  .navbar,
  .hero-section::before,
  .btn,
  .footer {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    box-shadow: none;
    border: 1px solid #cecaca;
    page-break-inside: avoid;
  }
} 

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