/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  :root {
    --fs-xxl: 3rem;
    --fs-xl: 2.25rem;
    --fs-lg: 1.5rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .about-content {
    gap: 3rem;
  }
  
  .hero-section {
    min-height: 550px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  :root {
    --fs-xxl: 2.75rem;
    --fs-xl: 2rem;
    --fs-lg: 1.4rem;
  }
  
  section {
    padding: 3.5rem 0;
  }
  
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .about-image {
    order: -1;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .hero-image {
    width: 40%;
    height: 80%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  :root {
    --fs-xxl: 2.5rem;
    --fs-xl: 1.75rem;
    --fs-lg: 1.3rem;
    --fs-md: 1.15rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .header-container {
    padding: 0.8rem 1.5rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 999;
    padding: 2rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 1.5rem 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-section {
    min-height: auto;
    height: auto;
    padding: 8rem 0 4rem;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 2rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Disable animations for better performance on mobile */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-member:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .service-card:hover .service-image img,
  .team-member:hover .team-image img,
  .blog-card:hover .blog-image img {
    transform: none;
  }
  
  /* Disable autoplay for sliders on mobile */
  .swiper-container {
    --swiper-autoplay: false;
  }
  
  /* Skip animations if user prefers reduced motion */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
    
    .floating {
      animation: none;
    }
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --fs-xxl: 2.25rem;
    --fs-xl: 1.5rem;
    --fs-lg: 1.25rem;
    --fs-md: 1.1rem;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .services-grid,
  .team-grid,
  .price-plans,
  .blog-grid,
  .core-info-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .team-image {
    height: 250px;
  }
} 