/* Responsive Design Enhancements */

/* Large screens (desktops) */
@media (min-width: 1200px) {
  .container-fluid {
    max-width: 1400px;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.54rem;
  }
}

/* Medium screens (tablets) */
@media (max-width: 991.98px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-content {
  padding-top: 50px !important;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-image {
    margin-top: 0;
  }
  
  .hero-image img {
    height: 300px;
  }
  
  .navbar-nav {
    background: var(--white);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 10px 15px var(--shadow);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--primary-cream);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .service-card, .team-card, .feature-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Small screens (mobile phones) */
@media (max-width: 767.98px) {
  body {
    font-size: 14px;
  }
  
  h1 { font-size: 1.84rem; }
  h2 { font-size: 1.54rem; }
  h3 { font-size: 1.40rem; }
  h4 { font-size: 1.16rem; }
  
  .navbar-brand {
    font-size: 1.20rem;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 60vh;
    padding: 1rem 0;
  }
  
  .hero-image img {
    height: 250px;
  }
  
  .feature-card, .service-card, .team-card {
    padding: 1.5rem;
    margin-bottom: 1.64rem;
  }
  
  .feature-card i {
    font-size: 2.60rem;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.32rem;
  }
  
  .process-step {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .review-card {
    margin: 0.5rem;
    padding: 1.5rem;
  }
  
  .faq-question, .faq-answer {
    padding: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
}

/* Extra small screens */
@media (max-width: 575.98px) {
  .container, .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 50vh;
  }
  
  .hero-image img {
    height: 200px;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .feature-card, .service-card, .team-card {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
    margin: 0.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .review-card {
    margin: 0.25rem;
    padding: 1rem;
  }
  
  .price-tag {
    padding: 0.4rem 0.8rem;
    font-size: 0.99rem;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-content h1 {
  padding-top: 50px !important; {
    font-size: 1.55rem;
    margin-bottom: 0.62rem;
  }
  
  .hero-content p {
    font-size: 1.02rem;
    margin-bottom: 1rem;
  }
  
  .hero-image img {
    height: 200px;
  }
}

/* Print styles */
@media print {
  .navbar, .footer, .contact-form {
    display: none !important;
  }
  
  .hero-section, .about-section, .services-section {
    page-break-inside: avoid;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-image img {
    height: 200px;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-section::before {
    display: none;
  }
  
  .service-card, .team-card, .feature-card, .review-card {
    border: 2px solid var(--text-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--text-dark);
  }
}

/* Reduced transparency for better readability */
@media (prefers-reduced-transparency: reduce) {
  .hero-section::before {
    opacity: 0.05;
  }
  
  .navbar {
    backdrop-filter: none;
  }
}

/* Focus and accessibility improvements */
@media (any-hover: none) {
  .service-card:hover,
  .team-card:hover,
  .feature-card:hover,
  .gallery-item img:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
} 