/* Convertible City Tours - Responsive Styles */

/* Large Devices (desktops, less than 1200px) */
@media (max-width: 1199px) {
  :root {
    --fs-h1: 2.25rem;
    --fs-h2: 1.875rem;
    --fs-h3: 1.375rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
}

/* Medium Devices (tablets, less than 992px) */
@media (max-width: 991px) {
  :root {
    --fs-h1: 2rem;
    --fs-h2: 1.75rem;
    --fs-h3: 1.25rem;
    --fs-h4: 1.125rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 60px !important;
  }
  
  .service-card,
  .price-card,
  .feature-box {
    margin-bottom: 30px;
  }
  
  .team-member img {
    width: 160px;
    height: 160px;
  }
}

/* Small Devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
  :root {
    --fs-h1: 1.75rem;
    --fs-h2: 1.5rem;
    --fs-h3: 1.125rem;
    --fs-h4: 1rem;
    --fs-body: 0.9375rem;
  }
  
  .navbar-brand {
    font-size: 12px !important;
    font-size: 1.125rem !important;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-section::before {
    animation: none;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper {
    --swiper-navigation-size: 30px;
  }
  
  .swiper-slide {
    transition: none !important;
  }
  
  .about-feature,
  .service-card-body,
  .contact-form {
    padding: 20px;
  }
  
  .process-step::before {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .process-step-content {
    margin-left: 55px;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .feature-box i {
    font-size: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .btn-submit {
    padding: 10px 30px;
    font-size: 1rem;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  :root {
    --fs-h1: 1.5rem;
    --fs-h2: 1.25rem;
    --fs-h3: 1rem;
    --fs-body: 0.875rem;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .section-title h2::after {
    width: 40px;
    height: 2px;
  }
  
  .service-card img,
  .blog-card img {
    height: 200px;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  .timeline::before {
    display: none;
  }
  
  .timeline-content {
    width: 100%;
    margin-left: 0 !important;
  }
  
  .faq-question,
  .faq-answer {
    padding: 12px 15px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .price-card {
    padding: 30px 20px;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .career-card,
  .element-card,
  .review-item {
    padding: 20px;
  }
}

/* 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;
  }
  
  .hero-section::before {
    display: none;
  }
  
  /* Disable Swiper animations */
  .swiper-wrapper {
    transition: none !important;
    transform: none !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .gallery-section,
  .contact-form,
  .btn-submit {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    color: #000;
  }
  
  .section-padding {
    padding: 20px 0;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-1: #FF5722;
    --primary-2: #1976D2;
    --primary-3: #FFC107;
    --primary-4: #00BCD4;
    --primary-5: #673AB7;
  }
  
  body {
    background: #fff;
    color: #000;
  }
  
  .navbar,
  .footer {
    background: #000;
    color: #fff;
  }
  
  .btn-submit {
    background: #000;
    color: #fff;
    border: 2px solid #fff;
  }
}

/* Orientation Change */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 20px 0;
  }
  
  .navbar {
    position: relative;
  }
} 