/* Responsive Design - Pet Village Template */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .service-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .review-card {
    margin: 0.5rem;
  }
  
  .service-card {
    height: auto;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .container {
    max-width: 960px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Disable animations on mobile for performance */
@media (max-width: 768px) {
  .service-card:hover,
  .feature-item:hover,
  .about-feature:hover,
  .coreinfo-item:hover,
  .price-card:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .team-photo:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
  }
  
  .navbar-nav .nav-link:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-size: cover;
  }
}

/* Portrait Orientation */
@media (orientation: portrait) and (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  
  .shape-blob {
    display: none;
  }
}

/* Landscape Orientation on Mobile */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .section {
    padding: 30px 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .shape-blob,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  body {
overflow-x: hidden;
    background: white !important;
    color: black !important;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
} 