/* 
 * Audiobook Narration Platform - Responsive CSS
 * Mobile-first responsive design for all screen sizes
 */

/* Base Mobile Styles (320px and up) */
@media (min-width: 320px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .footer-links {
    margin-bottom: 2rem;
  }
}

/* Small Mobile Styles (480px and up) */
@media (min-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Tablet Portrait Styles (768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 750px;
    padding: 0 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .footer-content {
    text-align: left;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1.5rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .team-image {
    width: 120px;
    height: 120px;
  }
}

/* Tablet Landscape Styles (992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 970px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-subtitle {
    font-size: 1.125rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .review-card {
    margin-bottom: 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1.5rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .team-image {
    width: 150px;
    height: 150px;
  }
  
  .service-image {
    height: 220px;
  }
}

/* Desktop Styles (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
  
  .navbar-brand {
    font-size: 1.6rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .hero {
    padding-top: 140px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  
  .contact-form {
    padding: 3.5rem;
  }
  
  .team-image {
    width: 180px;
    height: 180px;
  }
  
  .service-image {
    height: 250px;
  }
}

/* Large Desktop Styles (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .section-subtitle {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.7rem;
  }
  
  .section {
    padding: 7rem 0;
  }
  
  .hero {
    padding-top: 160px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
  }
  
  .contact-form {
    padding: 4rem;
  }
  
  .team-image {
    width: 200px;
    height: 200px;
  }
  
  .service-image {
    height: 280px;
  }
}

/* Ultra-wide Desktop Styles (1600px and up) */
@media (min-width: 1600px) {
  .container {
    max-width: 1500px;
  }
  
  .hero-title {
    font-size: 4.5rem;
  }
  
  .section-title {
    font-size: 3.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1.3rem;
  }
  
  .navbar-brand {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 8rem 0;
  }
  
  .hero {
    padding-top: 180px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  }
  
  .contact-form {
    padding: 4.5rem;
  }
  
  .team-image {
    width: 220px;
    height: 220px;
  }
  
  .service-image {
    height: 300px;
  }
}

/* Specific Mobile Navigation Styles */
@media (max-width: 991px) {
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    background: rgba(74, 144, 226, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Mobile-specific hero adjustments */
@media (max-width: 767px) {
  .hero {
    text-align: center;
    padding-top: 80px;
  }
  
  .hero-content {
    margin-bottom: 2rem;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* Mobile-specific section adjustments */
@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .team-image {
    width: 100px;
    height: 100px;
  }
  
  .service-image {
    height: 180px;
  }
  
  .footer-content {
    margin-bottom: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero,
  footer,
  .contact {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
    color: #000;
  }
  
  .section-subtitle {
    font-size: 1rem;
    color: #333;
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .review-card {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
  
  .gallery-grid {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  p {
    orphans: 3;
    widows: 3;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0056b3;
    --secondary-color: #e6a800;
    --accent-color: #dc3545;
    --success-color: #198754;
    --info-color: #6f42c1;
    --gray: #495057;
    --dark-gray: #212529;
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .contact-form {
    border: 2px solid var(--dark-gray);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-color);
  }
  
  .form-control {
    border: 2px solid var(--gray);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .review-card:hover,
  .gallery-item:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  .navbar-nav .nav-link:hover {
    transform: none;
  }
  
  .animate-fadeInUp,
  .animate-fadeIn {
    animation: none;
  }
}

/* Dark mode support (for future implementation) */
