/* Responsive Styles for Coffee Brand Template */

/* Tablet Styles */
@media (max-width: 991.98px) {
  :root {
    --section-padding: 3rem 0;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.625rem; }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content {
    padding: 2rem 0;
    padding-top: 200px;
}
  
  .navbar-brand {
    font-size: 1.375rem;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .gallery-item {
    height: 200px;
  }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  :root {
    --section-padding: 2rem 0;
  }
  
  body {
    font-size: 15px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.375rem; }
  h5 { font-size: 1.25rem; }
  
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--coffee-primary);
  }
  
  /* Hero Section Mobile */
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Disable animations on mobile as per requirements */
  .hero-section::before {
    display: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Cards Mobile Styles */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .service-image {
    height: 180px;
  }
  
  .service-content,
  .blog-content {
    padding: 1.25rem;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  .contact-item {
    margin-bottom: 1rem;
  }
  
  .contact-item i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    width: 25px;
  }
  
  /* Form Elements Mobile */
  .form-control {
    padding: 10px 12px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .btn-primary {
    padding: 12px 25px;
    width: 100%;
    margin-top: 1rem;
  }
  
  /* Grid Adjustments */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  
  .gallery-item {
    height: 150px;
  }
  
  /* Process Steps Mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Team Photos Mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Feature Icons Mobile */
  .feature-card i {
    font-size: 2.5rem;
  }
  
  .info-card i {
    font-size: 2rem;
  }
  
  /* Timeline Mobile */
  .timeline-item {
    padding: 1.25rem;
  }
  
  /* FAQ Mobile */
  .faq-card {
    padding: 1.25rem;
  }
  
  /* Review Cards Mobile */
  .review-card {
    padding: 1.5rem;
  }
  
  .review-card::before {
    font-size: 3rem;
    top: 5px;
    left: 15px;
  }
  
  .review-text {
    margin-top: 1.5rem;
  }
  
  /* Price Card Mobile */
  .price-card.featured {
    transform: none;
    border-width: 2px;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Section Titles Mobile */
  .section-title {
    margin-bottom: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  /* Spacing Adjustments */
  .mb-4 {
    margin-bottom: 1.5rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  /* Text Adjustments */
  .service-price {
    font-size: 1.375rem;
  }
  
  .service-features {
    font-size: 0.875rem;
  }
  
  .career-role {
    font-size: 0.8rem;
  }
  
  /* Utility Classes Mobile */
  .text-center-mobile {
    text-align: center;
  }
  
  .mb-mobile-2 {
    margin-bottom: 1rem;
  }
  
  .px-mobile-3 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.375rem; }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 1.625rem;
  }
  
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form,
  .contact-info {
    padding: 1rem;
  }
  
  .service-content,
  .blog-content {
    padding: 1rem;
  }
  
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 1.5rem 0 1rem;
  }
  
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }
  
  .team-photo {
    width: 90px;
    height: 90px;
  }
  
  .review-card::before {
    font-size: 2.5rem;
  }
}

/* Landscape Phone Styles */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-image,
  .gallery-item,
  .team-photo,
  .blog-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark Mode Support (respects system preference) */

/* Print Styles */
@media print {
  .navbar,
  .hero-section::before,
  .btn,
  .gallery-section {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: white;
    color: black;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .card,
  .service-card,
  .feature-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .footer {
    background: white;
    color: black;
  }
}