/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-image {
    max-width: 45%;
  }
  
  .services-grid, 
  .team-grid, 
  .blog-grid,
  .price-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero {
    height: auto;
    padding: 100px 0;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .hero-image {
    position: static;
    transform: none;
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image,
  .about-text {
    flex: none;
    width: 100%;
  }
  
  .about-image {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .about-image img {
    max-width: 80%;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .site-logo {
    font-size: var(--font-size-lg);
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: var(--font-size-2xl);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .services-grid, 
  .features-grid, 
  .team-grid, 
  .blog-grid,
  .price-plan-grid,
  .core-info-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    order: 2;
  }
  
  .contact-info {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .page-header {
    height: 30vh;
  }
  
  .page-title {
    font-size: 2rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    width: 100%;
    padding: 0 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-image {
    max-width: 100%;
  }
  
  .section-title h2 {
    font-size: var(--font-size-xl);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .team-member-image {
    height: 250px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .gallery-item {
    height: 150px;
  }
}

/* For animations - respect user preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    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;
  }
} 