/* Plant Nursery Template - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .service-card,
  .price-card {
    padding: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section {
    background-attachment: fixed;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-slide {
    transition: none;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .team-photo {
    width: 220px;
    height: 220px;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .container-fluid {
    max-width: 1400px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper,
  #space {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  body {
  overflow-x: hidden;
    font-size: 12pt;
    background: white !important;
    color: black !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #000000;
    --secondary-green: #333333;
    --warm-cream: #ffffff;
    --accent-brown: #666666;
  }
  
  .service-card,
  .price-card,
  .contact-form {
    border: 2px solid #000000;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --soft-cream: #1a1a1a;
    --warm-cream: #2d2d2d;
    --dark-brown: #f0f0f0;
  }
  
  body {
  overflow-x: hidden;
    background-color: var(--soft-cream);
    color: var(--dark-brown);
  }
  
  .service-card,
  .price-card,
  .contact-form,
  .review-card {
    background: var(--warm-cream);
    color: var(--dark-brown);
  }
}

/* Accessibility improvements */
@media (max-width: 767px) {
  .navbar-toggler {
    border: 2px solid var(--warm-cream);
    padding: 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
  }
  
  .nav-link {
    padding: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .dropdown-menu {
    background: var(--primary-green);
    border: none;
  }
  
  .dropdown-item {
    color: var(--warm-cream);
  }
  
  .dropdown-item:hover {
    background: var(--secondary-green);
    color: var(--warm-cream);
  }
} 