/* Responsive CSS - Mobile Optimizations */

/* Mobile First Approach - No animations on mobile as per requirements */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  
  /* NO ANIMATIONS ON MOBILE - Respect requirements */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Typography adjustments for mobile */
  h1 {
    font-size: 1.875rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-shape {
    display: none; /* Hide decorative shapes on mobile */
  }
  
  /* Section padding adjustments */
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-small-padding {
    padding: 2rem 0;
  }
  
  /* Card adjustments */
  .custom-card {
    margin-bottom: 1.5rem;
  }
  
  .custom-card:hover {
    transform: none; /* No hover effects on mobile */
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none; /* No scale transform on mobile */
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-item:hover img {
    transform: none; /* No hover effects on mobile */
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Button adjustments */
  .btn-primary-custom,
  .btn-outline-custom {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .btn-primary-custom:hover,
  .btn-outline-custom:hover {
    transform: none; /* No hover effects on mobile */
  }
  
  /* Process items mobile */
  .process-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
}

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

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-section {
    min-height: 90vh;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  
  .hero-section {
    min-height: 100vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Navigation responsive fixes */
@media (max-width: 991.98px) {
  
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.98);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* High contrast adjustments for better accessibility */
@media (prefers-contrast: high) {
  
  .custom-card {
    border: 2px solid var(--text-primary);
  }
  
  .btn-primary-custom {
    border: 2px solid var(--dark-sage);
  }
  
  .form-control {
    border: 2px solid var(--text-primary);
  }
  
  .navbar {
    border-bottom: 2px solid var(--text-primary);
  }
}

/* Print styles */
@media print {
  
  .navbar,
  .hero-shape,
  .btn-primary-custom,
  .btn-outline-custom {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .custom-card {
    box-shadow: none;
    border: 1px solid #000;
    page-break-inside: avoid;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  
  .hero-section {
    min-height: 50vh;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  
  .custom-card:hover,
  .btn-primary-custom:hover,
  .btn-outline-custom:hover,
  .gallery-item:hover img {
    transform: none;
    box-shadow: inherit;
  }
  
  /* Larger touch targets */
  .navbar-nav .nav-link {
    padding: 1rem 0.75rem;
    min-height: 44px;
  }
  
  .btn-primary-custom,
  .btn-outline-custom {
    padding: 1rem 2rem;
    min-height: 44px;
  }
}

/* Focus styles for keyboard navigation */
.navbar-nav .nav-link:focus,
.btn-primary-custom:focus,
.btn-outline-custom:focus,
.form-control:focus {
  outline: 2px solid var(--primary-sage);
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-sage);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Reduced data usage for slow connections */
@media (prefers-reduced-data: reduce) {
  
  .hero-shape,
  .gallery-item img {
    display: none;
  }
  
  .custom-card {
    box-shadow: none;
    border: 1px solid var(--border-color);
  }
}


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