/* AR Interior Design App - Responsive Styles */

/* Mobile First Approach - Base styles for mobile */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --section-padding: 2rem 0;
  }
  
  /* Typography adjustments for mobile */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  p {
    font-size: 0.9rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 90vh;
    text-align: center;
  }
  
  .hero-section::before {
    display: none; /* Remove decorative blob on mobile */
  }
  
  /* Service cards mobile */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Price cards mobile */
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Team cards mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Process steps mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    padding: 1.5rem;
  }
  
  /* FAQ mobile */
  .faq-card {
    padding: 1.5rem;
  }
  
  /* Remove hover effects on mobile */
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-study-card:hover,
  .btn-primary:hover {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .service-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  /* Adjust grid for tablets */
  .service-card,
  .feature-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Team section for tablets */
  .team-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Full desktop experience */
  .hero-section::before {
    display: block;
  }
  
  /* Hover effects enabled for desktop */
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .price-card:hover {
    transform: translateY(-10px);
  }
  
  .team-card:hover {
    transform: translateY(-5px);
  }
  
  .case-study-card:hover {
    transform: translateY(-5px);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
  }
  
  .gallery-image:hover {
    transform: scale(1.05);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  /* Enhanced spacing for large screens */
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    margin-bottom: 4rem;
  }
}

/* Ultra-wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

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

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .gallery-section {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .faq-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}

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

/* Dark mode support (if system preference) */

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    display: none;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .case-study-card,
  .btn-primary,
  .gallery-image {
    transition: none;
  }
  
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-study-card:hover,
  .btn-primary:hover,
  .gallery-image:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .faq-card {
    border: 2px solid var(--gray-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-blue);
  }
  
  .form-control {
    border: 2px solid var(--gray-dark);
  }
}

/* Focus management for accessibility */
@media (any-hover: none) {
  .service-card:focus,
  .price-card:focus,
  .team-card:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
  }
}

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