/* Mobile First Responsive Design */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    padding-top: 0;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .service-card .card-img-top {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
    padding-top: 100px;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 200px;
}
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-shapes .shape-1,
  .hero-shapes .shape-2 {
    display: none;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .process-step,
  .timeline-item {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  body {
    font-size: 0.95rem;
    overflow-x: hidden;
}
  
  .hero-section {
    min-height: 70vh;
    padding-top: 120px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .feature-card,
  .service-card,
  .review-card,
  .career-card,
  .case-study-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card .card-img-top,
  .blog-card .card-img-top {
    height: 180px;
  }
  
  .price-large {
    font-size: 1.5rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .timeline-year {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  .brewing-method,
  .health-benefit,
  .tea-origin,
  .seasonal-tea,
  .storage-tip,
  .collection-type,
  .subscription-benefit,
  .quality-standard,
  .customization-option,
  .support-option {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .info-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 60vh;
    padding-top: 100px;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .hero-content h2 {
    font-size: 1.25rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  .py-5 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .feature-card,
  .service-card,
  .review-card,
  .career-card,
  .case-study-card,
  .blog-card,
  .faq-card,
  .price-card {
    margin-bottom: 1rem;
  }
  
  .feature-card,
  .info-card,
  .brewing-method,
  .health-benefit,
  .tea-origin,
  .seasonal-tea,
  .storage-tip,
  .collection-type,
  .subscription-benefit,
  .quality-standard,
  .customization-option,
  .support-option {
    padding: 1rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .timeline-year {
    width: 50px;
    height: 50px;
    font-size: 0.9rem;
  }
  
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  .btn-primary,
  .btn-outline-primary {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .price-large {
    font-size: 1.25rem;
  }
  
  .service-card .price {
    font-size: 1.25rem;
  }
}

/* Disable animations on mobile for better performance and accessibility */
@media (max-width: 767.98px) {
  /* Disable scroll animations on mobile */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Reduce hover effects on mobile */
  .feature-card:hover,
  .service-card:hover,
  .blog-card:hover,
  .case-study-card:hover,
  .price-card:hover,
  .brewing-method:hover,
  .health-benefit:hover,
  .tea-origin:hover,
  .seasonal-tea:hover,
  .storage-tip:hover,
  .collection-type:hover,
  .subscription-benefit:hover,
  .quality-standard:hover,
  .customization-option:hover,
  .support-option:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  #gallery img:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .feature-card,
  .service-card,
  .review-card,
  .career-card,
  .case-study-card,
  .blog-card,
  .faq-card,
  .price-card,
  .info-card,
  .brewing-method,
  .health-benefit,
  .tea-origin,
  .seasonal-tea,
  .storage-tip,
  .collection-type,
  .subscription-benefit,
  .quality-standard,
  .customization-option,
  .support-option {
    border: 2px solid var(--primary-forest);
  }
  
  .btn-primary,
  .btn-outline-primary {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  .navbar,
  #footer,
  .breadcrumb-section {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .py-5 {
    padding: 1rem 0;
  }
  
  .feature-card,
  .service-card,
  .review-card,
  .career-card,
  .case-study-card,
  .blog-card,
  .faq-card,
  .price-card,
  .info-card {
    box-shadow: none;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-sage);
  outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-forest);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-to-main:focus {
  top: 6px;
}

/* Ensure proper spacing on all devices */
.container {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
} 