/* AI-Assisted Storyboard Generator Template - Responsive Styles */
/* Bootstrap 5 compliant - NO custom grids or overrides */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  /* NO animations on mobile - strict rule */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Conservative mobile typography */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.2rem; }
  
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  
  /* Hero section mobile adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none; /* Remove decorative shapes on mobile */
  }
  
  /* Section padding reduction */
  .section {
    padding: 2rem 0;
  }
  
  /* Service cards mobile stack */
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  /* Team cards mobile adjustments */
  .team-img {
    height: 200px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Footer mobile adjustments */
  .footer {
    padding: 2rem 0 1rem 0;
    text-align: center;
  }
  
  /* Process numbers smaller on mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Gallery images mobile */
  .gallery-img {
    height: 200px;
  }
  
  /* Blog images mobile */
  .blog-img {
    height: 180px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-img {
    height: 220px;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-img {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  /* Full desktop experience */
  .hero-section {
    min-height: 100vh;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 95, 191, 0.15);
  }
  
  .team-card:hover {
    transform: translateY(-3px);
  }
  
  .blog-card:hover {
    transform: translateY(-3px);
  }
  
  .gallery-img:hover {
    transform: scale(1.05);
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  /* Larger decorative shapes for big screens */
  .hero-section::before {
    width: 250px;
    height: 250px;
  }
  
  .hero-section::after {
    width: 200px;
    height: 200px;
  }
}

/* High resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp images on retina displays */
  .team-img,
  .gallery-img,
  .blog-img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-section::before,
  .hero-section::after {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: none !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
}

/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-section::before,
  .hero-section::after {
    animation: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .blog-card {
    border: 2px solid currentColor;
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
}

/* Dark mode considerations */

.hero-section h1 {
    padding-top: 250px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
