/* Responsive CSS - Vintage Typewriter Repair */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
    .container-xxl {
        max-width: 1320px;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section h2 {
        font-size: 2.5rem;
    }
}

/* Large Screens (992px to 1199px) */
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 60px;
    }
    
    .timeline::after {
        left: 60px;
    }
}

/* Medium Screens (768px to 991px) */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
    }
    
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section img {
        margin-bottom: 2rem;
        max-height: 300px;
        object-fit: contain;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Team Grid */
    .team .row .col-lg-4:nth-child(n+4) {
        margin-top: 2rem;
    }
    
    /* Services Cards */
    .services .card {
        margin-bottom: 2rem;
    }
    
    /* Timeline Mobile */
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
    }
    
    .timeline-item::after {
        left: 40px;
    }
    
    .timeline::after {
        left: 40px;
    }
    
    /* Gallery */
    #gallery .col-lg-3 {
        margin-bottom: 1rem;
    }
}

/* Small Screens (576px to 767px) */
@media (max-width: 767.98px) {
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    /* Disable Swiper autoplay and effects on mobile */
    .swiper {
        --swiper-navigation-size: 24px;
    }
    
    .swiper-slide {
        padding: 0 10px;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Price */
    .price {
        font-size: 1.5rem;
    }
    
    /* Process Steps for Mobile */
    .process-step {
        padding: 1rem 0.5rem;
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer */
    footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Section Spacing */
    section {
        padding: 2rem 0;
    }
    
    /* Timeline Mobile Simplified */
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 10px;
    }
    
    .timeline-item::after {
        left: 10px;
        width: 20px;
        height: 20px;
    }
    
    /* Gallery Mobile */
    #gallery .col-6 {
        padding: 0.25rem;
    }
    
    /* Button Sizes */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Info Cards */
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* FAQ */
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

/* Extra Small Screens (up to 575px) */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-brand {
        font-size: 1.1rem !important;
    }
    
    .hero-section h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
    }
    
    /* Disable animations and effects on very small screens */
    .card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .process-step:hover {
        transform: none;
    }
    
    /* Swiper completely disabled autoplay */
    .swiper-autoplay {
        --swiper-autoplay-delay: 999999999;
    }
    
    /* Process Grid */
    .process .col-lg-2 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Team Grid */
    .team .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Services Grid */
    .services .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Features */
    .features .col-lg-6 {
        margin-bottom: 1rem;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 1rem;
    }
    
    .form-control {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Footer Mobile */
    footer {
        font-size: 0.85rem;
    }
    
    footer .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Gallery Extra Small */
    #gallery .col-6 {
        padding: 0.125rem;
    }
    
    /* Timeline Extra Small */
    .timeline-item {
        padding: 15px 10px 15px 35px;
        font-size: 0.9rem;
    }
    
    .timeline-item h5 {
        font-size: 1rem;
    }
}

/* Landscape Phone */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: 90vh;
    }
    
    .navbar-nav {
        flex-direction: row;
        justify-content: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.25rem 0.75rem !important;
    }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
    .hero-section {
        min-height: 60vh;
    }
    
    .services .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 2rem;
    }
    
    .team .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 2rem;
    }
}

/* Print Responsive */
@media print {
    .hero-section {
        min-height: auto !important;
        page-break-after: always;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        margin-bottom: 1rem !important;
    }
    
    .container {
        max-width: 100% !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-section::before {
        animation: none;
    }
    
    .swiper {
        --swiper-autoplay-delay: 999999999;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--text-color) !important;
    }
    
    .btn {
        border: 2px solid currentColor !important;
    }
    
    .navbar {
        border-bottom: 2px solid var(--accent-color);
    }
}

/* Focus Styles for Accessibility */
@media (any-hover: none) {
    .btn:focus,
    .form-control:focus,
    .nav-link:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }
} 