/* Responsive CSS - Vintage Toy Photography Prints */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 { font-size: 1.5rem !important; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.25rem; }
  
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  /* Remove all animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Section padding adjustments */
  .section {
    padding: 2rem 0;
  }
  
  /* Hero section adjustments */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Card adjustments */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1rem;
  }
  
  /* Service cards stack */
  .service-image {
    height: 8rem;
  }
  
  .service-body {
    padding: 1rem;
    overflow-x: hidden;
}
  
  /* Price cards adjustments */
  .price-value {
    font-size: 1.75rem;
  }
  
  .price-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Team photo size */
  .team-photo {
    width: 6rem;
    height: 6rem;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Footer adjustments */
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Remove animations on small devices */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .price-value {
    font-size: 2rem;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Tablet specific adjustments */
  .hero-decorative {
    width: 6rem;
    height: 6rem;
    top: -1.5rem;
    right: -1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Services grid - 2 columns on tablet */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Features grid - 2 columns on tablet */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Services grid - 3 columns on desktop */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Full desktop layout */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  /* Hero section full height */
  #hero {
    min-height: 100vh;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  #hero {
    min-height: 80vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI/Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize for high-resolution displays */
  .feature-icon,
  .process-number,
  .team-photo {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print styles */
@media print {
  /* Hide non-essential elements for printing */
  #header,
  #footer,
  .btn,
  .navbar,
  .hero-decorative {
    display: none !important;
  }
  
  /* Optimize colors for print */
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  /* Ensure content fits on page */
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  /* Respect user's motion preferences */
  *,
  *::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 */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .gallery-item:hover,
  .btn-primary:hover {
    transform: none !important;
  }
}

/* Dark mode support (optional) */

/* Focus states for keyboard navigation */
@media (any-hover: none) {
  /* Touch devices - remove hover effects */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .gallery-item:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
}

/* Container max-widths for different breakpoints */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
} 

.hero-content {
    padding-top: 175px;
}