/* Responsive Styles - Mobile First Approach */

/* Mobile Small (up to 576px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  *,
  *::before,
  *::after {
    animation: none !important;
    animation-delay: 0ms !important;
    animation-duration: 0ms !important;
    transition: none !important;
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Disable sal.js animations */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Remove animation classes */
  .animate__animated,
  .fade-in,
  .slide-up,
  .slide-right,
  .slide-left,
  .zoom-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 100vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section::before {
    display: none; /* Remove decorative elements on mobile */
  }
  
  .hero-title {
    margin-bottom: 1rem;
    padding-top: 250px;
}
  
  /* Section padding */
  .section {
    padding: 3rem 0;
  }
  
  /* Service cards */
  .service-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  /* Team cards */
  .team-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Cards hover effects disabled */
  .card-custom:hover,
  .service-card:hover,
  .team-card:hover,
  .review-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
  }
}

/* Mobile Medium (576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Disable animations on mobile */
  *,
  *::before,
  *::after {
    animation: none !important;
    animation-delay: 0ms !important;
    animation-duration: 0ms !important;
    transition: none !important;
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Disable sal.js animations */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Remove animation classes */
  .animate__animated,
  .fade-in,
  .slide-up,
  .slide-right,
  .slide-left,
  .zoom-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Cards hover effects disabled */
  .card-custom:hover,
  .service-card:hover,
  .team-card:hover,
  .review-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card,
  .team-card {
    margin-bottom: 2rem;
  }
}

/* Tablet (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section {
    padding: 4rem 0;
  }
}

/* Desktop (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .container {
    max-width: 1200px;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  /* Disable animations in mobile landscape */
  *,
  *::before,
  *::after {
    animation: none !important;
    animation-delay: 0ms !important;
    animation-duration: 0ms !important;
    transition: none !important;
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Disable sal.js animations */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
}

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

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .gallery-grid,
  #space {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black !important;
    background: white !important;
  }
} 