/* Responsive Styles for Remote Hardware Prototyping Lab Rentals */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  /* Conservative typography for mobile */
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none; /* Remove decorative elements on mobile */
  }
  
  /* Section padding */
  .section-padding {
    padding: 2rem 0;
  }
  
  /* Cards spacing */
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Process numbers */
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  /* No animations on mobile per requirements */
  .service-card:hover,
  .team-card:hover,
  .gallery-grid img:hover {
    transform: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 1.75rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Specific responsive adjustments */

/* Gallery responsive grid */
@media (max-width: 575.98px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .gallery-grid img {
    aspect-ratio: 4/3;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .gallery-grid img {
    aspect-ratio: 4/3;
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Team photos responsive */
@media (max-width: 575.98px) {
  .team-photo {
    height: 200px;
  }
}

/* Blog grid responsive */
@media (max-width: 767.98px) {
  .blog-card {
    margin-bottom: 2rem;
  }
}

/* Service grid responsive */
@media (max-width: 575.98px) {
  .service-card {
    text-align: center;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
}

/* Price cards responsive */
@media (max-width: 767.98px) {
  .price-value {
    font-size: 1.5rem;
  }
}

/* Navigation responsive fixes */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
}

/* Contact info responsive */
@media (max-width: 575.98px) {
  .contact-info {
    text-align: center;
    margin-top: 2rem;
  }
}

/* Footer responsive */
@media (max-width: 767.98px) {
  footer {
    text-align: center;
  }
  
  footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Form responsive */
@media (max-width: 575.98px) {
  .btn-primary {
    width: 100%;
    padding: 1rem;
  }
}

/* Breadcrumb responsive */
@media (max-width: 575.98px) {
  .breadcrumb-image {
    max-width: 100px;
  }
}

/* Hide decorative elements on mobile for performance */
@media (max-width: 767.98px) {
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  footer,
  .btn,
  .gallery-grid {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  * {
    box-shadow: none !important;
  }
} 

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