/* Cat Furniture Boutique - Responsive Styles */

/* Mobile-first approach */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    font-size: 14px;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  
  .service-card,
  .feature-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Disable autoplay and effects on mobile as per requirements */
  .swiper-autoplay {
    pointer-events: auto;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-section {
    padding: 0 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero-shape,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-charcoal: #000000;
    --primary-warm-white: #FFFFFF;
    --charcoal-light: #333333;
  }
  
  .btn-primary {
    border: 2px solid var(--primary-charcoal);
  }
  
  .feature-card,
  .service-card,
  .price-card {
    border: 1px solid var(--primary-charcoal);
  }
}

/* Dark mode preference (not implemented per requirements) */
@media (prefers-color-scheme: dark) {
  /* Intentionally left empty as dark mode is excluded */
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-shape-1,
  .hero-shape-2 {
    animation: none;
  }
  
  .swiper {
    --swiper-navigation-sides-offset: 0;
  }
  
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover {
    transform: none;
  }
} 