/* Cultural City Roadtrip Packages - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card {
    margin-bottom: 1rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 3.25rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .container-xl {
    max-width: 1400px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Disable animations and effects on mobile devices */
@media (max-width: 767.98px) {
  .swiper-wrapper {
    animation: none !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
  
  .custom-card:hover,
  .service-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
  
  /* Disable autoplay and effects for Swiper on mobile */
  .swiper[data-mobile-disable] {
    pointer-events: auto;
  }
  
  .swiper[data-mobile-disable] .swiper-wrapper {
    transform: none !important;
  }
  
  .swiper[data-mobile-disable] .swiper-slide {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../ART_images/hero-bg@2x.webp');
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .contact-form {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .review-item,
  .custom-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: underline;
  }
  
  .text-gradient {
    -webkit-text-fill-color: inherit;
    color: var(--primary-color);
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --light-bg: #2a2a2a;
    --text-primary: #e9ecef;
    --text-secondary: #adb5bd;
  }
  
  .custom-card,
  .service-card,
  .review-item,
  .contact-form {
    background: #333;
    color: var(--text-primary);
  }
  
  .navbar {
    background: rgba(42, 42, 42, 0.95);
  }
  
  .form-control {
    background: #444;
    border-color: #555;
    color: var(--text-primary);
  }
  
  .faq-question {
    background: #444;
    color: var(--text-primary);
  }
  
  .faq-answer {
    background: #333;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .swiper-wrapper {
    animation: none !important;
  }
  
  .hero-section::before {
    animation: none !important;
  }
  
  .fade-in-up {
    animation: none !important;
  }
}

/* Focus states for keyboard navigation */
@media (min-width: 768px) {
  .navbar-nav .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
  }
  
  .faq-question:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
  }
  
  .gallery-item:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
  }
}

/* Container adjustments for better spacing */
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

/* Custom breakpoint for very large screens */
@media (min-width: 1600px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .service-card {
    padding: 2.5rem;
  }
}

/* IE11 support (if needed) */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .gallery-grid {
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
  }
  
  .gallery-item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
  }
} 