/* Responsive CSS - Mobile First Approach */

/* ===== MOBILE STYLES (default, 320px+) ===== */

/* Hero adjustments for mobile */
.hero-section h1 {
  font-size: 2rem;
}

.hero-section p {
  font-size: 1rem;
}

/* Services grid mobile */
.services-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Team grid mobile */
.team-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Feature grid mobile */
.feature-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Price plan mobile */
.priceplan-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Blog grid mobile */
.blog-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Gallery mobile */
.gallery-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.gallery-item {
  height: 150px;
}

/* Disable autoplay and effects on mobile for Swiper */
@media (max-width: 767.98px) {
  .swiper-autoplay {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-effect-fade,
  .swiper-effect-cube,
  .swiper-effect-coverflow,
  .swiper-effect-flip {
    --swiper-effect: none;
  }
}

/* ===== TABLET STYLES (576px+) ===== */
@media (min-width: 576px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section p {
    font-size: 1.125rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-item {
    height: 200px;
  }
}

/* ===== MEDIUM SCREENS (768px+) ===== */
@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-section p {
    font-size: 1.25rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .priceplan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gallery-item {
    height: 220px;
  }
  
  /* Navigation adjustments */
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
}

/* ===== LARGE SCREENS (992px+) ===== */
@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .priceplan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .gallery-item {
    height: 250px;
  }
  
  /* Section padding increase */
  .section {
    padding: 6rem 0;
  }
}

/* ===== EXTRA LARGE SCREENS (1200px+) ===== */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ===== ULTRA WIDE SCREENS (1400px+) ===== */
@media (min-width: 1400px) {
  .hero-section h1 {
    font-size: 4rem;
  }
  
  .section {
    padding: 7rem 0;
  }
}

/* ===== HIGH DPI / RETINA DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section {
    background-attachment: scroll;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
}

/* ===== REDUCED MOTION QUERIES ===== */
@media (prefers-reduced-motion: reduce) {
  .hero-decorative {
    animation: none;
  }
  
  .swiper-slide {
    transition: none;
  }
  
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
} 