/* ======================================
   RESPONSIVE STYLES - MOBILE FIRST
   ====================================== */

/* ======================================
   MOBILE FIRST (default styles)
   ====================================== */

/* Base mobile styles are defined in main.css */

/* ======================================
   SMALL MOBILE (320px - 575px)
   ====================================== */
@media (max-width: 575.98px) {
  :root {
    --font-size-h1: 1.875rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --section-padding: 3rem 0;
    --section-padding-sm: 2rem 0;
  }
  
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2.02rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.21rem;
    margin-bottom: 1rem;
  }
  
  .section-title {
    font-size: 1.56rem;
    margin-bottom: 0.93rem;
  }
  
  .section-subtitle {
    font-size: 1.24rem;
    margin-bottom: 1rem;
  }
  
  .section-description {
    margin-bottom: 2rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.69rem;
  }
  
  .service-card img {
    height: 150px;
    margin-bottom: 1rem;
  }
  
  .team-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .team-card img {
    width: 100px;
    height: 100px;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    margin-bottom: 1.63rem;
  }
  
  .faq-card {
    padding: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
}

/* ======================================
   SMALL TABLETS (576px - 767px)
   ====================================== */
@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.625rem;
    --font-size-h3: 1.375rem;
    --section-padding: 4rem 0;
    --section-padding-sm: 2.5rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 5rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.38rem;
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-card {
    padding: 1.75rem;
  }
  
  .team-card img {
    width: 110px;
    height: 110px;
  }
}

/* ======================================
   TABLETS (768px - 991px)
   ====================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --font-size-h1: 2.125rem;
    --font-size-h2: 1.75rem;
    --font-size-h3: 1.375rem;
    --section-padding: 4.5rem 0;
    --section-padding-sm: 3rem 0;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-title {
    font-size: 2.13rem;
  }
  
  .hero-subtitle {
    font-size: 1.48rem;
  }
  
  .service-card img {
    height: 200px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .team-card img {
    width: 115px;
    height: 115px;
  }
  
  .navbar-collapse {
    justify-content: flex-end;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* ======================================
   SMALL DESKTOPS (992px - 1199px)
   ====================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  :root {
    --font-size-h1: 2.25rem;
    --font-size-h2: 1.875rem;
    --font-size-h3: 1.5rem;
    --section-padding: 5rem 0;
    --section-padding-sm: 3.5rem 0;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 2.29rem;
  }
  
  .hero-subtitle {
    font-size: 1.58rem;
  }
  
  .service-card img {
    height: 220px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
  
  .faq-card {
    padding: 1.5rem;
  }
}

/* ======================================
   LARGE DESKTOPS (1200px+)
   ====================================== */
@media (min-width: 1200px) {
  :root {
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.625rem;
    --section-padding: 6rem 0;
    --section-padding-sm: 4rem 0;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 2.55rem;
  }
  
  .hero-subtitle {
    font-size: 1.72rem;
  }
  
  .service-card img {
    height: 240px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .team-card img {
    width: 130px;
    height: 130px;
  }
  
  .section-description {
    max-width: 700px;
  }
  
  .testimonial-card {
    padding: 2.5rem;
  }
  
  .faq-card {
    padding: 2rem;
  }
}

/* ======================================
   EXTRA LARGE DESKTOPS (1400px+)
   ====================================== */
@media (min-width: 1400px) {
  :root {
    --font-size-h1: 2.75rem;
    --font-size-h2: 2.25rem;
    --font-size-h3: 1.75rem;
    --section-padding: 7rem 0;
    --section-padding-sm: 4.5rem 0;
  }
  
  .hero-title {
    font-size: 2.77rem;
  }
  
  .hero-subtitle {
    font-size: 1.81rem;
  }
  
  .service-card img {
    height: 260px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .team-card img {
    width: 140px;
    height: 140px;
  }
  
  .section-description {
    max-width: 800px;
  }
  
  .container {
    max-width: 1320px;
  }
}

/* ======================================
   LANDSCAPE MOBILE ORIENTATION
   ====================================== */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 1.81rem;
  }
  
  .hero-subtitle {
    font-size: 1.27rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-sm {
    padding: 2rem 0;
  }
}

/* ======================================
   HIGH DPI DISPLAYS
   ====================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-size: 50% 50%;
  }
}

/* ======================================
   PRINT STYLES
   ====================================== */
@media print {
  .hero-section::before,
  .navbar,
  .footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: white;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .service-card,
  .team-card,
  .testimonial-card,
  .faq-card {
    box-shadow: none;
    border: 1px solid #c6c6c5;
    break-inside: avoid;
  }
  
  .gallery-grid {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
  h4 { font-size: 12pt; }
  h5 { font-size: 11pt; }
  h6 { font-size: 10pt; }
}

/* ======================================
   ACCESSIBILITY IMPROVEMENTS
   ====================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    animation: none;
  }
  
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .fade-in,
  .slide-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ======================================
   DARK MODE SUPPORT
   ====================================== */

.hero-content {
    padding-top: 200px;
}