/* ECO-FRIENDLY PACKAGING SOLUTIONS - RESPONSIVE STYLES */

/* Extra Large devices (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    padding: 0 2rem;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .hero-image img {
    width: 450px;
    height: 350px;
  }
  
  .card-img-top {
    height: 180px;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .navbar-brand {
    font-size: 1.28rem !important;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-image img {
    width: 400px;
    height: 300px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .card-img-top {
    height: 160px;
  }
  
  .price {
    font-size: 2.64rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.33rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Small devices (576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  .navbar-brand {
    font-size: 1.24rem !important;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 1rem 0;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .hero-image img {
    width: 350px;
    height: 250px;
  }
  
  h1 {
    font-size: 1.90rem;
  }
  
  h2 {
    font-size: 1.43rem;
  }
  
  h3 {
    font-size: 1.27rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .card-img-top {
    height: 140px;
  }
  
  .card-body {
    padding: 1.2rem;
  }
  
  .price {
    font-size: 2rem;
  }
  
  .price-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .team-member {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    margin: 0.5rem;
  }
  
  .faq-question, .faq-answer {
    padding: 1.2rem;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 1.14rem;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
  }
}

/* Extra small devices (less than 576px) */
@media (max-width: 575px) {
  .container {
    padding: 0 1rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .navbar-nav .nav-link {
    margin: 0;
    padding: 0.5rem 1rem;
  }
  
  .hero-section {
    min-height: 60vh;
    text-align: center;
    padding: 1rem 0;
  }
  
  .hero-content {
  padding-top: 50px !important;
    margin-bottom: 1.65rem;
  }
  
  .hero-image img {
    width: 100%;
    max-width: 300px;
    height: 200px;
  }
  
  h1 {
    font-size: 1.69rem;
    margin-bottom: 0.95rem;
  }
  
  h2 {
    font-size: 1.31rem;
    margin-bottom: 0.71rem;
  }
  
  h3 {
    font-size: 1.24rem;
    margin-bottom: 0.57rem;
  }
  
  h4 {
    font-size: 1rem;
    margin-bottom: 0.62rem;
  }
  
  p {
    font-size: 0.95rem;
    margin-bottom: 0.95rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .card-img-top {
    height: 120px;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1rem;
    margin-bottom: 0.64rem;
  }
  
  .card-text {
    font-size: 0.92rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 1.00rem;
  }
  
  .price {
    font-size: 1.85rem;
  }
  
  .price-card {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .team-member {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .testimonial-card {
    padding: 1.2rem;
    margin: 0.3rem;
  }
  
  .testimonial-card::before {
    font-size: 3rem;
    top: -8px;
    left: 15px;
  }
  
  .testimonial-text {
    font-size: 1.00rem;
    margin-bottom: 1rem;
  }
  
  .faq-question, .faq-answer {
    padding: 1rem;
  }
  
  .faq-question {
    font-size: 1.04rem;
  }
  
  .faq-answer {
    font-size: 0.92rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.96rem;
  }
  
  .form-label {
    font-size: 0.99rem;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
    margin-bottom: 1.61rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-right: 0;
    margin-bottom: 0.99rem;
  }
  
  .process-content {
    padding: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-item {
    aspect-ratio: 16/9;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer h5 {
    font-size: 1rem;
    margin-bottom: 0.92rem;
  }
  
  .footer p, .footer a {
    font-size: 0.94rem;
  }
}

/* Landscape orientation for mobile devices */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-image img {
    height: 180px;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .card-img-top,
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .form-control,
  .gallery-item {
    display: none !important;
  }
  
  .hero-section,
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #e8e8e8;
    break-inside: avoid;
  }
  
  .process-step {
    break-inside: avoid;
  }
} 