/* Responsive Styles */

/* Large screens (desktops) */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .services-grid,
  .price-grid,
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text,
  .about-image {
    width: 100%;
  }
  
  .services-grid,
  .price-grid,
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small screens (landscape phones) */
@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .header {
    padding: 15px 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    flex-direction: column;
    background-color: var(--white);
    padding: 40px 0;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 20px 0;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero {
    min-height: 500px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-features,
  .services-grid,
  .features-grid,
  .price-grid,
  .team-grid,
  .coreinfo-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .service-item,
  .feature-item,
  .price-item,
  .team-member,
  .coreinfo-item,
  .blog-item {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .gallery-item {
    height: 200px;
  }
}

/* Extra small screens (portrait phones) */
@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
  
  section {
    padding: 50px 0;
  }
  
  .hero {
    min-height: 450px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .service-item,
  .feature-item,
  .price-item,
  .team-member,
  .coreinfo-item,
  .blog-item {
    padding: 20px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 0ms !important;
  }
}

/* Mobile device specific adjustments */
@media (max-width: 768px) {
  .animate-fade-up,
  .animate-fade-left,
  .animate-fade-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 0ms !important;
  }
} 