/* Responsive CSS for Home Décor Store Template */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 1.75rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .process-step::after {
    display: none;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  .process-step::after {
    display: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  .process-step::after {
    width: 30px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .process-step::after {
    width: 50px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-fluid.hero-section {
    padding-left: 5%;
    padding-right: 5%;
  }
}

/* Disable autoplay and effects on mobile for Swiper */
@media (max-width: 767.98px) {
  .swiper-wrapper {
    transform: none !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-size: cover;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #f8f9fa;
    --bg-color: #212529;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .blog-card,
  .price-card,
  .career-item {
    transform: none !important;
    transition: none !important;
  }
  
  .gallery-item img {
    transform: none !important;
  }
  
  .btn-primary {
    transform: none !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
}

/* Accessibility Improvements */
@media (max-width: 767.98px) {
  .navbar-toggler {
    border: 2px solid var(--primary-3);
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .blog-card:hover,
  .price-card:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Landscape Phone Optimizations */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
} 