/* Responsive CSS for AR Wildlife Book Template */
/* Mobile-first approach with progressive enhancement */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  .price-plan-price {
    font-size: 2rem;
  }
  
  /* No animations on mobile */
  .sal-animate {
    animation: none !important;
    transition: none !important;
  }
  
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .price-plan-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  /* Reduced animations on small screens */
  @media (prefers-reduced-motion: no-preference) {
    .sal-animate {
      transition-duration: 0.3s;
    }
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  .hero-decorative-2 {
    width: 120px;
    height: 120px;
  }
  
  .team-photo {
    width: 110px;
    height: 110px;
  }
  
  .price-plan-card.featured {
    transform: scale(1.02);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .hero-decorative {
    width: 180px;
    height: 180px;
  }
  
  .hero-decorative-2 {
    width: 140px;
    height: 140px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-decorative {
    width: 200px;
    height: 200px;
  }
  
  .hero-decorative-2 {
    width: 150px;
    height: 150px;
  }
  
  .service-card:hover {
    transform: translateY(-8px);
  }
  
  .team-card:hover {
    transform: translateY(-5px);
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .breadcrumb,
  #footer,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
    page-break-after: avoid;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .blog-card {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-forest: #000000;
    --primary-earth: #333333;
    --neutral-gray: #666666;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .blog-card {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
  }
  
  .btn-outline-primary {
    color: #000000;
    border-color: #000000;
  }
}

/* Dark mode support */

/* Orientation specific styles */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
}

/* Hover capability detection */
@media (hover: none) {
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .price-plan-card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Fine pointer (mouse) specific styles */
@media (pointer: fine) {
  .btn {
    cursor: pointer;
  }
  
  .service-card,
  .team-card,
  .blog-card {
    cursor: default;
  }
}

/* Coarse pointer (touch) specific styles */
@media (pointer: coarse) {
  .btn {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }
  
  .form-control {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .navbar-toggler {
    padding: 0.5rem;
  }
}

/* Specific breakpoints for content optimization */
@media (min-width: 768px) {
  .row.g-4 > * {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 992px) {
  .row.g-4 > * {
    margin-bottom: 2rem;
  }
}

/* Container queries support (future-proofing) */
@supports (container-type: inline-size) {
  .service-container {
    container-type: inline-size;
  }
  
  @container (max-width: 300px) {
    .service-card {
      padding: 1rem;
    }
    
    .service-price {
      font-size: 1.25rem;
    }
  }
} 