/* Responsive Styles for Furniture Restoration Template */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .service-card img {
    height: 220px;
  }
  
  .team-card img {
    height: 280px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .service-card img {
    height: 240px;
  }
  
  .team-card img {
    height: 300px;
  }
  
  .gallery-item img {
    height: 300px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Mobile-specific styles */
@media (max-width: 767.98px) {
  .navbar-collapse {
    background-color: rgba(139, 69, 19, 0.95);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-desc {
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .section-desc {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  
  .feature-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .team-card img {
    height: 220px;
  }
  
  .gallery-item {
    margin-bottom: 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .contact-form {
    margin: 0 1rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Tablet-specific styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-size: cover;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    page-break-inside: avoid;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .swiper {
    --swiper-autoplay-delay: 0;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}
