/* Responsive CSS for Artisan Bath Products Template */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .service-card,
  .team-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 75vh;
  }
  
  .service-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .service-card,
  .team-card,
  .price-card {
    height: 100%;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    padding: 0;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: white;
    color: black;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: none;
    color: black;
  }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gallery-item img,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark mode preferences */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .card:hover,
  .gallery-item:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  .hero-section::before,
  .hero-section::after {
    animation: none;
  }
} 

.hero-content {
    padding-top: 225px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
