/* Responsive Design for ASMR Commissions Template */

/* Tablet Styles */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.08rem;
    }
    
    .hero-section h2 {
        font-size: 1.52rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .price-card.featured {
        transform: scale(1.02);
    }
    
    .timeline-item {
        width: 80%;
        margin-left: 10% !important;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Disable autoplay and effects for Swiper on mobile */
    .swiper {
        --swiper-autoplay-delay: 0;
    }
    
    .hero-section {
  padding-top: 50px;
        padding: 2rem 0;
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 1.88rem;
    }
    
    .hero-section h2 {
        font-size: 1.35rem;
    }
    
    .hero-section p {
        font-size: 1.08rem;
    }
    
    /* Conservative font sizes for mobile */
    .navbar-brand {
        font-size: 1.21rem !important;
    }
    
    h1 {
        font-size: 1.88rem;
    }
    
    h2 {
        font-size: 1.52rem;
    }
    
    h3 {
        font-size: 1.33rem;
    }
    
    p {
        font-size: 1.08rem;
    }
    
    /* Timeline adjustments for mobile */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 40px);
        margin-left: 40px !important;
    }
    
    .timeline-item::before {
        left: -35px !important;
    }
    
    /* Cards adjustments */
    .feature-card, .service-card, .price-card, .review-card {
        padding: 1rem;
        margin-bottom: 1.13rem;
    }
    
    .price-card.featured {
        transform: none;
        border: 2px solid var(--primary-color);
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .service-card .card-img-top {
        height: 150px;
    }
    
    /* Contact form adjustments */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Process steps mobile layout */
    .process-step {
        margin-bottom: 2.10rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }
    
    /* Blog cards mobile */
    .blog-card img {
        height: 150px;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    /* Case study cards mobile */
    .case-study-card img {
        height: 150px;
    }
    
    /* Gallery mobile adjustments */
    #gallery .col-md-3 {
        margin-bottom: 1.13rem;
    }
    
    /* Footer mobile adjustments */
    footer .col-md-4 {
        margin-bottom: 2.10rem;
        text-align: center;
    }
    
    /* Breadcrumb mobile */
    .breadcrumb-nav {
        padding: 80px 0 15px;
    }
    
    .breadcrumb-img {
        width: 30px;
        height: 30px;
    }
    
    /* Navigation mobile */
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
}

/* Small Mobile Styles */
@media (max-width: 576px) {
    .hero-section {
  padding-top: 50px;
        padding: 1.5rem 0;
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 1.65rem;
    }
    
    .hero-section h2 {
        font-size: 1.21rem;
    }
    
    .hero-section .col-lg-6 {
        margin-bottom: 2.10rem;
    }
    
    /* Even more conservative font sizes */
    h1 {
        font-size: 1.65rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    h3 {
        font-size: 1.21rem;
    }
    
    p {
        font-size: 1.08rem;
    }
    
    .team-photo {
        width: 70px;
        height: 70px;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 1.08rem;
    }
    
    .feature-card, .service-card, .price-card, .review-card {
        padding: 0.8rem;
    }
    
    .service-card .price, .price-card .price {
        font-size: 1.33rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.08rem;
    }
}

/* Accessibility and Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    /* Disable all animations and transitions for users who prefer reduced motion */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Disable Swiper autoplay and transitions */
    .swiper {
        --swiper-autoplay-delay: 0;
    }
    
    .swiper-slide {
        transition: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .feature-card, .service-card, .price-card, .review-card {
        border: 2px solid var(--text-color);
    }
    
    .btn-primary {
        border: 2px solid var(--primary-color);
    }
    
    .team-photo {
        border-width: 4px;
    }
}

/* Print Styles */
@media print {
    .navbar, .breadcrumb-nav, footer, .btn, .swiper-pagination {
        display: none !important;
    }
    
    .hero-section {
  padding-top: 50px;
        background: none !important;
        color: black !important;
        min-height: auto;
    }
    
    .feature-card, .service-card, .price-card, .review-card {
        box-shadow: none;
        border: 1px solid #b9b9b9;
        break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1 { font-size: 18pt; }
    h2 { font-size: 16pt; }
    h3 { font-size: 14pt; }
} 