/* AR-enabled Interior Décor Catalog - Responsive Styles */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography Adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  /* Hero Section */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-shape {
    display: none;
  }
  
  /* Section Padding */
  .section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  /* Cards Spacing */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  /* Service Cards */
  .service-image {
    height: 150px;
  }
  
  /* Team Images */
  .team-image {
    height: 200px;
  }
  
  /* Gallery Items */
  .gallery-item {
    height: 200px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Timeline Adjustments */
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  /* Process Steps */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Footer */
  #footer {
    text-align: center;
  }
  
  .footer-link {
    display: block;
    margin: 0.5rem 0;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero Section */
  #hero {
    min-height: 85vh;
  }
  
  /* Cards */
  .service-image,
  .blog-image {
    height: 180px;
  }
  
  .team-image {
    height: 220px;
  }
  
  .gallery-item {
    height: 220px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero Section */
  #hero {
    min-height: 90vh;
  }
  
  /* Typography */
  h1 {
    font-size: 2.25rem;
  }
  
  /* Cards */
  .service-image,
  .blog-image {
    height: 190px;
  }
  
  .team-image {
    height: 230px;
  }
  
  .gallery-item {
    height: 230px;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 2.5rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero Section */
  #hero {
    min-height: 95vh;
  }
  
  /* Cards */
  .service-image,
  .blog-image {
    height: 200px;
  }
  
  .team-image {
    height: 240px;
  }
  
  .gallery-item {
    height: 240px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Hero Section maintains full height */
  #hero {
    min-height: 100vh;
  }
  
  /* Maintain standard image heights */
  .service-image,
  .blog-image {
    height: 200px;
  }
  
  .team-image {
    height: 250px;
  }
  
  .gallery-item {
    height: 250px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp rendering on high-DPI screens */
  .hero-shape {
    transform: translateZ(0);
  }
  
  .feature-card,
  .service-card,
  .team-card {
    transform: translateZ(0);
  }
}

/* Print Styles */
@media print {
  /* Hide non-essential elements */
  #header,
  #footer,
  .btn,
  .hero-shape {
    display: none !important;
  }
  
  /* Adjust colors for print */
  * {
    background: white !important;
    color: black !important;
  }
  
  /* Ensure proper page breaks */
  .section {
    page-break-inside: avoid;
  }
  
  /* Remove shadows and transitions */
  * {
    box-shadow: none !important;
    text-shadow: none !important;
    transition: none !important;
  }
}

/* Dark Mode Support (if user prefers) */

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  /* Disable all animations and transitions */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove hover effects for reduced motion users */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .price-card:hover {
    transform: none;
    border-color: var(--cream-dark);
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  /* Enhance contrast for accessibility */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    border: 2px solid var(--text-primary);
  }
  
  .navbar-nav .nav-link {
    font-weight: 600;
  }
  
  .btn-primary {
    border-width: 2px;
  }
}

/* Focus Management */
@media (any-hover: none) {
  /* Touch devices - remove hover effects */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .case-card:hover,
  .career-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
}

/* Orientation Changes */
@media (orientation: landscape) and (max-height: 500px) {
  /* Reduce hero height on landscape mobile */
  #hero {
    min-height: 70vh;
  }
  
  /* Reduce section padding */
  .section {
    padding: 2rem 0;
  }
}


body {
    overflow-x: hidden;
}