/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  #hero-title-1 {
    font-size: var(--font-size-2xl);
  }
  
  #hero-subtitle-1 {
    font-size: var(--font-size-lg);
  }
  
  #hero-desc-1 {
    font-size: var(--font-size-base);
  }
  
  .navbar-brand {
    font-size: var(--font-size-lg) !important;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: var(--font-size-xl);
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Disable animations on mobile */
  .service-card:hover,
  .feature-item:hover,
  .price-card:hover,
  .gallery-item:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
  
  .btn-primary:hover {
    transform: none;
  }

  /* Swiper disabled effects on mobile */
  .swiper-slide {
    transition: none !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  #hero-title-1 {
    font-size: calc(var(--font-size-2xl) + 0.2rem);
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .team-member img {
    width: 130px;
    height: 130px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* Re-enable some animations on tablets */
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .feature-item:hover {
    transform: translateY(-3px);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .service-card img {
    height: 200px;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  #hero-title-1 {
    font-size: calc(var(--font-size-3xl) + 0.5rem);
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: calc(var(--font-size-2xl) + 0.25rem);
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  #hero-title-1 {
    font-size: calc(var(--font-size-3xl) + 1rem);
  }
  
  .section-title {
    font-size: calc(var(--font-size-2xl) + 0.5rem);
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-size: cover;
  }
  
  .gallery-item img,
  .service-card img,
  .team-member img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print styles */
@media print {
  .navbar,
  .swiper,
  .contact-form,
  footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-inside: avoid;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
  }
}
