/* Responsive CSS for Indie Band Directory */

/* Mobile devices (max-width: 767px) - Disable autoplay/effects as required */
@media (max-width: 767.98px) {
    body { overflow-x: hidden;
        padding-top: 70px;
    }
    
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 3rem;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 3rem;
        padding-right: 1rem;
        text-align: left;
    }
    
    /* Disable complex animations on mobile */
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover {
        transform: translateY(-2px);
    }
}

/* Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .team-member img {
        width: 110px;
        height: 110px;
    }
    
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item:nth-child(odd) {
        text-align: right;
        padding-right: calc(50% + 2rem);
    }
    
    .timeline-item:nth-child(even) {
        text-align: left;
        padding-left: calc(50% + 2rem);
    }
}

/* Large screens (992px and up) */
@media (min-width: 992px) {
    .price-card.featured {
        transform: scale(1.05);
    }
}

/* Extra large screens (1200px and up) */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 2.75rem;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover {
        transform: none !important;
    }
}

/* Focus management for accessibility */
.btn:focus,
.form-control:focus,
.navbar-toggler:focus {
    outline: 3px solid rgba(107, 70, 193, 0.5);
    outline-offset: 2px;
}
