/* Eco-Friendly Moving Box Rentals - Responsive Styles */
/* Bootstrap 5 Compatible - No Custom Grid Systems */

/* Mobile First Approach */

/* Extra Small Devices (xs) - up to 575px */
@media (max-width: 575.98px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.51rem;
  }
  
  .hero-section p {
    font-size: 0.94rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .service-card,
  .team-member,
  .price-plan-card {
    margin-bottom: 1.67rem;
  }
  
  .navbar-brand {
    font-size: 10px !important;
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.5rem 0;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  .feature-item {
    padding: 1rem;
  }
  
  .feature-item i {
    font-size: 2rem;
  }
}

/* Small Devices (sm) - 576px to 767px */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 75vh;
  }
  
  .hero-section h1 {
    font-size: 1.85rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  /* Grid layouts handled by Bootstrap classes in HTML */
  
  .gallery-item img {
    height: 180px;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
}

/* Medium Devices (md) - 768px to 991px */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  /* All grid layouts handled by Bootstrap row/col system */
  
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* Large Devices (lg) - 992px to 1199px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  /* Bootstrap grid handles all layouts */
  
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* Extra Large Devices (xl) - 1200px and up */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  /* Bootstrap grid handles all layouts */
  
  .contact-form {
    max-width: 700px;
    margin: 0 auto;
  }
  
  .container {
    max-width: 1200px;
  }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--primary-cream);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.61rem;
    box-shadow: 0 7px 15px rgba(0,0,0,0.1);
  }
  
  .navbar-nav {
    align-items: center;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.75rem 0;
    text-align: center;
  }
}

/* Hero Section Responsive */
@media (max-width: 767.98px) {
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .hero-section .col-md-6:last-child {
    margin-bottom: 2rem;
  }
}

/* Form Responsive */
@media (max-width: 575.98px) {
  .form-row .col-md-6 {
    margin-bottom: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer .row > div {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer .row > div:last-child {
    margin-bottom: 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .gallery-section {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5 {
    color: #000;
    page-break-after: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card,
  .team-member,
  .review-card,
  .faq-card,
  .price-plan-card,
  .blog-card {
    border: 2px solid var(--dark-brown);
  }
  
  .btn-primary {
    border: 2px solid var(--dark-green);
  }
  
  .form-control {
    border: 2px solid var(--dark-brown);
  }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
} 

.hero-content {
    padding-top: 225px;
}