/* Responsive CSS - Mobile First Approach */
/* Bootstrap 5 Compatible Responsive Styles */

/* Mobile First - Base styles are for mobile */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .navbar-brand {
    font-size: var(--font-size-xl);
  }
  
  h1 {
    font-size: var(--font-size-3xl);
  }
  
  #hero {
    padding: 2rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
  
  #hero {
    min-height: 100vh;
  }
  
  #services .card {
    margin-bottom: 2rem;
  }
  
  #team .team-photo {
    width: 150px;
    height: 150px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .section-padding {
    padding: 7rem 0;
  }
  
  #hero h1 {
    font-size: var(--font-size-3xl);
  }
  
  #services .card {
    height: 400px;
  }
  
  #features .feature-icon {
    width: 80px;
    height: 80px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .section-padding {
    padding: 8rem 0;
  }
}

/* Mobile Specific Styles */
@media (max-width: 767.98px) {
  /* NO ANIMATIONS ON MOBILE - Following the rules */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .navbar-brand {
    font-size: var(--font-size-lg);
  }
  
  h1 {
    font-size: var(--font-size-2xl);
    text-align: center;
  }
  
  h2 {
    font-size: var(--font-size-xl);
    text-align: center;
  }
  
  #hero {
    min-height: 80vh;
    padding: 3rem 0;
    text-align: center;
  }
  
  #hero .row {
    flex-direction: column-reverse;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Services cards stack vertically */
  #services .col-md-4 {
    margin-bottom: 2rem;
  }
  
  #services .card {
    height: auto;
  }
  
  /* Team photos smaller on mobile */
  #team .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* FAQ cards full width */
  #faq .faq-card {
    margin-bottom: 1.5rem;
  }
  
  /* Contact form adjustments */
  #contact .form-control {
    margin-bottom: 1rem;
  }
  
  /* Gallery adjustments */
  #gallery .gallery-item {
    margin-bottom: 1rem;
  }
  
  #gallery .gallery-item img {
    height: 200px;
  }
  
  /* Footer adjustments */
  #footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  #footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  #hero {
    min-height: 90vh;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  #services .card {
    height: 350px;
  }
  
  #team .team-photo {
    width: 130px;
    height: 130px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  #footer,
  .btn,
  .btn-custom {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp rendering on high DPI displays */
  .navbar-brand,
  h1, h2, h3 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .btn-custom:hover {
    transform: none;
  }
  
  #services .card:hover,
  #team .team-card:hover,
  #priceplan .price-card:hover {
    transform: none;
  }
  
  #gallery .gallery-item:hover img {
    transform: none;
  }
} 