/* Mobile-first responsive design */

/* Base styles are mobile-first */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero h1 {
    font-size: 2.8rem;
    padding-top: 125px;
}
  
  .hero p {
    font-size: 1.1rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.2rem;
    padding-top: 125px;
}
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
    padding-top: 125px;
}
  
  .hero p {
    font-size: 1.3rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .card-deck .card {
    margin-bottom: 0;
  }
  
  .team-photo {
    width: 200px;
    height: 200px;
  }
  
  .gallery-item img {
    height: 300px;
  }
  
  .process-number {
    width: 70px;
    height: 70px;
    font-size: 1.4rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
    padding-top: 125px;
}
  
  .hero p {
    font-size: 1.4rem;
  }
  
  .section {
    padding: 7rem 0;
  }
  
  .gallery-item img {
    height: 350px;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 575.98px) {
  .hero {
    min-height: 90vh;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    padding-top: 125px;
}
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .card-columns {
    column-count: 1;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .priceplan-price {
    font-size: 1.5rem;
  }
  
  .service-price {
    font-size: 1.2rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .contact-form,
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Tablet adjustments */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero {
    text-align: center;
  }
  
  .card-columns {
    column-count: 2;
  }
  
  .gallery-item {
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    margin-bottom: 2rem;
  }
}

/* Print styles */
@media print {
  .hero::before {
    display: none;
  }
  
  .card {
    break-inside: avoid;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .btn {
    display: none;
  }
  
  .navbar {
    display: none;
  }
  
  .footer {
    background-color: transparent !important;
    color: black !important;
  }
}

/* High contrast and accessibility */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    background-color: #000;
    border-color: #000;
  }
  
  .btn-primary:hover {
    background-color: #333;
    border-color: #333;
  }
}

/* Dark mode support */

/* Focus and keyboard navigation */
.btn:focus,
.form-control:focus,
.navbar-nav .nav-link:focus {
  outline: 2px solid var(--coffee-primary);
  outline-offset: 2px;
}

/* Smooth scrolling for supported browsers */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Container max-width adjustments */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* Card grid adjustments */
@media (min-width: 992px) {
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
} 