/* Responsive Styles - Mobile First Approach */

/* DISABLE ALL ANIMATIONS GLOBALLY */
*, *::before, *::after {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container-sm {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container-md {
    max-width: 720px;
  }
  
  /* Hero adjustments */
  #hero h1 {
    font-size: 2rem;
  }
  
  /* Service cards grid */
  .service-card {
    min-height: 300px;
  }
  
  /* Team photos */
  .team-photo {
    width: 140px;
    height: 140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container-lg {
    max-width: 960px;
  }
  
  /* Hero full layout */
  #hero h1 {
    font-size: 2.56rem;
  }
  
  /* Gallery grid improvements */
  .gallery-item {
    margin-bottom: 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
  
  /* Maximum hero size */
  #hero h1 {
    font-size: 3rem;
  }
  
  /* Service cards optimal height */
  .service-card {
    min-height: 350px;
  }
  
  /* Team photos optimal size */
  .team-photo {
    width: 160px;
    height: 160px;
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
  /* Navigation */
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  /* Hero mobile */
  #hero {
    text-align: center;
    padding: 2rem 0;
  }
  
  #hero .col-lg-6 {
    margin-bottom: 2rem;
  }
  
  /* Cards mobile stacking */
  .card {
    margin-bottom: 1.70rem;
  }
  
  /* Service cards mobile */
  .service-card {
    min-height: auto;
    text-align: center;
  }
  
  /* Price cards mobile */
  .price-card {
    margin-bottom: 1.60rem;
  }
  
  /* Team cards mobile */
  .team-card {
    margin-bottom: 1.74rem;
  }
  
  /* Review cards mobile */
  .review-card {
    margin-bottom: 1.89rem;
  }
  
  /* FAQ mobile */
  .faq-card {
    margin-bottom: 1rem;
  }
  
  /* Gallery mobile */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Footer mobile */
  footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  footer .col-md-4 {
    margin-bottom: 1.88rem;
  }
}

/* Tablet portrait adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  /* Services grid 2 columns */
  .services-grid .col-lg-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  /* Features grid 2 columns */
  .features-grid .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  /* Team grid 2-3 columns */
  .team-grid .col-lg-2 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

/* Print styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .navbar,
  .btn,
  .card-hover,
  #hero::before {
    display: none !important;
  }
  
  .container {
    width: auto !important;
    max-width: none !important;
  }
  
  .card {
    border: 1px solid #c4c4c4 !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  p, div {
    orphans: 3;
    widows: 3;
  }
  
  section {
    page-break-inside: avoid;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --secondary-color: #555555;
    --accent-color: #f0f0f0;
    --text-color: #000000;
    --bg-color: #ffffff;
  }
  
  .card {
    border: 1px solid #000000 !important;
  }
  
  .btn-primary {
    background-color: #000000 !important;
    border-color: #000000 !important;
  }
}

/* Ultra-wide screen adjustments */
@media (min-width: 1920px) {
  .container-xxl {
    max-width: 1600px;
  }
  
  #hero h1 {
    font-size: 3.52rem;
  }
  
  .service-card {
    min-height: 400px;
  }
} 

.hero h1 {
    padding-top: 100px;
}