/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-decoration {
    display: none;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    height: 200px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  /* No animations on mobile for better performance */
  .service-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary-custom:hover {
    transform: none;
  }
}

/* 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;
  }
  
  .team-photo {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-decoration {
    width: 250px;
    height: 250px;
  }
  
  .hero-decoration.top-right {
    right: -125px;
  }
  
  .hero-decoration.bottom-left {
    left: -125px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Ultra wide screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-decoration {
    width: 350px;
    height: 350px;
  }
  
  .hero-decoration.top-right {
    right: -175px;
  }
  
  .hero-decoration.bottom-left {
    left: -175px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer-section,
  .hero-decoration {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .service-card,
  .team-card,
  .review-card {
    border: 1px solid #d2c1c2;
    box-shadow: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-sage: #253c09;
    --primary-cream: #ffffff;
    --primary-terracotta: #8e520f;
    --primary-forest: #000000;
    --primary-blush: #f0f0f0;
  }
  
  .form-control {
    border-width: 3px;
  }
  
  .service-card,
  .team-card,
  .review-card {
    border: 2px solid #000;
  }
}

/* Dark mode support */

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hero-decoration {
    display: none;
  }
  
  .service-card,
  .gallery-item img,
  .btn-primary-custom {
    transition: none;
  }
  
  .service-card:hover,
  .gallery-item:hover img,
  .btn-primary-custom:hover {
    transform: none;
  }
} 

.hero-section h1 {
    padding-top: 200px;
}