/* 3D-Printed Lamp Design Store - Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Conservative navbar-brand for mobile */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Section padding for mobile */
  section {
    padding: 60px 0;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  /* Remove decorative shapes on mobile for performance */
  .hero-section::before {
    display: none;
  }
  
  /* Card adjustments */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .coreinfo-card {
    margin-bottom: 20px;
  }
  
  /* Contact form mobile optimization */
  .contact-form {
    padding: 30px 20px;
  }
  
  .contact-info {
    padding: 30px 20px;
    margin-top: 30px;
  }
  
  /* Process steps mobile layout */
  .process-step {
    margin-bottom: 30px;
  }
  
  /* Price value mobile size */
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Gallery images mobile */
  .gallery-image {
    height: 200px;
  }
  
  /* Blog images mobile */
  .blog-image,
  .service-image {
    height: 180px;
  }
  
  /* Team photo mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* FAQ cards mobile */
  .faq-card {
    padding: 20px;
  }
  
  /* Footer mobile */
  footer {
    padding: 40px 0 20px;
  }
  
  /* NO ANIMATIONS ON MOBILE for performance */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover {
    transform: none;
  }
  
  /* Disable transitions on mobile for performance */
  .feature-card,
  .service-card,
  .price-card,
  .team-card {
    transition: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    font-size: 2.25rem;
  }
  
  section {
    padding: 70px 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .contact-form,
  .contact-info {
    padding: 35px 25px;
  }
  
  .gallery-image {
    height: 220px;
  }
  
  .blog-image,
  .service-image {
    height: 190px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section tablet layout */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Service cards tablet layout */
  .service-card {
    max-width: 350px;
    margin: 0 auto;
  }
  
  /* Price cards tablet layout */
  .price-card {
    max-width: 300px;
    margin: 0 auto;
  }
  
  /* Contact form tablet */
  .contact-form {
    padding: 40px 30px;
  }
  
  .contact-info {
    padding: 40px 30px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Standard desktop layout - minimal adjustments needed */
  .hero-section {
    min-height: 100vh;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Optimal desktop experience */
  .container {
    max-width: 1140px;
  }
  
  /* Enhanced spacing for large screens */
  section {
    padding: 100px 0;
  }
  
  .section-header {
    margin-bottom: 80px;
  }
}

/* Print styles */
@media print {
  .navbar,
  footer,
  .btn,
  .contact-form {
    display: none;
  }
  
  body {
    color: black;
    background: white;
    overflow-x: hidden;
}
  
  .hero-section {
    min-height: auto;
    padding: 20px 0;
  }
  
  section {
    padding: 20px 0;
    break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    border: 2px solid var(--primary-navy);
  }
}

/* Reduced motion preferences - Critical for accessibility */
@media (prefers-reduced-motion: reduce) {
  /* Remove 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 transforms */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover {
    transform: none !important;
  }
  
  /* Remove decorative elements that might animate */
  .hero-section::before {
    display: none !important;
  }
}

/* Focus states for keyboard navigation */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 3px solid var(--primary-coral);
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-navy);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Touch device optimizations */
@media (pointer: coarse) {
  /* Larger touch targets */
  .btn {
    min-height: 44px;
    padding: 12px 24px;
  }
  
  .nav-link {
    padding: 12px 16px;
  }
  
  .form-control {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Landscape phone specific */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 60vh;
  }
  
  section {
    padding: 50px 0;
  }
}


.hero-section h1 {
    padding-top: 275px;
}