/* Solar Food Trucks - Responsive CSS */
/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .navbar-brand { font-size: 1.125rem; }
  
  /* Hero section mobile */
  #hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  #hero::before {
    display: none;
  }
  
  /* Section padding reduction */
  section {
    padding: 3rem 0;
  }
  
  /* Card padding reduction */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card {
    padding: 1.5rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Price card scaling off on mobile */
  .price-card.featured {
    transform: none;
  }
  
  /* Service price font size */
  .service-price {
    font-size: 1.5rem;
  }
  
  /* Plan price font size */
  .plan-price {
    font-size: 2rem;
  }
  
  /* Process number smaller */
  .process-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.25rem;
  }
  
  /* Gallery item height */
  .gallery-item img {
    height: 200px;
  }
  
  /* Button adjustments */
  .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  /* Form control padding */
  .form-control {
    padding: 0.625rem;
  }
  
  /* Navbar toggler custom - keeping Bootstrap standard */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  /* Remove hover effects on mobile */
  .feature-card:hover,
  .gallery-item:hover img {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  #hero {
    min-height: 80vh;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  .service-price {
    font-size: 1.75rem;
  }
  
  .plan-price {
    font-size: 2.5rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  
  #hero {
    min-height: 90vh;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .gallery-item img {
    height: 230px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Default styles apply */
  .gallery-item img {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  section {
    padding: 6rem 0;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Print styles */
@media print {
  * {
    color: black !important;
    background: white !important;
    box-shadow: none !important;
  }
  
  .navbar,
  #footer,
  .btn {
    display: none !important;
  }
  
  section {
    break-inside: avoid;
    padding: 1rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #2d5016;
    --primary-yellow: #7c6400;
    --primary-orange: #b45309;
    --primary-blue: #1e40af;
    --primary-teal: #0f766e;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card {
    border: 2px solid #000;
  }
}

/* Dark mode support */

body {
    overflow-x: hidden;
}