/* Dog Daycare Template - Responsive CSS */

/* Mobile First Approach - Base styles for mobile devices */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  
  .hero-section {
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .navbar-nav .nav-link {
  font-size: 10px !important;
    margin: 0 0.3rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .testimonial-item {
    padding: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .gallery-item img {
    height: 240px;
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
}

/* Disable animations and autoplay on mobile devices */
@media (max-width: 767.98px) {
  .swiper-slide {
    transition: none !important;
  }
  
  .swiper-container {
    overflow: visible;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
  
  /* Disable autoplay effects on mobile */
  [data-swiper-autoplay] {
    pointer-events: none;
  }
  
  /* Disable hover effects on touch devices */
  .card:hover,
  .gallery-item:hover img,
  .btn-primary:hover {
    transform: none;
  }
  
  /* Ensure touch-friendly spacing */
  .navbar-toggler {
    padding: 0.5rem;
    border: none;
  }
  
  .nav-link {
  font-size: 10px !important;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .faq-question {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 1rem;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Stack columns on mobile */
  .row.mobile-stack > [class*="col-"] {
    margin-bottom: 2rem;
  }
  
  .row.mobile-stack > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .contact-section,
  .hero-decorative {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  a {
    text-decoration: underline;
  }
  
  .btn {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--black);
  }
  
  .btn-primary {
    border: 2px solid var(--white);
  }
  
  .navbar {
    border-bottom: 2px solid var(--white);
  }
}


/* Focus styles for keyboard navigation */
@media (any-hover: hover) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus,
  .card:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
  }
}

/* Ensure minimum touch target size */
@media (pointer: coarse) {
  .btn,
  .nav-link,
  .faq-question {
    min-height: 44px;
    min-width: 44px;
  }
} 