/* AI Property Valuation Tool - Responsive CSS */
/* Mobile-First Responsive Design - NO animations on mobile */

/* Mobile First - Base Styles */
@media (max-width: 575.98px) {
  /* NO ANIMATIONS ON MOBILE */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Conservative mobile typography */
  h1, .h1 { font-size: 1.5rem; }
  h2, .h2 { font-size: 1.375rem; }
  h3, .h3 { font-size: 1.25rem; }
  h4, .h4 { font-size: 1.125rem; }
  h5, .h5 { font-size: 1rem; }
  h6, .h6 { font-size: 0.875rem; }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  /* Section padding adjustments */
  .section {
    padding: 2rem 0;
  }
  
  /* Hero adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  /* Cards and containers */
  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery grid adjustments */
  .gallery-item img {
    height: 200px;
  }
  
  /* Process numbers smaller */
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
  
  /* Price plan cards */
  .price-plan-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .price-plan-price {
    font-size: 1.5rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1, .h1 { font-size: 1.625rem; }
  h2, .h2 { font-size: 1.5rem; }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero shapes at reduced opacity */
  .hero-shape-1,
  .hero-shape-2 {
    opacity: 0.2;
  }
  
  /* Adjust grid layouts */
  .team-photo {
    width: 110px;
    height: 110px;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Full hero shapes */
  .hero-shape-1,
  .hero-shape-2 {
    opacity: 0.3;
  }
  
  /* Optimal spacing for larger screens */
  .section {
    padding: 5rem 0;
  }
  
  /* Enhanced hover effects for desktop */
  .service-card:hover,
  .team-card:hover,
  .case-study-card:hover {
    transform: translateY(-3px);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  /* Larger decorative shapes */
  .hero-shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-shape-2 {
    width: 200px;
    height: 200px;
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure images remain crisp */
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero-shape-1,
  .hero-shape-2 {
    display: none !important;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
  }
}

/* Reduced motion preferences - Critical */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dark mode considerations */

/* High contrast mode */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    border-width: 2px;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
} 

.hero-section h1 {
    padding-top: 150px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
