/* Responsive Styles for Mobile Pet Grooming Template */

/* Large screens (desktops) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    padding: 120px 0;
  }
  
  .section-padding {
    padding: 80px 0;
  }
}

/* Medium screens (tablets) */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 60px 0;
    min-height: 80vh;
  }
  
  .hero-blob-1,
  .hero-blob-2 {
    display: none;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .team-img {
    width: 100px;
    height: 100px;
  }
  
  .price-card.featured {
    transform: none;
    margin-top: 1rem;
  }
}

/* Small screens (landscape phones) */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 40px 0;
    min-height: 70vh;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.35rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-img {
    width: 80px;
    height: 80px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .core-info-icon {
    font-size: 2.5rem;
  }
}

/* Extra small screens (portrait phones) */
@media (max-width: 575.98px) {
  .hero-section {
    padding: 30px 0;
    min-height: 60vh;
  }
  
  .section-padding {
    padding: 30px 0;
  }
  
  h1 {
    font-size: 1.375rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  .navbar-brand {
    font-size: 0.95rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .footer {
    padding: 30px 0 15px;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .blog-card img {
    height: 150px;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Mobile Animation Restrictions */
@media (max-width: 767.98px) {
  /* NO animations when scrolling in mobile resolution */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .blog-card:hover,
  .case-study-card:hover,
  .core-info-item:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Disable all scroll-based animations on mobile */
  [data-sal],
  .sal-animate {
    opacity: 1;
    transform: none;
  }
}

/* Navbar Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--white);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--primary-light);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-blob {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4 {
    color: black;
  }
  
  .section-padding {
    padding: 20px 0;
  }
}

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

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

/* Dark Mode Support (respects user preference) */

/* Focus Management for Accessibility */
@media (max-width: 767.98px) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
} 

.hero-section h1 {
    padding-top: 175px;
}