/* Pop-up Plant Markets Template - Responsive CSS */
/* Mobile-First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Hero Section */
  #hero {
    min-height: 70vh;
    text-align: center;
  }
  
  #hero .container {
    padding: 1rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  /* Cards and sections */
  .service-card,
  .price-card,
  .feature-card {
    margin-bottom: 1.5rem;
  }
  
  .service-price,
  .price-amount {
    font-size: 1.875rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery items */
  .gallery-item img {
    height: 200px;
  }
  
  /* Spacing adjustments */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* NO animations on mobile as per requirements */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .job-card,
  .blog-card,
  .gallery-item {
    transition: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .job-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.625rem;
  }
  
  #hero {
    min-height: 75vh;
  }
  
  .service-price,
  .price-amount {
    font-size: 2.25rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .team-photo {
    width: 110px;
    height: 110px;
  }
  
  .gallery-item img {
    height: 225px;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  /* Reduced animations on small mobile devices */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .job-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 {
    min-height: 85vh;
  }
  
  .service-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  /* Standard hover effects for tablets */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .job-card:hover,
  .blog-card:hover {
    transform: translateY(-3px);
  }
  
  .price-card:hover {
    transform: translateY(-5px);
  }
  
  .gallery-item:hover {
    transform: scale(1.02);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #hero {
    min-height: 90vh;
  }
  
  .gallery-item img {
    height: 260px;
  }
  
  /* Full hover effects for desktop */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .job-card:hover,
  .blog-card:hover {
    transform: translateY(-5px);
  }
  
  .price-card:hover {
    transform: translateY(-8px);
  }
  
  .gallery-item:hover {
    transform: scale(1.03);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  #hero {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
  
  .gallery-item img {
    height: 280px;
  }
  
  /* Full hover effects for large desktop */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .job-card:hover,
  .blog-card:hover {
    transform: translateY(-5px);
  }
  
  .price-card:hover {
    transform: translateY(-10px);
  }
  
  .gallery-item:hover {
    transform: scale(1.05);
  }
}

/* Ultra-wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .price-amount {
    font-size: 3.25rem;
  }
  
  .gallery-item img {
    height: 300px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* High DPI/Retina display adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp rendering on high-DPI displays */
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print styles */
@media print {
  #header,
  #footer,
  .btn,
  .navbar {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
    overflow-x: hidden;
}
  
  .container {
    width: 100%;
    max-width: none;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* Dark mode support (if user prefers) */

/* Reduced data usage for slow connections */
@media (prefers-reduced-data: reduce) {
  /* Disable background images and gradients for data savings */
  #hero {
    background: var(--primary-cream);
  }
  
  #hero::before {
    display: none;
  }
  
  .gallery-item:hover,
  .blog-card:hover {
    transform: none;
  }
} 