/* Responsive Breakpoints Following Bootstrap 5 */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    padding: 0 2rem;
  }
  
  .section-padding {
    padding: 100px 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .team-image {
    width: 120px;
    height: 120px;
  }
  
  .price-card.featured {
    transform: none;
    margin: 1rem 0;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .team-image {
    width: 100px;
    height: 100px;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1rem;
  }
  
  p {
    font-size: 0.9rem;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 30px 0;
  }
  
  .btn-primary,
  .btn-outline-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 10px 12px;
  }
  
  .feature-icon {
    font-size: 1.75rem;
  }
  
  .team-image {
    width: 80px;
    height: 80px;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  .price-badge {
    font-size: 0.75rem;
    padding: 3px 15px;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .footer {
    padding: 1.5rem 0 1rem;
  }
  
  .footer .col-md-3 {
    margin-bottom: 1.5rem;
  }
}

/* Mobile-specific: No animations on scroll for mobile devices */
@media (max-width: 768px) {
  /* Disable all sal.js animations on mobile */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Remove hover effects on mobile */
  .card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover,
  .btn-outline-primary:hover {
    transform: none;
  }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
  
  .navbar-nav {
    max-height: 60vh;
    overflow-y: auto;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: none !important;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  .section-padding {
    padding: 20px 0;
  }
  
  .card {
    border: 1px solid #c9c9c9 !important;
    box-shadow: none !important;
  }
  
  * {
    color: #000 !important;
    background: transparent !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--charcoal) !important;
  }
  
  .btn-primary {
    border: 2px solid var(--charcoal) !important;
  }
  
  .form-control {
    border: 2px solid var(--charcoal) !important;
  }
}

/* Focus management for accessibility */
@media (max-width: 768px) {
  .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(59, 220, 145, 0.50);
  }
  
  .form-control:focus {
    outline: 3px solid rgba(49, 191, 121, 0.50);
    outline-offset: 2px;
  }
  
  .btn:focus {
    outline: 3px solid rgba(49, 189, 80, 0.50);
    outline-offset: 2px;
  }
} 

.hero-content {
    padding-top: 250px;
}