/* Responsive Styles for Event Photobooth Template */

/* Mobile First Approach */
@media (max-width: 575.98px) {
  /* Extra small devices (phones) */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .service-card-body {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .feature-card,
  .team-card,
  .service-card-body {
    padding: 1.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* Small devices (landscape phones) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 75vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card img {
    height: 220px;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
}

/* Medium devices (tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card img {
    height: 230px;
  }
  
  .pricing-card.featured {
    transform: scale(1.03);
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
}

/* Large devices (desktops) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .service-card img {
    height: 240px;
  }
}

/* Extra large devices (large desktops) */
@media (min-width: 1200px) {
  .container-xxl {
    max-width: 1400px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .service-card img {
    height: 250px;
  }
  
  .hero-section::before {
    opacity: 0.15;
  }
}

/* Landscape mobile devices */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .service-card img,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .team-card,
  .pricing-card {
    box-shadow: none !important;
    border: 1px solid #ddd;
  }
}

/* Accessibility - High contrast mode */
@media (prefers-contrast: high) {
  .btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
  }
  
  .navbar {
    background: #000000 !important;
  }
  
  .service-card,
  .team-card,
  .pricing-card {
    border: 2px solid #000000;
  }
}

/* Dark mode preference (not implemented in main styles but structure ready) */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles would go here if needed in future */
  /* Currently excluded as per requirements */
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .swiper {
    --swiper-autoplay-delay: 999999999ms;
  }
  
  .hero-section::before {
    animation: none !important;
  }
  
  .service-card:hover,
  .team-card:hover,
  .feature-card:hover {
    transform: none !important;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn-primary {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem;
  }
  
  .faq-question {
    padding: 2rem;
  }
  
  .form-control {
    padding: 1.25rem;
    font-size: 1.125rem;
  }
} 