/* Rain Art Template - Responsive CSS */

/* Mobile First Approach */
@media (max-width: 767.98px) {
  /* Mobile Swiper optimizations */
  .swiper-container {
    padding: 1rem 0;
    margin: 0 -15px;
  }
  
  .swiper-slide {
    padding: 0 15px;
  }
  
  .review-card {
    margin: 0.5rem;
    padding: 1.5rem;
    max-width: 100%;
  }
  
  /* Ensure no overflow on mobile */
  body {
    overflow-x: hidden !important;
  }
  
  .reviews-section {
    overflow-x: hidden !important;
  }
  
  .swiper-wrapper {
    overflow-x: hidden !important;
  }
  
  /* Mobile Typography */
  .hero-title {
    font-size: 2rem !important;
  }
  
  .section-title {
    font-size: 1.8rem !important;
  }
  
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  
  /* Mobile Spacing */
  .section {
    padding: 40px 0 !important;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  /* Mobile Cards */
  .service-card,
  .team-card,
  .review-card,
  .feature-card {
    margin-bottom: 1.5rem;
  }
  
  /* Mobile Contact Form */
  .contact-form {
    padding: 2rem;
  }
  
  /* Mobile Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-image {
    height: 200px;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Hover effects only on non-touch devices */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover {
    transform: translateY(-10px);
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: var(--container-max-width);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-container {
    display: none !important;
  }
  
  .section {
    padding: 20px 0 !important;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
} 