/* Responsive Styles for Movie Theater Template */

/* Mobile-first approach with progressive enhancement */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .team-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .navbar-brand {
    font-size: 1.3rem !important;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
  
  .decorative-blob {
    display: none;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .decorative-blob {
    opacity: 0.05;
  }
  
  .blob-1 {
    width: 200px;
    height: 200px;
  }
  
  .blob-2 {
    width: 150px;
    height: 150px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .section-title {
    font-size: 2.3rem;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 4.5rem 0;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-slide {
    transition: none !important;
  }
  
  .swiper-container {
    overflow: visible;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .decorative-blob {
    opacity: 0.1;
  }
  
  .blob-1 {
    width: 250px;
    height: 250px;
  }
  
  .blob-2 {
    width: 180px;
    height: 180px;
  }
  
  .gallery-item img {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .container-xl {
    max-width: 1200px;
  }
  
  .decorative-blob {
    opacity: 0.1;
  }
  
  .blob-1 {
    width: 300px;
    height: 300px;
  }
  
  .blob-2 {
    width: 200px;
    height: 200px;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Disable animations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    animation: none;
  }
  
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  .swiper-slide {
    transition: none !important;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .contact-section {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --cinema-red: #b91c1c;
    --cinema-gold: #d97706;
    --cinema-dark: #000000;
    --cinema-purple: #6b21a8;
    --cinema-teal: #0f766e;
    --text-primary: #000000;
    --text-secondary: #374151;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-item {
    border: 2px solid var(--cinema-dark);
  }
  
  .form-control {
    border: 2px solid var(--cinema-dark);
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--cinema-gold);
    outline-offset: 2px;
  }
}

/* Hover effects only for devices that support hover */
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }
  
  .team-card:hover {
    transform: translateY(-5px);
  }
  
  .gallery-item:hover {
    transform: scale(1.05);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
  }
  
  .navbar-nav .nav-link:hover {
    color: var(--cinema-gold) !important;
  }
  
  .footer-link:hover {
    color: var(--cinema-gold);
  }
}

/* Touch-friendly sizing for mobile */
@media (pointer: coarse) {
  .nav-link {
    padding: 1rem !important;
    min-height: 44px;
  }
  
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }
  
  .form-control {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
  
  .faq-question {
    min-height: 60px;
    display: flex;
    align-items: center;
  }
} 