/* Travel Itinerary Generator - Responsive Styles */

/* Mobile First Approach */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Conservative mobile typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Hero section mobile adjustments */
  .hero {
    min-height: 100vh;
    text-align: center;
  }
  
  .hero-decorative-shape {
    display: none; /* Remove decorative elements on mobile */
  }
  
  /* Sections padding */
  .section {
    padding: 40px 0;
  }
  
  /* Service cards mobile stack */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Price cards mobile adjustment */
  .price-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .process-number {
    left: 1.5rem;
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    margin-left: 2rem;
    padding: 1.5rem;
  }
  
  .timeline-item::before {
    left: -2rem;
    width: 12px;
    height: 12px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Gallery mobile - single column */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Blog cards mobile */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-card img {
    height: 180px;
  }
  
  /* FAQ mobile */
  .faq-card {
    padding: 1.25rem;
  }
  
  /* Core info mobile */
  .core-info-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Career items mobile */
  .career-item {
    padding: 1.5rem;
  }
  
  /* Case study mobile */
  .casestudy-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Remove animations on mobile */
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero {
    text-align: center;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .blog-card img {
    height: 190px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-decorative-shape:nth-child(1) {
    width: 150px;
    height: 150px;
  }
  
  .hero-decorative-shape:nth-child(2) {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .gallery-item img {
    height: 230px;
  }
  
  .blog-card img {
    height: 190px;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .section {
    padding: 70px 0;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  .blog-card img {
    height: 200px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .blog-card img {
    height: 200px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Crisp text rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Print Styles */
@media print {
  .hero-decorative-shape,
  .gallery,
  .navbar,
  .footer {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  a {
    text-decoration: underline;
  }
  
  .service-card,
  .price-card,
  .review-card,
  .blog-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

.hero h1 {
    padding-top: 200px;
}