/* Responsive Design - Drone Delivery Service */

/* Mobile First Approach */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.20rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .navbar-brand {
    font-size: 1.31rem;
  }
  
  .card-img-top {
    height: 180px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.61rem;
  }
  
  .section-title {
    font-size: 2.32rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .service-card {
    padding: 1.75rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.89rem;
  }
  
  .section-title {
    font-size: 2.45rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 0.75rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.28rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Height-based media queries for hero section */
@media (max-height: 600px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-title {
    font-size: 2.53rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .card,
  .service-card,
  .btn-primary,
  .gallery-item img {
    transition: none;
  }
  
  .card:hover,
  .service-card:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .contact-form,
  .footer {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .card,
  .service-card {
    box-shadow: none;
    border: 1px solid #d7cccd;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .hero-title,
  .section-title {
    font-size: 18pt;
  }
}



/* High contrast mode */
@media (prefers-contrast: high) {
  .card,
  .service-card,
  .contact-form {
    border: 2px solid var(--neutral-dark-gray);
  }
  
  .btn-primary {
    border: 2px solid white;
  }
}

/* Focus improvements for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 3px solid var(--primary-light-blue);
    outline-offset: 2px;
  }
}

/* Landscape orientation specific styles */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
} 