/* ================================================== */
/* Responsive Styles - Mobile First Approach         */
/* AR-Enabled Interior Décor Catalog Template       */
/* ================================================== */

/* Mobile Styles (default) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --section-padding: 2rem 0;
  }
  
  /* No animations on mobile to respect reduced motion */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-blob-1,
  .hero-blob-2 {
    display: none;
  }
  
  /* Header adjustments */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content {
    padding: 1rem;
    padding-top: 100px;
}
  
  /* Cards adjustments */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  /* Remove hover effects on mobile */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover {
    transform: none;
  }
  
  /* Contact form mobile */
  .contact-form {
    margin-bottom: 2rem;
  }
  
  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  /* Process steps mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none;
    border-width: 2px;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Team photos mobile */
  .team-photo {
    height: 200px;
    font-size: 3rem;
  }
  
  /* Footer mobile */
  #footer {
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
  }
}

/* Small tablets */
@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content {
    padding: 1.5rem;
    padding-top: 100px;
}
}

/* Medium tablets and small laptops */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Services grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Price plan grid */
  .priceplan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .priceplan-grid .col-md-4:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* Large tablets and small desktops */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Services grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  /* Team grid */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .team-grid .col-md-3:nth-child(4),
  .team-grid .col-md-3:nth-child(5) {
    grid-column: span 1;
  }
}

/* Large desktops */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* Container max width */
  .container {
    max-width: var(--container-max-width);
  }
  
  /* Enhanced hover effects for desktop */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  }
  
  .gallery-item:hover {
    transform: scale(1.08);
  }
}

/* Extra large desktops */
@media (min-width: 1400px) {
  .hero-decorative {
    width: 250px;
    height: 250px;
  }
  
  .service-image {
    height: 220px;
    font-size: 3.5rem;
  }
  
  .team-photo {
    height: 280px;
    font-size: 4.5rem;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 100vh;
  }
  
  .hero-content {
    padding: 1rem;
    padding-top: 100px;
}
  
  :root {
    --section-padding: 3rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #5E4FB3;
    --color-secondary: #E8946F;
    --color-accent: #7BC1C6;
    --color-dark: #000000;
    --color-neutral-light: #FFFFFF;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .blog-card,
  .faq-card {
    border: 2px solid var(--color-dark);
  }
}

/* Print styles */
@media print {
  #header,
  #footer {
    display: none;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .hero-decorative {
    display: none;
  }
  
  section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
}

/* Focus management for keyboard navigation */
@media (any-pointer: coarse) {
  .btn,
  .nav-link,
  .card {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .blog-card,
  .gallery-item {
    transition: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .gallery-item:hover {
    transform: none;
  }
}

/* Dark mode support (if user prefers) */

/* Custom responsive utilities */
.text-responsive {
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
}

.heading-responsive {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* Container responsive padding */
.container-responsive {
  padding-left: clamp(1rem, 5vw, 2rem);
  padding-right: clamp(1rem, 5vw, 2rem);
} 