/* Virtual Craft-Tea Tasting Kit Curator - Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile for scroll effects */
  .sal-animate,
  [data-sal],
  [data-scroll] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  /* Typography adjustments */
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }

  /* Hero section mobile */
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }

  .hero-decorative {
    display: none;
  }

  /* Section padding */
  .section {
    padding: 2rem 0;
  }

  /* Service cards stack */
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }

  /* Team cards */
  .team-image {
    height: 200px;
  }

  /* Process steps smaller */
  .process-step {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }

  /* Remove card hover effects on mobile */
  .service-card:hover,
  .blog-card:hover {
    transform: none;
  }

  /* Timeline mobile */
  .timeline-item {
    padding-left: 1.5rem;
  }

  /* Gallery responsive */
  .gallery-image {
    height: 200px;
    margin-bottom: 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* No animations on small devices */
  .sal-animate,
  [data-sal],
  [data-scroll] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero-section {
    min-height: 80vh;
  }

  .service-card {
    margin-bottom: 1.5rem;
  }

  .process-step {
    width: 70px;
    height: 70px;
    font-size: 1.3rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-decorative {
    width: 150px;
    height: 150px;
  }

  .hero-decorative:nth-child(2) {
    width: 100px;
    height: 100px;
  }

  .section {
    padding: 3rem 0;
  }

  .footer {
    padding: 2.5rem 0 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Default styles work well for this range */
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .hero-section {
    min-height: 100vh;
  }

  .section {
    padding: 5rem 0;
  }
}

/* Navigation responsive behavior */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--light-cream);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--primary-tea-green);
  }

  .navbar-nav {
    text-align: center;
  }

  .nav-link {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--light-sage);
  }

  .nav-link:last-child {
    border-bottom: none;
  }
}

/* Card grid responsive behavior */
@media (max-width: 767.98px) {
  .row .col-md-6 {
    margin-bottom: 1.5rem;
  }

  .row .col-lg-4 {
    margin-bottom: 1.5rem;
  }

  .row .col-lg-3 {
    margin-bottom: 1.5rem;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Bootstrap 5 utilities for mobile */
@media (max-width: 575.98px) {
  .d-sm-none {
    display: none !important;
  }

  .text-sm-center {
    text-align: center !important;
  }

  .mb-sm-3 {
    margin-bottom: 1rem !important;
  }

  .p-sm-2 {
    padding: 0.5rem !important;
  }
}

/* Form responsive */
@media (max-width: 767.98px) {
  .form-control {
    margin-bottom: 1rem;
  }

  .btn {
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* Price card responsive */
@media (max-width: 991.98px) {
  .price-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
}

/* Blog grid responsive */
@media (max-width: 767.98px) {
  .blog-card {
    margin-bottom: 2rem;
  }
}

/* Accessibility: Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .blog-card,
  .team-card {
    transition: none !important;
  }

  .service-card:hover,
  .blog-card:hover {
    transform: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card,
  .faq-card,
  .blog-card {
    border-width: 2px;
    border-color: var(--dark-brown);
  }

  .hero-section {
    background: var(--light-cream);
  }
} 

.hero-section h1 {
    padding-top: 125px;
}