/* Responsive Styles for Sustainable Gift Wrap Subscription Template */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Hero section adjustments */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Service cards stack */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Price cards adjustments */
  .price-card.featured {
    transform: none;
  }
  
  /* Team photos smaller */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process steps smaller */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Contact form padding */
  .contact-form {
    padding: 2rem;
  }
  
  /* Gallery images height */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer adjustments */
  #footer {
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Disable animations on small devices */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-decorative {
    width: 175px;
    height: 175px;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .gallery-item img {
    height: 230px;
  }
  
  /* Adjust grid for medium screens */
  .service-card,
  .feature-card,
  .review-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-item img {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .navbar,
  #footer,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #2D5A2D;
    --primary-cream: #FFFFFF;
    --primary-terracotta: #8B4513;
    --primary-sage: #556B2F;
    --primary-brown: #2F1B14;
  }
  
  .service-card,
  .feature-card,
  .review-card,
  .faq-item {
    border: 2px solid #000;
  }
}

/* Dark Mode Support */