/* Responsive Styles for Tea House Template */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 2rem 0;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  /* No animations on mobile as per requirements */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .card:hover {
    transform: none !important;
  }
  
  .gallery-item:hover img {
    transform: none !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  .team-card img {
    width: 130px;
    height: 130px;
  }
  
  /* Reduced animations on small devices */
  * {
    animation-duration: 0.1s !important;
    transition-duration: 0.1s !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .team-card img {
    width: 140px;
    height: 140px;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 3.5rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Specific responsive adjustments for components */

/* Navigation */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
  }
}

/* Grid adjustments */
@media (max-width: 767.98px) {
  .row [class*="col-"] {
    margin-bottom: 1.5rem;
  }
  
  .row [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

/* Services grid */
@media (max-width: 575.98px) {
  .services-grid .col-md-4 {
    margin-bottom: 2rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .services-grid .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Team grid */
@media (max-width: 575.98px) {
  .team-grid .col-lg-2 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .team-grid .col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* FAQ responsive */
@media (max-width: 767.98px) {
  .faq-card {
    margin-bottom: 1.5rem;
  }
}

/* Gallery responsive */
@media (max-width: 575.98px) {
  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item img {
    height: 225px;
  }
}

/* Contact form responsive */
@media (max-width: 575.98px) {
  .contact-form .row [class*="col-"] {
    margin-bottom: 1rem;
  }
}

/* Hero section responsive content */
@media (max-width: 767.98px) {
  .hero-section .row {
    text-align: center;
  }
  
  .hero-section .col-md-6:first-child {
    order: 2;
    margin-top: 2rem;
  }
  
  .hero-section .col-md-6:last-child {
    order: 1;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  [class*="sal-"] {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    border: 1px solid #ccc;
    box-shadow: none;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--dark-brown);
  }
  
  .btn-primary {
    border: 2px solid var(--dark-brown);
  }
  
  .form-control {
    border: 2px solid var(--dark-brown);
  }
}

/* Dark mode preference */

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