/* Responsive Styles for Custom Wall-Art Printing Template */

/* Mobile First Approach */
@media (max-width: 575.98px) {
  /* Extra small devices */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
  
  .review-card {
    margin-bottom: 2rem;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-item {
    height: 200px;
  }
}

/* Small devices */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item {
    height: 220px;
  }
}

/* Medium devices */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item {
    height: 240px;
  }
}

/* Large devices */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

/* Extra large devices */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 4rem;
  }
}

/* Tablet Portrait */
@media (orientation: portrait) and (max-width: 768px) {
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }
  
  #hero {
    min-height: 70vh;
  }
  
  .hero-content {
    text-align: center;
    padding-top: 150px;
}
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Tablet Landscape */
@media (orientation: landscape) and (max-width: 1024px) {
  #hero {
    min-height: 80vh;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-image,
  .blog-image,
  .case-study-image,
  .gallery-item,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print Styles */
@media print {
  .navbar,
  #footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1 {
    font-size: 18pt;
  }
  
  h2 {
    font-size: 16pt;
  }
  
  h3 {
    font-size: 14pt;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* Accessibility Improvements */
@media (prefers-contrast: high) {
  .feature-card,
  .service-card,
  .price-card,
  .team-member,
  .review-card,
  .case-study-card,
  .timeline-item,
  .career-card,
  .coreinfo-item,
  .contact-form,
  .blog-card,
  .faq-card {
    border: 2px solid var(--text-charcoal);
  }
}

/* Focus Improvements */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 3px solid var(--secondary-coral);
  outline-offset: 2px;
}

/* Hover States for Touch Devices */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .nav-link:hover {
    background-color: var(--neutral-cream-dark);
  }
}

/* Landscape Phone Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  #hero {
    min-height: 100vh;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
} 