/* Responsive Styles for Pop-up Theater Production Company */

/* ========== MOBILE FIRST APPROACH ========== */

/* Mobile Specific Rules */
@media (max-width: 767.98px) {
  
  /* Typography adjustments for mobile */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  /* Hero section mobile optimization */
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  /* NO animations on mobile as per requirements */
  .hero-section::before {
    display: none;
  }
  
  /* Section padding adjustments */
  .section-padding {
    padding: 2rem 0;
  }
  
  /* Service cards mobile stacking */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Contact form mobile optimizations */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Gallery items mobile spacing */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Disable ALL animations and transitions on mobile */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  /* Remove all hover effects on mobile */
  .service-card:hover,
  .gallery-item:hover img,
  .blog-card:hover,
  .navbar-nav .nav-link:hover,
  .footer a:hover,
  .price-card:hover,
  .social-link:hover {
    transform: none !important;
    box-shadow: inherit !important;
    border-color: inherit !important;
    color: inherit !important;
    background: inherit !important;
  }
  
  /* Disable specifically named animations */
  .gentle-pulse,
  [data-sal] {
    animation: none !important;
    opacity: 1 !important;
  }
  
  /* Footer mobile adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Process steps mobile layout */
  .process-step {
    margin-bottom: 2rem;
  }
  
  /* Timeline mobile adjustments */
  .timeline-item {
    border-left: 2px solid var(--color-accent);
    padding-left: 1.5rem;
  }
}

/* ========== TABLET STYLES ========== */
@media (min-width: 768px) and (max-width: 991.98px) {
  
  /* Hero section tablet */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Service cards tablet layout */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery items tablet */
  .gallery-item img {
    height: 220px;
  }
}

/* ========== DESKTOP STYLES ========== */
@media (min-width: 992px) {
  
  /* Large screen optimizations */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Gallery items desktop */
  .gallery-item img {
    height: 250px;
  }
  
  /* Service cards desktop layout with better spacing */
  .service-card {
    margin-bottom: 2rem;
  }
}

/* ========== LARGE DESKTOP ========== */
@media (min-width: 1200px) {
  
  /* Container max-width adjustments for very large screens */
  .container {
    max-width: 1140px;
  }
  
  /* Hero content better centering on large screens */
  .hero-content {
    padding: 2rem 0;
    padding-top: 125px;
}
}

/* ========== ACCESSIBILITY ========== */

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .review-card,
  .faq-card,
  .price-card,
  .blog-card {
    border: 2px solid var(--color-neutral-dark);
  }
}

/* Reduced motion support (CRITICAL requirement) */
@media (prefers-reduced-motion: reduce) {
  /* Disable ALL animations and transitions */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove decorative elements that might cause motion */
  .hero-section::before {
    display: none;
  }
}

/* ========== PRINT STYLES ========== */
@media print {
  
  /* Hide non-essential elements for print */
  .navbar,
  .hero-section::before,
  .gallery-section {
    display: none;
  }
  
  /* Optimize colors for print */
  body {
    color: #000;
    background: #fff;
  }
  
  /* Ensure text readability */
  .section-title,
  .section-subtitle {
    color: #000;
  }
}

/* ========== FOCUS STYLES ========== */

/* Enhanced focus indicators for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========== MOBILE MENU OVERRIDE PREVENTION ========== */

/* Strictly use Bootstrap 5 standard mobile menu - NO customization allowed */
.navbar-toggler {
  /* Using Bootstrap 5 default styling only */
  border: 1px solid var(--color-neutral-light);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(137, 23, 68, 0.25);
}

/* ========== SAFE MOBILE ADJUSTMENTS ========== */

/* Form elements mobile optimization */
@media (max-width: 575.98px) {
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn {
    width: 100%;
    margin-top: 1rem;
  }
  
  /* Ensure text remains readable */
  .section-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }
} 