/* Responsive Styles for Gourmet Herbal Tea Subscription Template */

/* Mobile First Approach */

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per rules */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  /* Navbar brand - conservative mobile size */
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  /* Hide decorative elements on mobile */
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  /* Section padding mobile */
  .section {
    padding: 2rem 0;
  }
  
  /* Cards mobile spacing */
  .service-card,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .case-study-card,
  .process-step,
  .timeline-item,
  .career-position,
  .core-info-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none;
    margin-top: 1rem;
  }
  
  /* Team photos mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Button mobile */
  .btn-primary {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Small Devices (Landscape Phones) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero section */
  .hero-section {
    min-height: 80vh;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Price cards */
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Medium Devices (Tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Typography */
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.65rem; }
  
  /* Hero section */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Cards tablet spacing */
  .service-card,
  .feature-item,
  .price-card,
  .team-member {
    margin-bottom: 1.75rem;
  }
  
  /* Contact layout tablet */
  .contact-form {
    padding: 2rem;
  }
}

/* Large Devices (Desktops) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Full typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  /* Hero section full height */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Gallery desktop */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Hover effects enabled on desktop */
  .service-card:hover,
  .gallery-item:hover img {
    transform: translateY(-5px);
  }
}

/* Extra Large Devices */
@media (min-width: 1200px) {
  /* Container max width */
  .container {
    max-width: 1140px;
  }
  
  /* Gallery large screens */
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* Enhanced hover effects */
  .feature-item:hover,
  .core-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }
}

/* Ultra Wide Screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Larger decorative elements */
  .hero-section::before {
    width: 35%;
    height: 180%;
  }
  
  .hero-section::after {
    width: 25%;
    height: 140%;
  }
}

/* Portrait Orientation Specific */
@media (orientation: portrait) and (max-width: 768px) {
  /* Stack hero content vertically */
  .hero-section .row {
    flex-direction: column;
  }
  
  /* Adjust image sizing */
  .hero-section img {
    max-width: 80%;
    margin: 2rem auto;
  }
}

/* Landscape Orientation Specific */
@media (orientation: landscape) and (max-height: 600px) {
  /* Reduce hero height on landscape */
  .hero-section {
    min-height: 80vh;
  }
  
  /* Compact section padding */
  .section {
    padding: 3rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize for retina displays */
  .service-card img,
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  /* Disable 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 hover transforms */
  .service-card:hover,
  .feature-item:hover,
  .core-info-item:hover,
  .gallery-item:hover img {
    transform: none !important;
  }
}

/* Dark Mode Support (if system prefers) */

/* Print Styles */
@media print {
  /* Hide interactive elements */
  .navbar,
  .btn,
  .contact-form,
  .gallery {
    display: none !important;
  }
  
  /* Optimize for print */
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
    overflow-x: hidden;
}
  
  .section {
    break-inside: avoid;
    padding: 1rem 0;
  }
  
  /* Remove shadows and decorative elements */
  * {
    box-shadow: none !important;
    background-image: none !important;
  }
}


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