/* 
* Cultural City Roadtrip Packages - Responsive CSS
* Version 1.0 - 2025
*/

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  :root {
    --base-font-size: 14px;
  }
  
  .container {
    padding-right: 10px;
    padding-left: 10px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .hero {
    height: 90vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-padding {
    padding: var(--spacing-lg) 0;
  }
  
  .services-item-img, 
  .blog-item-img {
    height: 200px;
  }
  
  .team-member-img {
    height: 250px;
  }
  
  .contact-form {
    padding: var(--spacing-md);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .services-item-img, 
  .blog-item-img {
    height: 200px;
  }
  
  .team-member-img {
    height: 280px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .services-item-img, 
  .blog-item-img {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Additional responsive adjustments */

/* Navigation bar responsive behavior */
@media (max-width: 991.98px) {
  .navbar-nav {
    padding: var(--spacing-md) 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }
  
  .navbar-nav .nav-link:before {
    display: none;
  }
}

/* Flip columns on mobile */
@media (max-width: 767.98px) {
  .flex-md-row-reverse {
    flex-direction: column-reverse !important;
  }
  
  .about-feature {
    margin-bottom: var(--spacing-md);
  }
  
  .services-item,
  .priceplan-item,
  .team-member,
  .blog-item {
    margin-bottom: var(--spacing-lg);
  }
  
  .services-item-content,
  .priceplan-item-content,
  .team-member-info,
  .blog-item-content {
    padding: var(--spacing-sm);
  }
}

/* Adjust padding for all sections on mobile */
@media (max-width: 767.98px) {
  .section-padding {
    padding: var(--spacing-lg) 0;
  }
  
  .section-title {
    margin-bottom: var(--spacing-md);
  }
}

/* Slider adjustments for mobile */
@media (max-width: 767.98px) {
  .reviews-item {
    margin: 0.5rem;
    padding: var(--spacing-sm);
  }
}

/* Footer adjustments for mobile */
@media (max-width: 767.98px) {
  footer [class*="col-"] {
    margin-bottom: var(--spacing-md);
  }
}

/* Reduce effects and animations on mobile devices or for users who prefer reduced motion */
@media (max-width: 767.98px), (prefers-reduced-motion: reduce) {
  .hero-content,
  .section-title,
  .about-feature,
  .services-item,
  .features-item,
  .priceplan-item,
  .team-member,
  .blog-item,
  .coreinfo-item {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  
  .services-item:hover,
  .priceplan-item:hover,
  .team-member:hover,
  .blog-item:hover,
  .coreinfo-item:hover,
  .about-feature:hover {
    transform: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
  }
  
  .services-item-img img,
  .blog-item-img img,
  .gallery-item img {
    transition: none !important;
  }
  
  .services-item:hover .services-item-img img,
  .blog-item:hover .blog-item-img img,
  .gallery-item:hover img {
    transform: none !important;
  }
}

/* Gallery responsive adjustments */
@media (max-width: 767.98px) {
  .gallery-item {
    margin-bottom: var(--spacing-sm);
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Accessibility focus styles */
@media (prefers-reduced-motion: no-preference) {
  a:focus,
  button:focus,
  input:focus,
  textarea:focus,
  select:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    transition: outline-offset 0.1s ease;
  }
}
