/* Responsive Design - Mobile First Approach */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

  .hero-section {
    padding: 0 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1.125rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero-section {
    padding: 0 1rem;
    text-align: center;
  }
  
  .contact-form {
    padding: 2.5rem;
    margin: 1rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
  
  /* Footer responsive */
  .footer {
    padding: 3rem 0 1.5rem;
  }
  

}

/* Mobile-specific adaptations for sliders (disable autoplay/effects on mobile < 768px) */
@media (max-width: 767.98px) {
  /* Swiper mobile adaptations */
  .swiper-container {
    overflow: hidden;
  }
  
  .swiper-wrapper {
    transition-duration: 0ms !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
  
  /* Owl Carousel mobile adaptations */
  .owl-carousel .owl-item {
    transition: none !important;
  }
  
  .owl-carousel {
    animation: none !important;
  }
  
  /* Disable hover effects on touch devices */
  .service-card:hover,
  .feature-card:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  /* Optimize touch targets */
  .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
  }
  
  .faq-question {
    padding: 1.25rem;
  }
}

/* Tablet specific (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../KOL_images/hero-bg@2x.webp');
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .contact-form,
  .btn {
    display: none !important;
  }
  
  body { overflow-x: hidden;
    font-size: 12pt;
    color: black;
    background: white;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
    background: white;
    color: black;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .swiper-container,
  .owl-carousel {
    animation: none !important;
  }
  
  .swiper-wrapper {
    transition: none !important;
  }
  
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-section {
    background: black;
    color: white;
  }
  
  .service-card,
  .feature-card,
  .contact-form {
    border: 2px solid black;
  }
  
  .btn-primary {
    background: black;
    color: white;
    border: 2px solid white;
  }
}

/* Dark mode prevention (explicitly excluded) */
@media (prefers-color-scheme: dark) {
  /* Intentionally empty - dark mode styles excluded per requirements */
} 