/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per requirements */
  .sal-animate {
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section .container-fluid {
    padding: 1rem;
  }
  
  /* Hide decorative shapes on mobile */
  .decorative-shape {
    display: none;
  }
  
  /* Button adjustments */
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Card adjustments */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .card-body {
    padding: 1.2rem;
  }
  
  /* Service cards stack */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Price cards adjustments */
  .price-card.featured {
    transform: none;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Team photo size */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Process steps */
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .process-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    padding-left: 2rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Gallery grid */
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  /* Section padding */
  .section-padding {
    padding: 2.5rem 0;
  }
  
  /* Navbar collapse adjustments */
  .navbar-collapse {
    background: white;
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .gallery-row {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-row {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .container-xxl {
    max-width: 1400px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .navbar-brand,
  .card,
  .btn {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
  
  .card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    animation: none;
  }
  
  .shape-1,
  .shape-2 {
    animation: none;
  }
  
  .card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Dark mode support (if system preference) */

/* Focus visible for accessibility */
@media (any-hover: hover) {
  .btn:focus-visible,
  .form-control:focus-visible,
  .nav-link:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
  }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .navbar-nav {
    flex-direction: row;
    justify-content: center;
  }
  
  .navbar-nav .nav-item {
    margin: 0 0.5rem;
  }
  
  .hero-content {
    text-align: center;
    padding-top: 275px;
}
  
  .timeline-item {
    padding-left: 4rem;
  }
  
  .process-step {
    text-align: center;
  }
  
  .process-number {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Ultra-wide screen adjustments */
@media (min-width: 1600px) {
  .container-xxl {
    max-width: 1600px;
  }
  
  .hero-section {
    padding: 0 2rem;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .gallery-row {
    grid-template-columns: repeat(8, 1fr);
  }
} 
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
