/* Mobile First Responsive Design */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: var(--font-size-2xl);
  }
  
  .hero-content .subtitle {
    font-size: var(--font-size-base);
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .navbar-brand {
    font-size: var(--font-size-lg) !important;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .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: 80vh;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: var(--font-size-4xl);
  }
  
  .service-card img {
    height: 200px;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
  
  .hero-content h1 {
    font-size: calc(var(--font-size-4xl) + 0.25rem);
  }
}

/* Swiper Slider Responsive Settings */
@media (max-width: 767.98px) {
  .swiper-container {
    --swiper-navigation-size: 25px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .swiper-pagination {
    bottom: 10px;
  }
}

@media (min-width: 768px) {
  .swiper-container {
    --swiper-navigation-size: 35px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: flex;
  }
}

/* Disable animations on mobile for performance */
@media (max-width: 767.98px) {
  .service-card:hover,
  .team-member:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Navigation responsive behavior */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--primary-cream);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Footer responsive */
@media (max-width: 767.98px) {
  .footer {
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* Gallery responsive grid */
@media (max-width: 575.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item img {
    height: 220px;
  }
}

/* Contact form responsive */
@media (max-width: 575.98px) {
  .contact-section .row {
    flex-direction: column;
  }
  
  .contact-form {
    margin-bottom: 2rem;
  }
}

/* Price cards responsive */
@media (max-width: 767.98px) {
  .service-price {
    font-size: var(--font-size-lg);
  }
}

/* Accordion/FAQ responsive */
@media (max-width: 575.98px) {
  .accordion-button {
    font-size: var(--font-size-sm);
    padding: 0.75rem;
  }
  
  .accordion-body {
  overflow-x: hidden;
    padding: 0.75rem;
    font-size: var(--font-size-sm);
  }
}

/* Review cards responsive */
@media (max-width: 767.98px) {
  .review-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
}

/* Feature items responsive */
@media (max-width: 575.98px) {
  .feature-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
} 