/* EcoPackage Studio - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Hero adjustments */
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-section {
    padding: 2rem 0;
    min-height: 80vh;
  }
  
  /* Section padding reduction */
  section {
    padding: 2rem 0;
  }
  
  /* Button adjustments */
  .btn-lg {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Card adjustments */
  .feature-card,
  .service-card .card-body,
  .review-card .card-body {
    padding: 1.5rem;
    overflow-x: hidden;
}
  
  /* Team member images */
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  /* Process steps */
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Contact info */
  .contact-info .contact-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 1rem; }
  
  /* Price amount */
  .price-amount {
    font-size: 1.5rem;
  }
  
  /* Navbar brand size */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Remove hover effects on mobile */
  .feature-card:hover,
  .service-card:hover,
  .review-card:hover,
  .price-card:hover,
  .faq-card:hover,
  .case-study-card:hover,
  .blog-card:hover,
  .insight-card:hover,
  .case-study-item:hover,
  .guideline-item:hover,
  .innovation-item:hover,
  .resource-card:hover,
  .impact-metric:hover,
  .standard-item:hover,
  .training-program:hover,
  .partner-category:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  /* Gallery images */
  #gallery img:hover {
    transform: none;
  }
  
  /* Button hover effects */
  .btn-primary:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }
  
  /* Adjust grid for tablets */
  .team-section .col-lg-2 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  
  .process-section .col-lg-2 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Full hero height on desktop */
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  /* Enable hover effects on larger screens */
  .feature-card:hover {
    transform: translateY(-5px);
  }
  
  .service-card:hover,
  .case-study-card:hover,
  .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }
  
  .review-card:hover {
    transform: translateY(-3px);
  }
  
  .price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .faq-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 124, 89, 0.3);
  }
  
  #gallery img:hover {
    transform: scale(1.05);
  }
  
  .insight-card:hover,
  .case-study-item:hover,
  .guideline-item:hover,
  .innovation-item:hover,
  .resource-card:hover,
  .impact-metric:hover,
  .standard-item:hover,
  .training-program:hover,
  .partner-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.25rem;
  }
  
  /* Larger containers for better spacing */
  section {
    padding: 5rem 0;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  /* Adjust team member layout for ultra-wide */
  .team-section .row {
    justify-content: center;
  }
  
  .process-section .row {
    justify-content: center;
  }
}

/* Print styles */
@media print {
  * {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
  
  .hero-section::before {
    display: none;
  }
  
  #header,
  #footer {
    display: none;
  }
  
  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .btn {
    display: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #2d5016;
    --secondary-sage: #5a7a3a;
    --accent-mint: #6b8e7f;
    --light-green: #f0f0f0;
    --dark-green: #000000;
  }
  
  .hero-section {
    background: #f0f0f0;
  }
  
  .card,
  .feature-card,
  .service-card,
  .review-card,
  .faq-card {
    border: 2px solid #000;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
  }
}

/* Dark mode support */