/* Responsive styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
  
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    width: 100%;
  }
  
  .services-grid, 
  .price-plan-grid, 
  .team-grid, 
  .core-info-grid, 
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .contact-info, .contact-form-container {
    width: 100%;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .container {
    max-width: 720px;
  }
  
  header .container {
    padding: 1rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 1.5rem 0;
    width: 100%;
    text-align: center;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero {
    min-height: 500px;
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-heading h2 {
    font-size: 2rem;
  }
  
  .feature-card, 
  .service-card, 
  .price-plan-card, 
  .team-member, 
  .review-card, 
  .core-info-item, 
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .services-grid, 
  .features-grid, 
  .price-plan-grid, 
  .team-grid, 
  .core-info-grid, 
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-column {
    width: 100%;
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  html {
    font-size: 13px;
  }
  
  .container {
    max-width: 540px;
    padding: 0 1rem;
  }
  
  h1, .hero-content h1 {
    font-size: 2rem;
  }
  
  h2, .section-heading h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero {
    min-height: 450px;
  }
  
  .btn {
    padding: 0.7rem 1.2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .gallery-item {
    height: 180px;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  html {
    font-size: 12px;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 200px;
  }
}

/* Prefers 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: 999999999s;
  }
} 