/* Responsive Design for Puzzle Shop */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .testimonial-slide {
    padding: 1.5rem;
    margin: 0.5rem;
  }
  
  .team-card {
    padding: 1.5rem;
  }
  
  .team-card img {
    width: 80px;
    height: 80px;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .service-card img {
    height: 200px;
  }
  
  .team-card img {
    width: 100px;
    height: 100px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .service-card img {
    height: 220px;
  }
  
  .team-card img {
    width: 110px;
    height: 110px;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .service-card img {
    height: 240px;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .service-card img {
    height: 260px;
  }
}

/* Swiper Responsive Settings */
@media (max-width: 767.98px) {
  .swiper-slide {
    width: 100% !important;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .swiper-pagination {
    bottom: 10px !important;
  }
}

/* Gallery Responsive */
@media (max-width: 575.98px) {
  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item img {
    height: 220px;
  }
}

@media (min-width: 768px) {
  .gallery-item img {
    height: 250px;
  }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-item {
    margin: 0.25rem 0;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Form Responsive */
@media (max-width: 575.98px) {
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card {
    border: 2px solid var(--text-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--text-dark);
  }
  
  .form-control {
    border: 2px solid var(--text-dark);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .hero-section {
    background: none !important;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
} 