/* Responsive CSS for Custom Embroidery Template */

/* Mobile First Approach */
@media (max-width: 767.98px) {
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-container {
    --swiper-navigation-size: 30px;
  }
  
  .swiper-container .swiper-pagination {
    bottom: 10px;
  }
  
  /* Hero adjustments */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-desc {
    font-size: 0.9rem;
  }
  
  /* Navigation */
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
  
  /* Sections */
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.25rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Service cards */
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-card img {
    height: 150px;
  }
  
  /* Team photos */
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  /* Blog cards */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  /* Hide decorative shapes on mobile */
  .hero-shape {
    display: none;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  
  .service-card img {
    height: 180px;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  /* Hover effects only on desktop */
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: translateY(-5px);
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1400px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .hero-shape,
  .btn,
  .swiper-pagination,
  .swiper-navigation {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
    color: black !important;
  }
  
  body { overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
    page-break-after: avoid;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .hero-shape,
  .service-card,
  .blog-card,
  .gallery-item,
  .btn-primary {
    transition: none !important;
    animation: none !important;
  }
  
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .service-card,
  .blog-card,
  .review-card,
  .additional-item {
    border: 2px solid var(--neutral-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--neutral-white);
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus,
.faq-question:focus {
  outline: 2px solid var(--primary-gold);
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--neutral-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-coral);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-coral-dark);
} 