/* Responsive Styles for AI Narrative Game Writing Tool */

/* Mobile First Approach */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  .sal-animate {
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Hero section */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Section spacing */
  section {
    padding: 3rem 0;
  }
  
  /* Cards */
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Gallery grid */
  .gallery-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem 0;
  }
  
  /* Step numbers */
  .step-number {
    width: 40px;
    height: 40px;
  }
  
  /* Price values */
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-section {
    min-height: 90vh;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Navbar adjustments */
  .navbar-nav {
    margin-left: auto;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .gallery-row {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Enhanced hover effects for desktop */
  .service-card:hover,
  .team-card:hover,
  .feature-item:hover {
    transform: translateY(-8px);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
  
  .hero-decorative {
    width: 300px;
    height: 300px;
  }
  
  .hero-decorative::before {
    width: 200px;
    height: 200px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none;
  }
  
  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .hero-section {
    min-height: auto;
    background: none;
  }
} 

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