/* Responsive CSS for Soap & Candle Making Studio */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 1rem 0;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .price-card {
    margin-bottom: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .navbar-brand {
    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.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-section {
    min-height: 90vh;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.75rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .container-xxl {
    max-width: 1400px;
  }
}

/* Swiper Responsive Settings */
@media (max-width: 767.98px) {
  .swiper {
    padding-bottom: 2rem;
  }
  
  .swiper-slide {
    padding: 0 0.5rem;
  }
  
  /* Disable autoplay and effects on mobile */
  .swiper[data-autoplay="true"] {
    --swiper-autoplay-delay: 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .team-card,
  .price-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../NUM_images/hero-bg@2x.webp');
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .swiper {
    --swiper-autoplay-delay: 0;
  }
  
  .fade-in {
    transition: none;
  }
  
  .service-card:hover,
  .feature-card:hover,
  .team-card:hover {
    transform: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --light-cream: #2c2c2c;
    --primary-cream: #3c3c3c;
    --primary-warm-brown: #e8d5c5;
  }
  
  body {
  overflow-x: hidden;
    background-color: #1a1a1a;
    color: #e8d5c5;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .price-card,
  .review-card,
  .faq-item,
  .contact-form {
    background: #2c2c2c;
    color: #e8d5c5;
  }
} 