/* Responsive Design for Local Scavenger Hunts */

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* Desktop */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .services-item,
  .priceplan-item {
    margin-bottom: 1.5rem;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .services-item img,
  .gallery-item img {
    height: 180px;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
  
  /* Disable autoplay and effects for Swiper on tablet */
  .swiper-container {
    --swiper-navigation-size: 30px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  /* Typography adjustments for mobile */
  :root {
    --font-size-h1: 1.8rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.3rem;
    --font-size-h4: 1.1rem;
    --navbar-brand-size: 1.2rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .section-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  /* Header adjustments */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  /* Content adjustments */
  .about-feature,
  .services-item,
  .features-item,
  .priceplan-item,
  .team-member,
  .reviews-item,
  .casestudy-item,
  .process-item,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .services-item img,
  .gallery-item img {
    height: 150px;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .features-item i,
  .coreinfo-item i {
    font-size: 2rem;
  }
  
  /* Contact form adjustments */
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.7rem;
    font-size: 0.95rem;
  }
  
  .contact-form button {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
  }
  
  /* Gallery grid adjustments */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-md-4 {
    margin-bottom: 1.5rem;
  }
  
  /* FAQ adjustments */
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  /* Price adjustments */
  .services-price,
  .priceplan-price {
    font-size: 1.3rem;
  }
  
  /* Button adjustments */
  .btn-gradient {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
  
  /* Space section adjustment */
  .space-section {
    min-height: 50vh;
    padding: 2rem;
  }
  
  /* Disable autoplay and effects for Swiper on mobile */
  .swiper-container {
    --swiper-navigation-size: 25px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }
  
  .swiper-pagination {
    bottom: 10px;
  }
  
  /* Disable autoplay for accessibility on mobile */
  .swiper-container[data-swiper-autoplay] {
    --swiper-autoplay-delay: 0;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  :root {
    --font-size-base: 15px;
    --font-size-h1: 1.6rem;
    --font-size-h2: 1.3rem;
    --font-size-h3: 1.2rem;
    --navbar-brand-size: 1.1rem;
  }
  
  .hero-title {
    font-size: 1.4rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .about-feature,
  .services-item,
  .features-item,
  .priceplan-item,
  .reviews-item,
  .casestudy-item,
  .process-item,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-item {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .services-item img,
  .gallery-item img {
    height: 120px;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .gallery-item img {
    height: 180px;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../VOX_images/hero-bg@2x.webp');
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .contact-section,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none !important;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  a {
    text-decoration: underline;
  }
  
  .services-item,
  .priceplan-item,
  .blog-item {
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
  
  .animate-fade-in-up {
    animation: none;
  }
  
  .services-item:hover,
  .priceplan-item:hover,
  .about-feature:hover,
  .gallery-item:hover,
  .blog-item:hover,
  .casestudy-item:hover,
  .coreinfo-item:hover {
    transform: none;
  }
  
  .contact-form button:hover,
  .btn-gradient:hover {
    transform: none;
  }
}

/* Focus styles for better accessibility */
@media (any-hover: none) {
  .nav-link:focus,
  .btn-gradient:focus,
  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form button:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
  }
} 