/* ===================================
   ESCAPE ROOM EXPERIENCE DESIGN TEMPLATE
   Responsive CSS - Mobile Optimizations
   =================================== */

/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Conservative Typography for Mobile */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 1rem 0;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none; /* Remove decorative shapes on mobile */
  }
  
  /* Section Spacing Mobile */
  .section {
    padding: 3rem 0;
  }
  
  /* Service Cards Mobile */
  .service-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  /* Price Cards Mobile */
  .price-card {
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
  }
  
  .price-card.featured {
    transform: none; /* Remove scale on mobile */
    margin-bottom: 2rem;
  }
  
  /* Team Photos Mobile */
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Process Steps Mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Gallery Mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* NO SCROLL ANIMATIONS ON MOBILE */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero Section */
  .hero-section {
    min-height: 85vh;
  }
  
  /* Section Spacing */
  .section {
    padding: 4rem 0;
  }
  
  /* Service Cards */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Team Photos */
  .team-photo {
    width: 175px;
    height: 175px;
  }
  
  /* NO SCROLL ANIMATIONS ON MOBILE */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero Section */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Services Grid */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Price Plan Grid */
  .price-card.featured {
    transform: scale(1.02);
  }
  
  /* Team Grid */
  .team-member {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero Section */
  .hero-section {
    min-height: 95vh;
  }
  
  /* Full Animation Support on Desktop */
  [data-sal] {
    transition-duration: 0.5s;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Hero Section */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Enhanced Spacing for Large Screens */
  .section {
    padding: 6rem 0;
  }
  
  /* Full Animation Support on Large Desktop */
  [data-sal] {
    transition-duration: 0.6s;
  }
}

/* Navbar Responsive Enhancements */
@media (max-width: 991.98px) {
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-collapse {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-align: center;
  }
}

/* Form Responsive Adjustments */
@media (max-width: 767.98px) {
  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .btn {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Cards Responsive Stacking */
@media (max-width: 575.98px) {
  .card {
    margin-bottom: 1.5rem;
  }
  
  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
}

/* Image Responsive Behavior */
@media (max-width: 767.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
}

/* Table Responsive */
@media (max-width: 767.98px) {
  .table-responsive {
    border: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  [data-sal] {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-inside: avoid;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Enhanced shadows for high DPI */
  .service-card,
  .price-card,
  .testimonial-card,
  .contact-form {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
}

/* Landscape Mobile Orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Reduced Motion Support - Enhanced */
@media (prefers-reduced-motion: reduce) {
  /* Remove all transforms and transitions */
  .service-card:hover,
  .case-study-card:hover,
  .blog-card:hover,
  .btn:hover {
    transform: none !important;
  }
  
  .price-card.featured {
    transform: none !important;
  }
  
  .gallery-item:hover img {
    transform: none !important;
  }
}

/* Focus Indicators for Accessibility */
@media (max-width: 767.98px) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 3px solid var(--primary-teal);
    outline-offset: 2px;
  }
}

/* Dark Mode Support (if needed) */

.hero-content {
    padding-top: 225px;
}