/* Responsive CSS - Seasonal Car Rentals */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .core-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .navbar-nav {
    margin-top: 15px;
  }
  
  .nav-item {
    margin-left: 20px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-bg {
    width: 40%;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-toggler {
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
  }
  
  .navbar-collapse {
    display: none;
    width: 100%;
  }
  
  .navbar-collapse.show {
    display: block;
  }
  
  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    margin: 10px 0;
    margin-left: 0;
  }
  
  .hero {
    height: auto;
    padding: 100px 0 50px;
  }
  
  .hero-bg {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 30px;
  }
  
  .hero-shape {
    display: none;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .review-item, .service-item, .about-feature, .feature-item, .price-plan-item, .core-info-item {
    margin-bottom: 20px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .core-info-grid {
    grid-template-columns: 1fr;
  }
  
  .swiper-slide {
    height: auto;
  }
  
  .footer [class^="col-"] {
    margin-bottom: 30px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-question {
    font-size: 0.9rem;
    padding: 15px;
  }
  
  .contact-form, .contact-info {
    padding: 25px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  #space {
    height: 300px;
    margin: 50px 0;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-pagination-bullet-inactive-opacity: 1;
  }
  
  .swiper-container-autoheight, 
  .swiper-container-autoheight .swiper-slide {
    height: auto !important;
  }
  
  .service-item:hover,
  .about-feature:hover,
  .feature-item:hover,
  .price-plan-item:hover,
  .core-info-item:hover,
  .blog-item:hover,
  .gallery-item:hover .gallery-img {
    transform: none !important;
  }
}
