/* =============================
   RESPONSIVE STYLES
   ============================= */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-blob-1,
  .hero-blob-2 {
    display: none;
  }
  
  h1 {
    font-size: 1.82rem;
  }
  
  h2 {
    font-size: 1.60rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .navbar-brand {
    font-size: 1.13rem !important;
  }
  
  .service-price {
    font-size: 1.32rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-photo {
    width: 90px;
    height: 90px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-blob-1 {
    width: 250px;
    height: 250px;
    top: -125px;
    right: -125px;
  }
  
  .hero-blob-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .container-xxl {
    max-width: 1400px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print styles */
@media print {
  .hero-decorative,
  .navbar,
  .footer,
  .btn,
  .gallery-grid {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #000 !important;
  }
} 

.hero-section h1 {
    padding-top: 275px;
}