/* Responsive Styles for Vintage Furniture Restoration Studio */

/* Mobile First Approach */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    padding: 0 2rem;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) {
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
  
  .service-card {
    min-height: 350px;
  }
  
  .price-card {
    min-height: 400px;
  }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item {
    margin-bottom: 1.5rem;
  }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) {
  .contact-form {
    padding: 2.5rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
    padding-top: 100px;
}
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile for better performance */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 70vh;
    padding: 1rem 0;
  }
  
  .hero-section::before {
    display: none;
  }
  
  /* Sections */
  .section {
    padding: 3rem 0;
  }
  
  /* Cards */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .casestudy-card,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem 1rem;
    margin: 0 1rem;
  }
  
  /* Team Photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Navbar Mobile */
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    margin: 0.25rem 0;
  }
  
  /* Price Cards Mobile */
  .price-featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  /* Process Steps Mobile */
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Timeline Mobile */
  .timeline-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
}

/* Very Small Devices (up to 374px) */
@media (max-width: 374.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem 0.75rem;
    margin: 0 0.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
}

/* Landscape Mobile Devices */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .navbar,
  .footer,
  .contact-form,
  .btn {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .team-photo,
  .gallery-item img {
    max-width: 150px;
    height: auto;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    transform: scale(0.5);
    transform-origin: top left;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  .team-card:hover,
  .casestudy-card:hover,
  .career-card:hover,
  .gallery-item:hover,
  .blog-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .btn-primary:hover {
    transform: none;
  }
}

/* Dark Mode Support */