/* ========================================
   Responsive Design - Eco-Friendly Picnic Blanket Template
   Mobile-First Approach with Bootstrap 5
   ======================================== */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Typography Adjustments */
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  h1 {
    font-size: 1.25rem;
  }
  
  h2 {
    font-size: 1.125rem;
  }
  
  h3 {
    font-size: 1rem;
  }
  
  /* Hero Section */
  .hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-desc {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
  
  /* Button Adjustments */
  .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Card Spacing */
  .card {
    margin-bottom: 1rem;
  }
  
  .card-body {
    padding: 1rem;
    overflow-x: hidden;
}
  
  /* Service Cards */
  .service-image {
    height: 150px;
  }
  
  .service-content {
    padding: 1rem;
  }
  
  .service-price {
    font-size: 1.125rem;
  }
  
  /* Team Members */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Process Items */
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  /* Forms */
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-item::before {
    width: 8px;
    height: 8px;
  }
  
  .timeline-item::after {
    left: 3px;
  }
  
  /* Price Plans */
  .priceplan-item {
    padding: 1.5rem;
  }
  
  .priceplan-price {
    font-size: 1.5rem;
  }
  
  /* FAQ */
  .faq-item {
    padding: 1rem;
  }
  
  /* Gallery */
  .gallery-image {
    height: 200px;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .footer h5:first-child {
    margin-top: 0;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero Adjustments */
  .hero {
    min-height: 75vh;
  }
  
  .hero-title {
    font-size: 1.375rem;
  }
  
  /* Service Grid */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team Grid */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Button Groups */
  .btn {
    width: auto;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  /* Cards in Rows */
  .row .col-sm-6 .card {
    height: 100%;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Typography */
  .navbar-brand {
    font-size: 1.125rem !important;
  }
  
  /* Hero Section */
  .hero {
    min-height: 85vh;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  /* Service Grid - 2 columns */
  .services-grid .col-md-6 {
    margin-bottom: 2rem;
  }
  
  /* Features Grid - 2 columns */
  .features-grid .col-md-6 {
    margin-bottom: 1.5rem;
  }
  
  /* Team Grid - 2-3 columns */
  .team-grid .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Price Plans - adjust spacing */
  .priceplan-grid .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Blog Grid */
  .blog-grid .col-md-6 {
    margin-bottom: 2rem;
  }
  
  /* Contact Section */
  .contact-form {
    margin-bottom: 2rem;
  }
  
  /* Gallery - 2 columns */
  .gallery-grid .col-md-6 {
    margin-bottom: 1rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero Full Height */
  .hero {
    min-height: 90vh;
  }
  
  /* Service Grid - 3 columns */
  .services-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Features Grid - 4 columns */
  .features-grid .col-lg-3 {
    margin-bottom: 1.5rem;
  }
  
  /* Team Grid - 5 columns */
  .team-grid .col-lg-2 {
    margin-bottom: 2rem;
  }
  
  /* Reviews Grid - 2 columns */
  .reviews-grid .col-lg-6 {
    margin-bottom: 1.5rem;
  }
  
  /* Case Studies Grid */
  .casestudy-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Process Grid */
  .process-grid .col-lg-2 {
    margin-bottom: 2rem;
  }
  
  /* Timeline Grid */
  .timeline-grid .col-lg-6 {
    margin-bottom: 1.5rem;
  }
  
  /* Career Grid */
  .career-grid .col-lg-6 {
    margin-bottom: 1.5rem;
  }
  
  /* Core Info Grid */
  .coreinfo-grid .col-lg-4 {
    margin-bottom: 1.5rem;
  }
  
  /* Blog Grid - 3 columns */
  .blog-grid .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* FAQ Grid - 2 columns */
  .faq-grid .col-lg-6 {
    margin-bottom: 1rem;
  }
  
  /* Gallery - 3 columns */
  .gallery-grid .col-lg-4 {
    margin-bottom: 1rem;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Container Max Width */
  .container {
    max-width: 1140px;
  }
  
  /* Hero Full Height */
  .hero {
    min-height: 100vh;
  }
  
  /* Typography Enhancement */
  .hero-title {
    font-size: 1.5rem;
  }
  
  /* Service Grid - 3 columns with spacing */
  .services-grid .col-xl-4 {
    margin-bottom: 2rem;
  }
  
  /* Team Grid - 5 columns optimized */
  .team-grid .col-xl-2 {
    margin-bottom: 2rem;
  }
  
  /* Gallery - 4 columns */
  .gallery-grid .col-xl-3 {
    margin-bottom: 1rem;
  }
  
  /* Core Info - 3 columns */
  .coreinfo-grid .col-xl-4 {
    margin-bottom: 1.5rem;
  }
}

/* Print Styles */
@media print {
  /* Hide Navigation */
  .navbar,
  .footer {
    display: none !important;
  }
  
  /* Reset Colors */
  * {
    background: white !important;
    color: black !important;
  }
  
  /* Page Breaks */
  .section {
    page-break-inside: avoid;
  }
  
  /* Typography for Print */
  h1, h2, h3 {
    color: black !important;
  }
  
  /* Hide Interactive Elements */
  .btn,
  .form-control {
    display: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #2d4a35;
    --color-secondary: #5a8a5a;
    --color-accent: #d4863a;
    --color-neutral: #ffffff;
    --color-highlight: #f0f0f0;
  }
  
  .card {
    border: 2px solid var(--color-primary);
  }
  
  .btn {
    border-width: 2px;
  }
}

/* Dark Mode Preference */

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

/* Hover Capability Detection */
@media (hover: none) {
  /* Remove hover effects on touch devices */
  .card:hover,
  .btn:hover,
  .priceplan-item:hover {
    transform: none;
    box-shadow: inherit;
  }
}

/* Motion Preference - Enhanced */
@media (prefers-reduced-motion: reduce) {
  /* Remove all animations and transitions */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove transform effects */
  .card:hover,
  .btn:hover,
  .priceplan-item:hover,
  .gallery-item:hover .gallery-image {
    transform: none !important;
  }
  
  /* Static decorative elements */
  .hero::before {
    animation: none !important;
  }
}

/* Focus Visibility Enhancement */
@media (prefers-reduced-motion: no-preference) {
  /* Enhanced focus indicators */
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
  }
}

/* Specific Mobile Fixes */
@media (max-width: 767.98px) {
  /* No animations on mobile as specified - SAL DISABLED */
  /* .sal-animate {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  } */
  
  /* Mobile-specific spacing */
  .section {
    padding: 1.5rem 0;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Mobile typography final adjustments */
  p {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  
  /* Mobile form adjustments */
  .form-group {
    margin-bottom: 1rem;
  }
  
  /* Mobile button stacking */
  .btn-group-mobile .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .btn-group-mobile .btn:last-child {
    margin-bottom: 0;
  }
}


.hero-content {
    padding-top: 200px;
}