/* Responsive CSS for Organic Herb & Spice Template */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-text h1 {
    font-size: 3.60rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .service-item {
    padding: 2.5rem 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-text h1 {
    font-size: 2.60rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 90vh;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .service-item {
    padding: 1.5rem 1rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-text h1 {
    font-size: 1.79rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title h2 {
    font-size: 1.61rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-member {
    padding: 1rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .service-item {
    padding: 1rem 0.5rem;
  }
  
  .service-price {
    font-size: 1.31rem;
  }
  
  .review-card {
    padding: 1rem;
  }
  
  .faq-question {
    padding: 0.75rem 1rem;
    font-size: 0.98rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 0.93rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.12rem !important;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 70vh;
  }
  
  .process-step {
    padding-left: 2.5rem;
  }
  
  .process-step::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.85rem;
  }
}

/* Ultra-wide screens (1400px and up) */
@media (min-width: 1400px) {
  .hero-text h1 {
    font-size: 4rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .container {
    max-width: 1320px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .breadcrumb {
    display: none !important;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
  
  h1, h2, h3, h4 {
    page-break-after: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #dcd2d1;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --text-dark: #000000;
    --text-light: #ffffff;
    --color-primary-forest: #000093;
    --color-primary-terracotta: #840011;
  }
  
  .card {
    border: 2px solid var(--text-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--text-dark);
  }
}

/* Dark mode preferences */
@media (prefers-color-scheme: dark) {
  /* Note: As per requirements, we're not creating a dark theme for accessibility */
  /* This media query is left empty intentionally */
}

/* Animation preferences */
@media (prefers-reduced-motion: reduce) {
  .card,
  .btn-primary,
  .gallery-item img,
  .card-img-top,
  .form-control,
  .navbar-nav .nav-link {
    transition: none !important;
  }
  
  .loading-placeholder {
    animation: none !important;
  }
  
  @keyframes loading {
    0%, 100% { background-position: 0 0; }
  }
}

/* Focus styles for accessibility */
@media (any-hover: none) {
  .card:hover,
  .gallery-item:hover img,
  .card:hover .card-img-top {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 100vh;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Container adjustments for different screen sizes */
@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;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
} 