/* Recycled Plastic Outdoor Furniture - Responsive Styles */
/* Mobile-First Approach */

/* Mobile Styles (320px and up) */
@media (max-width: 575.98px) {
  /* Typography Adjustments */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .navbar-brand { font-size: 1.25rem; }
  
  /* Hero Section Mobile */
  .hero-section {
    min-height: 100vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none; /* Hide decorative elements on mobile */
  }
  
  /* Services Mobile */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  /* Feature Items Mobile */
  .feature-item {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  /* Team Cards Mobile */
  .team-image {
    height: 200px;
  }
  
  /* Process Steps Mobile */
  .process-step {
    padding: 1.5rem 0.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  /* Gallery Mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Section Spacing Mobile */
  .section {
    padding: 2.5rem 0;
  }
  
  /* NO ANIMATIONS ON MOBILE */
  .service-card,
  .team-card,
  .gallery-item img {
    transition: none;
  }
  
  .service-card:hover,
  .team-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Tablet Portrait (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero adjustments */
  .hero-section {
    padding: 3rem 0;
  }
  
  /* Feature grid adjustments */
  .feature-item {
    padding: 2rem 1.5rem;
  }
  
  /* Team grid adjustments */
  .team-image {
    height: 220px;
  }
  
  /* Gallery adjustments */
  .gallery-item img {
    height: 220px;
  }
}

/* Tablet Landscape (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Typography adjustments */
  h1 { font-size: 1.9rem; }
  
  /* Hero Section */
  .hero-section {
    padding: 3.5rem 0;
  }
  
  .hero-decorative:nth-child(1) {
    width: 200px;
    height: 200px;
  }
  
  .hero-decorative:nth-child(2) {
    width: 100px;
    height: 100px;
  }
  
  /* Services */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Team */
  .team-image {
    height: 240px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 240px;
  }
}

/* Desktop Small (992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Full functionality restored */
  .hero-decorative {
    display: block;
  }
  
  .hero-decorative:nth-child(1) {
    width: 250px;
    height: 250px;
  }
  
  .hero-decorative:nth-child(2) {
    width: 125px;
    height: 125px;
  }
  
  /* Services */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Team */
  .team-image {
    height: 250px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 250px;
  }
}

/* Desktop Large (1200px and up) */
@media (min-width: 1200px) {
  /* Full decorative elements */
  .hero-decorative:nth-child(1) {
    width: 300px;
    height: 300px;
  }
  
  .hero-decorative:nth-child(2) {
    width: 150px;
    height: 150px;
  }
  
  /* Enhanced spacing for large screens */
  .section {
    padding: 5rem 0;
  }
  
  /* Contact form larger */
  .contact-form {
    padding: 2.5rem;
  }
  
  /* Gallery enhanced */
  .gallery-item img {
    height: 280px;
  }
}

/* Ultra-wide screens (1400px and up) */
@media (min-width: 1400px) {
  .hero-decorative:nth-child(1) {
    width: 350px;
    height: 350px;
  }
  
  .hero-decorative:nth-child(2) {
    width: 175px;
    height: 175px;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* Print Styles */
@media print {
  .hero-decorative,
  .navbar,
  .footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-inside: avoid;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp rendering on retina displays */
  .process-number,
  .service-card,
  .team-card {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Dark Mode Preference (if system supports) */

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  /* All animations disabled - already handled in main.css */
  .hero-decorative {
    animation: none;
  }
}

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

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