/* ===== RESPONSIVE STYLES - UPCYCLED GLASS PRODUCTS ===== */

/* Mobile First Approach */

/* Extra Small Devices (Phones, 576px and down) */
@media (max-width: 575.98px) {
  /* No animations on mobile per requirements */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.25rem; }
  
  /* Section padding reduced */
  section {
    padding: 2rem 0;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 70vh;
    text-align: center;
  }
  
  /* Service cards stack */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team images smaller */
  .team-image {
    width: 80px;
    height: 80px;
  }
  
  /* Contact form padding */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Gallery items single column */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer sections stack */
  .footer-section {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* Process numbers smaller */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  /* Price cards margin */
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Feature cards margin */
  .feature-card {
    margin-bottom: 1.5rem;
  }
}

/* Small Devices (Landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* No animations on mobile per requirements */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Slight padding increase */
  section {
    padding: 2.5rem 0;
  }
  
  /* Hero adjustments */
  #hero {
    min-height: 80vh;
  }
  
  /* Service cards in 2 columns */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery 2 columns */
  .gallery-item img {
    height: 220px;
  }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Restore some animations on tablet */
  .feature-card:hover {
    transform: translateY(-3px);
  }
  
  .gallery-item:hover img {
    transform: scale(1.02);
  }
  
  /* Section padding */
  section {
    padding: 3rem 0;
  }
  
  /* Hero full height */
  #hero {
    min-height: 90vh;
  }
  
  /* Service cards 3 columns */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Team images standard */
  .team-image {
    width: 100px;
    height: 100px;
  }
  
  /* Contact form standard padding */
  .contact-form {
    padding: 2.5rem;
  }
  
  /* Gallery 3 columns */
  .gallery-item img {
    height: 230px;
  }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Full animations restored */
  section {
    padding: 3.5rem 0;
  }
  
  /* Hero full screen */
  #hero {
    min-height: 100vh;
  }
  
  /* Service cards full layout */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery full layout */
  .gallery-item img {
    height: 240px;
  }
  
  /* Price card featured scaling */
  .price-card.featured {
    transform: scale(1.03);
  }
}

/* Extra Large Devices (Large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Maximum section padding */
  section {
    padding: 4rem 0;
  }
  
  /* Large screen adjustments */
  .container {
    max-width: 1140px;
  }
  
  /* Service cards optimal spacing */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery optimal height */
  .gallery-item img {
    height: 250px;
  }
  
  /* Team images full size */
  .team-image {
    width: 120px;
    height: 120px;
  }
  
  /* Contact form full padding */
  .contact-form {
    padding: 3rem;
  }
  
  /* Price card featured full scaling */
  .price-card.featured {
    transform: scale(1.05);
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 568px) {
  /* Reduce hero height on landscape mobile */
  #hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  /* Reduce section padding */
  section {
    padding: 1.5rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Crisp borders and shadows */
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    border-width: 1px;
  }
}

/* Print Styles */
@media print {
  /* Remove backgrounds and animations */
  * {
    background: white !important;
    color: black !important;
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
  
  /* Hide navigation and non-essential elements */
  #header,
  #footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  /* Ensure text is readable */
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  /* Prevent breaking inside elements */
  .feature-card,
  .service-card,
  .team-card,
  .review-card {
    page-break-inside: avoid;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  /* Remove all animations and transitions */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove hover effects */
  .feature-card:hover,
  .gallery-item:hover img {
    transform: none !important;
  }
}

/* Dark Mode Support (if user prefers) */

/* Container Responsive Adjustments */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-sage-light);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Form Responsive */
@media (max-width: 767.98px) {
  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .btn {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Grid Responsive Helpers */
@media (max-width: 575.98px) {
  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
  
  .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
} 