/* Houseplant Babysitting - Responsive CSS */

/* Mobile First - Base styles are for mobile */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .service-card {
    margin-bottom: 1.64rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  .feature-card {
    margin-bottom: 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-step {
    margin-bottom: 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 4rem;
  }
  
  .container-xxl {
    max-width: 1400px;
  }
}

/* Mobile specific styles (less than 768px) */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .hero-section {
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .service-card {
    margin-bottom: 2.16rem;
  }
  
  .price-card {
    margin-bottom: 2.16rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
  }
  
  /* Disable autoplay and effects for Swiper on mobile */
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-slide {
    transform: none !important;
  }
}

/* Very small devices (less than 576px) */
@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-section p {
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.3rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .service-content {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-decorative {
    display: none !important;
  }
  
  .hero-section {
    background: white !important;
    color: black !important;
    min-height: auto !important;
  }
  
  .section {
    padding: 1rem 0 !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #002400;
    --primary-light-green: #025e07;
    --dark-green: #000000;
    --light-green: #ffffff;
  }
  
  .service-card,
  .feature-card,
  .price-card {
    border: 2px solid var(--dark-green);
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .swiper-container,
  .swiper-slide {
    transition: none !important;
    animation: none !important;
  }
  
  .service-card:hover,
  .feature-card:hover,
  .blog-card:hover {
    transform: none !important;
  }
} 