/* Tourism Guide Website - Responsive CSS */

/* Large screens (desktops, >1200px) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* Medium screens (tablets, 768px-1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small screens (mobile landscape, 576px-767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .services-grid,
  .team-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .about-feature {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
}

/* Extra small screens (mobile portrait, <576px) */
@media (max-width: 575px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Navigation adjustments */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-section .lead {
    font-size: 1rem;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  /* Section adjustments */
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .section-subtitle {
    font-size: 1rem;
    text-align: center;
  }
  
  /* Grid layouts - single column */
  .services-grid,
  .team-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Cards and components */
  .about-feature {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .service-card-body {
  overflow-x: hidden;
    padding: 1rem;
  }
  
  .team-member {
    padding: 1.5rem 1rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-form .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Reviews slider mobile */
  .reviews-slider {
    padding: 2rem 1rem;
  }
  
  .review-item {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
  
  /* FAQ mobile */
  .faq-question {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Blog items mobile */
  .blog-item-body {
  overflow-x: hidden;
    padding: 1rem;
  }
  
  /* Button adjustments */
  .btn-primary {
    padding: 0.5rem 1.5rem;
    width: 100%;
    margin-top: 1rem;
  }
  
  /* Hide decorative elements on mobile */
  .hero-shape,
  .decorative-element {
    display: none !important;
  }
}

/* Mobile-specific: Disable autoplay and effects for Swiper */
@media (max-width: 767px) {
  .swiper-slide {
    transition: none !important;
  }
  
  .swiper-wrapper {
    transition-duration: 0ms !important;
  }
  
  /* Disable hover effects on touch devices */
  .service-card:hover,
  .team-member:hover,
  .about-feature:hover,
  .blog-item:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Tablet and mobile landscape optimization */
@media (max-width: 1024px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../FLA_images/hero-bg.webp');
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-shape {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  * {
    box-shadow: none !important;
    transition: none !important;
  }
}

/* Accessibility improvements */
@media (max-width: 767px) {
  /* Increase touch target sizes */
  .navbar-toggler {
    min-width: 44px;
    min-height: 44px;
  }
  
  .faq-question {
    min-height: 48px;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
  }
  
  /* Improve text readability */
  body {
  overflow-x: hidden;
    font-size: 16px;
    line-height: 1.7;
  }
  
  p {
    margin-bottom: 1.2rem;
  }
} 