/* Mobile First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --section-padding: 2rem 0;
  }

  /* Typography adjustments for mobile */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Hero section mobile */
  #hero {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }

  #hero .container {
    padding: 0 1rem;
  }

  /* Service cards mobile */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .service-price {
    font-size: 1.25rem;
  }

  /* Team cards mobile */
  .team-card {
    padding: 1rem;
  }

  .team-photo {
    width: 120px;
    height: 120px;
  }

  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
  }

  /* Gallery mobile */
  .gallery-item img {
    height: 200px;
  }

  /* Price plan mobile */
  .price-plan-card {
    padding: 1.5rem;
  }

  .price-plan-price {
    font-size: 1.75rem;
  }

  /* Process steps mobile */
  .process-step {
    padding: 1rem 1rem 1rem 2rem;
  }

  .process-number {
    left: -10px;
    width: 25px;
    height: 25px;
    font-size: 0.875rem;
  }

  /* Footer mobile */
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }

  /* Navbar mobile - no custom animations */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }

  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero adjustments */
  #hero {
    min-height: 80vh;
  }

  /* Gallery adjustments */
  .gallery-item img {
    height: 220px;
  }

  /* Service cards */
  .service-card {
    padding: 1.75rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section tablet */
  #hero {
    min-height: 90vh;
  }

  /* Gallery tablet */
  .gallery-item img {
    height: 240px;
  }

  /* Team cards tablet */
  .team-photo {
    width: 140px;
    height: 140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero section desktop */
  #hero {
    min-height: 95vh;
  }

  /* Gallery desktop */
  .gallery-item img {
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Hero section large desktop */
  #hero {
    min-height: 100vh;
  }

  /* Container max-width adjustments */
  .container {
    max-width: 1140px;
  }

  /* Gallery large desktop */
  .gallery-item img {
    height: 280px;
  }

  /* Service cards spacing */
  .service-card {
    margin-bottom: 2.5rem;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 100vh;
    padding: 1rem 0;
  }

  section {
    padding: 2rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .contact-form,
  .blog-card,
  .feature-card,
  .price-plan-card {
    border-width: 3px;
  }

  .btn-primary {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  #header,
  #footer,
  .btn,
  .navbar {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}

  section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }

  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    color: #000;
  }
}

/* Accessibility - Focus indicators */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--accent-terracotta);
    outline-offset: 2px;
  }
}

/* Dark mode support (if needed) */

/* Reduced data usage */
@media (prefers-reduced-data: reduce) {
  /* Disable hover effects to save on repaints */
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .feature-card:hover,
  .price-plan-card:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }
} 

.hero-content {
    padding-top: 100px;
}