/* Art Supply Store Template - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  section {
    padding: 40px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .card-body {
  overflow-x: hidden;
    padding: 20px;
  }
  
  .contact-form {
    padding: 20px;
  }
  
  .service-card {
    padding: 20px 10px;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .price {
    font-size: 2rem;
  }
  
  .price-card {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper {
    --swiper-navigation-size: 20px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  section {
    padding: 50px 0;
  }
  
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  .price {
    font-size: 2.5rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .service-card {
    padding: 40px 30px;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  /* Enable Swiper effects for tablets and up */
  .swiper-button-next,
  .swiper-button-prev {
    display: flex;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .section-title {
    margin-bottom: 80px;
  }
  
  .service-card {
    padding: 50px 40px;
  }
  
  .contact-form {
    padding: 50px;
  }
  
  .price-card {
    padding: 50px 40px;
  }
  
  .gallery-item img {
    height: 280px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .container {
    max-width: 1140px;
  }
  
  .gallery-item img {
    height: 300px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .breadcrumb,
  footer {
    display: none !important;
  }
  
  section {
    page-break-inside: avoid;
    padding: 20px 0;
  }
  
  .hero {
    min-height: auto;
    background: none !important;
  }
  
  .hero::before {
    display: none;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  a {
    text-decoration: underline;
  }
  
  .btn {
    border: 1px solid #000;
    background: none !important;
    color: #000 !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --primary-light: #333333;
    --primary-dark: #000000;
    --secondary-color: #000000;
    --secondary-light: #333333;
    --secondary-dark: #000000;
    --text-primary: #000000;
    --text-secondary: #000000;
    --bg-light: #ffffff;
    --bg-white: #ffffff;
  }
  
  .card {
    border: 2px solid #000000;
  }
  
  .btn {
    border: 2px solid #000000;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #4a7c59;
    --primary-light: #6ba373;
    --primary-dark: #2c5530;
    --secondary-color: #e6a15d;
    --secondary-light: #f0b570;
    --secondary-dark: #d4853d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --bg-light: #2c2c2c;
    --bg-white: #1a1a1a;
  }
  
  body {
  overflow-x: hidden;
    background-color: var(--bg-white);
    color: var(--text-primary);
  }
  
  .navbar {
    background: var(--bg-white);
  }
  
  .card {
    background: var(--bg-light);
    color: var(--text-primary);
  }
  
  .form-control {
    background: var(--bg-light);
    border-color: #555;
    color: var(--text-primary);
  }
  
  .accordion-button {
    background: var(--bg-light);
    color: var(--text-primary);
  }
} 