/* Eco-Tourism Itinerary Design Studio - Responsive CSS */
/* Mobile-first responsive design following Bootstrap 5 breakpoints */

/* Mobile Devices (up to 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per requirements */
  .service-card:hover,
  .gallery-item:hover img,
  .blog-card:hover,
  .price-card:hover {
    transform: none;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Section padding reduction */
  .section-padding {
    padding: 40px 0;
  }
  
  /* Service cards mobile layout */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  /* Team photo size adjustment */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery grid mobile */
  .gallery-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Process number size adjustment */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Price card mobile */
  .price-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  /* Core info grid mobile */
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1.5rem;
    text-align: center;
  }
  
  /* Form elements mobile */
  .form-control {
    padding: 0.6rem;
  }
  
  .btn-eco-primary {
    padding: 0.6rem 1.5rem;
    width: 100%;
  }
}

/* Small tablets (576px to 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-padding {
    padding: 60px 0;
  }
}

/* Medium devices (768px to 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large devices (992px to 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
  .gallery-row {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-decorative {
    width: 250px;
    height: 250px;
  }
}

/* Landscape mobile orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section-padding {
    padding: 30px 0;
  }
}

/* High density displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gallery-item img,
  .team-photo {
    image-rendering: crisp-edges;
  }
}

/* Dark mode support (system preference) */

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn-eco-primary,
  .hero-decorative {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .service-card,
  .team-card,
  .faq-card {
    border: 1px solid #000;
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .form-control:focus,
  .btn-eco-primary:focus {
    outline: 2px solid var(--eco-earth);
    outline-offset: 2px;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .hero-section {
    background: var(--eco-sand-light);
  }
  
  .service-card,
  .gallery-item img,
  .blog-card,
  .price-card {
    transition: none;
  }
}

/* Container max-width adjustments for very large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Tablet landscape specific adjustments */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
  }
  
  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile menu adjustments (Bootstrap standard only) */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
}

/* Utility responsive classes */
@media (max-width: 575.98px) {
  .d-mobile-none {
    display: none !important;
  }
  
  .text-mobile-center {
    text-align: center !important;
  }
} 

.hero-content {
    padding-top: 125px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
