/* WasteWise Restaurant - Responsive CSS */

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Large Devices (Desktops) */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 2.57rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 80px;
  }
  
  .timeline-item:nth-child(even) {
    margin-left: 0;
  }
  
  .timeline-dot {
    left: 20px !important;
    right: auto !important;
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 110px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  }
  
  .hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 2.33rem;
  }
  
  .hero-content p {
    font-size: var(--font-size-base);
  }
  
  .section {
    padding: 60px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Small Devices (Large Phones) */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.30rem;
  }
  
  .hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: var(--font-size-sm);
    margin-bottom: 1.60rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title h2 {
    font-size: 1.87rem;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.54rem;
  }
  
  .service-price {
    font-size: 1.57rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.30rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .testimonial-card {
    margin: 0.5rem;
    padding: 1.5rem;
  }
  
  .price-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: var(--font-size-sm);
  }
  
  .faq-answer {
    padding: 0 1rem 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: var(--font-size-sm);
  }
}

/* Extra Small Devices (Phones) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 15px;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.16rem;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 1.90rem;
    line-height: 1.3;
  }
  
  .hero-content p {
    font-size: var(--font-size-sm);
  }
  
  .section {
    padding: 30px 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.52rem;
  }
  
  .section-subtitle {
    font-size: 12px;
    letter-spacing: 1px;
  }
  
  .services-grid {
    gap: 1rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.30rem;
    margin-bottom: 1rem;
  }
  
  .service-price {
    font-size: 1.32rem;
  }
  
  .team-card {
    padding: 1.5rem 1rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .process-step {
    padding: 1rem 0.5rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .testimonial-card {
    margin: 0;
    padding: 1rem;
  }
  
  .price-card {
    padding: 1rem;
  }
  
  .price-amount {
    font-size: 1.59rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.5rem 0.75rem;
    font-size: var(--font-size-sm);
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  
  .faq-question {
    padding: 0.75rem;
    font-size: var(--font-size-sm);
  }
  
  .faq-answer {
    padding: 0 0.75rem 0.75rem;
    font-size: var(--font-size-sm);
  }
  
  .footer {
    padding: 1.5rem 0 0.5rem;
  }
  
  .footer h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .timeline {
    padding: 1rem 0;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline-dot {
    left: 10px !important;
    width: 15px;
    height: 15px;
  }
  
  .timeline-content {
    padding: 1rem;
  }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }
  
  .navbar-collapse {
    max-height: 60vh;
    overflow-y: auto;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-image: url('../LIS_images/hero-bg@2x.webp');
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    background: none !important;
    color: black !important;
  }
  
  .hero-content h1,
  .hero-content p {
    color: black !important;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  .card,
  .service-card,
  .team-card,
  .testimonial-card {
    box-shadow: none;
    border: 1px solid #e5e5e5;
  }
}

/* Dark Mode Support (Respects system preference) */
@media (prefers-color-scheme: dark) {
  /* Note: As per requirements, we don't create a dark theme for accessibility */
  /* This media query is left intentionally empty but available for future use */
}

/* Animation Preferences */
@media (prefers-reduced-motion: reduce) {
  .card,
  .service-card,
  .team-card,
  .testimonial-card,
  .gallery-item,
  .btn {
    transition: none !important;
  }
  
  .card:hover,
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover {
    transform: none !important;
  }
  
  .timeline::before {
    display: none;
  }
  
  .timeline-dot {
    display: none;
  }
  
  .btn::before {
    display: none;
  }
}