/* Responsive Styles - Mobile First Approach */

/* Mobile Small (320px and up) */
@media (max-width: 576px) {
  /* Disable animations on mobile */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    padding: 1rem 0;
  }
  
  .hero-content {
    padding: 1rem 0;
    text-align: center;
    padding-top: 100px;
}
  
  /* Section padding reduction */
  section {
    padding: 2rem 0;
  }
  
  /* Card adjustments */
  .card {
    margin-bottom: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  /* Service cards stack properly */
  .service-card .card-img-top {
    height: 150px;
  }
  
  /* Team photo size reduction */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process numbers smaller */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Price amount smaller */
  .price-amount {
    font-size: 2rem;
  }
  
  /* Contact form adjustments */
  .contact-info {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Remove decorative shapes on mobile */
  .decorative-shape {
    display: none;
  }
  
  /* Gallery grid single column */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem 0;
  }
  
  /* Button adjustments */
  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  /* Navbar brand smaller */
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  /* Form controls */
  .form-control {
    padding: 0.625rem;
  }
}

/* Mobile Medium (576px and up) */
@media (min-width: 576px) and (max-width: 768px) {
  /* Hero adjustments */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Section spacing */
  section {
    padding: 3rem 0;
  }
  
  /* Gallery grid two columns */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Keep price card scale normal on tablet */
  .price-card.featured {
    transform: none;
  }
}

/* Tablet (768px and up) */
@media (min-width: 768px) and (max-width: 992px) {
  /* Hero adjustments */
  .hero-section {
    min-height: 95vh;
  }
  
  /* Gallery grid three columns */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Service cards two columns */
  .service-row .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* Desktop Small (992px and up) */
@media (min-width: 992px) {
  /* Full hero height */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Enable hover effects */
  .card:hover {
    transform: translateY(-5px);
  }
  
  .gallery-item img:hover {
    transform: scale(1.05);
  }
  
  /* Price card featured scale */
  .price-card.featured {
    transform: scale(1.05);
  }
}

/* Desktop Large (1200px and up) */
@media (min-width: 1200px) {
  /* Container max width adjustments */
  .container {
    max-width: 1140px;
  }
  
  /* Hero content spacing */
  .hero-content {
    padding: 3rem 0;
    padding-top: 100px;
}
  
  /* Section spacing increase */
  section {
    padding: 5rem 0;
  }
  
  /* Gallery grid four columns */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Desktop Extra Large (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Increase decorative shapes */
  .blob-1 {
    width: 400px;
    height: 400px;
  }
  
  .blob-2 {
    width: 300px;
    height: 300px;
  }
}

/* Height-based media queries */
@media (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .gallery-item img:hover {
    transform: none;
  }
  
  .navbar-nav .nav-link:hover {
    color: var(--primary-sage-dark);
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .decorative-shape {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
    page-break-after: avoid;
  }
  
  .card {
    border: 1px solid #bab6b6;
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  section {
    padding: 1.5rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--black);
  }
  
  .btn-primary {
    border: 2px solid var(--black);
  }
  
  .navbar {
    border-bottom: 2px solid var(--black);
  }
}

/* Dark mode preferences */

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
  *:focus {
    outline: 3px solid var(--primary-sage);
    outline-offset: 2px;
  }
  
  .btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(157, 180, 106, 0.50);
  }
} 