/* Responsive Styles for Rainwater System Installer Template */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero h1 {
    font-size: 2.8rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .section {
    padding: 100px 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
  }
}

/* Mobile Specific Styles (max-width: 767px) */
@media (max-width: 767px) {
  /* NO ANIMATIONS ON MOBILE - Strictly required */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Hero section mobile */
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-shape {
    display: none; /* Hide decorative shapes on mobile */
  }
  
  /* Section spacing */
  .section {
    padding: 60px 0;
  }
  
  /* Cards mobile */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .service-card,
  .testimonial-card,
  .faq-card {
    margin-bottom: 1rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none; /* Remove scale on mobile */
    margin-bottom: 2rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1.5rem 0.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    padding-left: 2rem;
  }
  
  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Blog mobile */
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  /* Navigation mobile - keep Bootstrap 5 default hamburger */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
}

/* Tablet specific adjustments (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero {
    min-height: 80vh;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* High resolution displays */
@media (min-resolution: 192dpi), (-webkit-min-device-pixel-ratio: 2) {
  .gallery-item img,
  .team-photo,
  .card-img-top {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape mobile adjustments */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 60vh;
  }
  
  .section {
    padding: 40px 0;
  }
}

/* Print specific responsive */
@media print {
  .container {
    max-width: none;
    width: 100%;
  }
  
  .row {
    margin: 0;
  }
  
  .col-md-6,
  .col-lg-4,
  .col-xl-3 {
    width: 100%;
    float: none;
  }
}


body {
    overflow-x: hidden;
}

.hero-content {
    padding-top: 100px;
}