/* ===== RESPONSIVE STYLES - MOBILE FIRST ===== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-content h1 {
    font-size: 2.64rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .service-card,
  .feature-card,
  .team-card {
    margin-bottom: 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  section {
    padding: 5rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-content h1 {
    font-size: var(--h1-size);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .navbar-nav .nav-link {
    margin: 0 0.5rem;
  }
  
  .contact-form {
    padding: 4rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  section {
    padding: 6rem 0;
  }
}

/* Mobile-specific styles */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.28rem;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.35rem;
  }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .gallery-section {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .service-card,
  .feature-card,
  .team-card {
    page-break-inside: avoid;
  }
} 