/* Responsive Styles for Wildlife Guide */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 2.53rem;
  }
  
  .section {
    padding: 100px 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .hero-section {
  padding-top: 50px;
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.06rem;
  }
  
  .hero-subtitle {
    font-size: 1.42rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .service-card {
    margin-bottom: 2.19rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  :root {
    --font-size-h1: 1.8rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.3rem;
  }
  
  .navbar-brand {
    font-size: 1.32rem !important;
  }
  
  .navbar-nav {
    text-align: center;
    padding-top: 1.06rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.81rem;
  }
  
  .hero-subtitle {
    font-size: 1.16rem;
  }
  
  .hero-desc {
    font-size: 1.08rem;
  }
  
  .hero-shape {
    display: none;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title h2 {
    font-size: 1.56rem;
  }
  
  .feature-card,
  .service-card,
  .team-member,
  .review-card,
  .process-step {
    margin-bottom: 1.58rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .service-card img {
    width: 60px;
    height: 60px;
  }
  
  .service-price {
    font-size: 1.56rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-form .btn-submit {
    padding: 0.8rem 2rem;
  }
  
  .swiper {
    height: 300px;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-wrapper {
    transition-timing-function: linear;
  }
  
  .swiper-slide {
    transition: none;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 10px;
  }
  
  .hero-title {
    font-size: 1.71rem;
  }
  
  .hero-subtitle {
    font-size: 1.08rem;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .section-title {
    margin-bottom: 2.19rem;
  }
  
  .feature-card,
  .service-card,
  .team-member,
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  .service-card img {
    width: 50px;
    height: 50px;
  }
  
  .blog-card-content {
    padding: 1.5rem;
  }
  
  .blog-card img {
    height: 150px;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 1.03rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 1.03rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer h5 {
    margin-bottom: 1.21rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-size: cover;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .swiper-pagination,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: auto;
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 20px 0;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}

/* Accessibility improvements */
@media (prefers-contrast: high) {
  .feature-card,
  .service-card,
  .team-member,
  .review-card,
  .blog-card {
    border: 2px solid var(--dark-forest);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

@media (prefers-reduced-motion: reduce) {
  .swiper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  
  .swiper-wrapper {
    display: flex;
    transition: none;
  }
  
  .swiper-slide {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

/* Focus styles for better accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 3px solid var(--primary-sunset);
  outline-offset: 2px;
}

/* Landscape phone adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
  }
  
  .section {
    padding: 30px 0;
  }
}

/* Very large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 3.04rem;
  }
  
  .section {
    padding: 120px 0;
  }
} 