/* ===== 3D PRINTED JEWELRY - RESPONSIVE STYLES ===== */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile as per rules */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-shapes {
    display: none;
  }
  
  #hero {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
    transform: none;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .blog-card img {
    height: 150px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 1.875rem;
  }
  
  .price-card.featured {
    transform: scale(1.03);
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .price-card.featured {
    transform: scale(1.05);
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .section-padding {
    padding: 100px 0;
  }
}

/* Custom Hamburger Menu - Standard Bootstrap 5 Only */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Print Styles */
@media print {
  .navbar,
  #footer,
  .btn,
  .hero-shapes {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000FF;
    --secondary-color: #FF0000;
    --accent-color: #008000;
    --text-color: #000000;
    --neutral-light: #FFFFFF;
    --neutral-dark: #CCCCCC;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .contact-form,
  .price-card,
  .case-card,
  .blog-card {
    border-width: 2px;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .price-card.featured {
    transform: none;
    border-width: 3px;
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.navbar-nav .nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Landscape Phone Specific */
@media (max-height: 500px) and (orientation: landscape) {
  #hero {
    min-height: 100vh;
  }
  
  .section-padding {
    padding: 30px 0;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem;
  }
} 