/* Responsive Styles for Home Decluttering Coaching Template */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 2.75rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile Specific Styles (below 768px) */
@media (max-width: 767.98px) {
  /* Conservative font sizes for mobile */
  :root {
    --h1-size: 1.75rem;
    --h2-size: 1.5rem;
    --h3-size: 1.25rem;
    --navbar-brand-size: 1.125rem;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .service-card,
  .team-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  .navbar-brand {
    font-size: var(--navbar-brand-size) !important;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-container {
    overflow: visible;
  }
  
  .swiper-slide {
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Stack columns on mobile */
  .row.mobile-stack > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
  
  .row.mobile-stack > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
  
  /* Contact form adjustments */
  .contact-form {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  /* Footer adjustments */
  .footer .col-md-3,
  .footer .col-md-4 {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* Gallery mobile layout */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Team cards mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Process steps mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  /* Blog cards mobile */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  /* FAQ mobile */
  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }
}

/* Tablet specific styles (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .service-card,
  .price-card {
    height: auto;
    min-height: 300px;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .team-photo {
    width: 110px;
    height: 110px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1.5rem 0;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .service-card,
  .team-card,
  .price-card,
  .blog-card,
  .testimonial-card {
    background: white !important;
    border: 1px solid #ccc !important;
    break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .price-card,
  .contact-form,
  .blog-card {
    border: 2px solid var(--primary-charcoal-dark);
  }
  
  .btn-primary,
  .btn-secondary {
    border: 2px solid var(--primary-charcoal-dark);
  }
}

/* Reduce motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
  
  .fade-in {
    transition: none;
    opacity: 1;
    transform: none;
  }
  
  .swiper-container .swiper-slide {
    transition: none;
  }
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-sage);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-charcoal-dark);
  color: var(--primary-cream);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
  color: var(--primary-cream);
} 