/* Responsive Styles */

/* Tablet Landscape */
@media (max-width: 1199px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .timeline-item {
        width: 48%;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        font-size: 0.9rem;
        right: -60px;
        left: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: -60px;
        right: auto;
    }
}

/* Tablet Portrait */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-light .navbar-nav .nav-link {
    font-size: 10px !important;
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h3 {
        font-size: 1.5rem;
    }
    
    .price-card.featured {
        transform: scale(1);
        margin-top: 1rem;
    }
    
    .timeline-container:before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 60px !important;
        margin-bottom: 2rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: -40px;
        right: auto;
        font-size: 0.8rem;
    }
}

/* Mobile Landscape */
@media (max-width: 767px) {
    /* Typography */
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    
    p {
        font-size: 0.9rem;
    }
    
    /* Navbar */
    .navbar-brand {
    font-size: 12px !important;
        font-size: 1.2rem;
    }
    
    /* Hero */
    .hero {
        min-height: 80vh;
        padding-top: 80px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero h3 {
        font-size: 1.25rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-shapes {
        display: none;
    }
    
    /* Sections */
    .section-padding {
        padding: 40px 0;
    }
    
    /* Cards */
    .feature-box,
    .service-card,
    .price-card,
    .career-card,
    .content-card {
        margin-bottom: 1.5rem;
    }
    
    /* Service Card */
    .service-img {
        height: 150px;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    /* Price Card */
    .price-amount {
        font-size: 2rem;
    }
    
    /* Team */
    .team-img {
        height: 250px;
    }
    
    /* Timeline */
    .timeline-container {
        padding-left: 0;
    }
    
    .timeline-container:before {
        left: 15px;
    }
    
    .timeline-item {
        margin-left: 40px !important;
        padding: 1.5rem;
    }
    
    .timeline-date {
        position: static !important;
        margin-bottom: 1rem;
        display: inline-block;
    }
    
    /* Process */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
        margin-top: 50px;
    }
    
    /* Swiper - Disable autoplay on mobile */
    .swiper {
        --swiper-autoplay: 0 !important;
    }
}

/* Mobile Portrait */
@media (max-width: 575px) {
    /* Container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Hero */
    .hero {
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* Gallery */
    .gallery-img {
        margin-bottom: 10px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Blog */
    .blog-img,
    .case-img {
        height: 150px;
    }
}

/* Extra Small Devices */
@media (max-width: 359px) {
    h1 { font-size: 1.3rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }
    
    .navbar-brand {
    font-size: 12px !important;
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .price {
        font-size: 1.3rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    
    .hero-shapes {
        display: none;
    }
    
    /* Disable Swiper autoplay and effects */
    .swiper {
        --swiper-autoplay: 0 !important;
    }
    
    .swiper-wrapper {
        transition-timing-function: linear !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #1a3d1b;
        --secondary-color: #6b8e3f;
        --accent-color: #b8941f;
        --primary-light: #2d5a2e;
        --secondary-light: #8fb55f;
    }
    
    .btn-primary {
        border: 2px solid var(--accent-dark);
    }
    
    .form-control {
        border: 2px solid var(--dark-color);
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-shapes,
    .footer,
    .btn,
    .swiper-pagination {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .section-padding {
        padding: 20px 0;
    }
    
    .hero {
        min-height: auto;
        padding: 20px 0;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* Orientation Change */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section-padding {
        padding: 30px 0;
    }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .feature-box:hover,
    .service-card:hover,
    .price-card:hover,
    .team-member:hover,
    .case-card:hover,
    .career-card:hover,
    .content-card:hover,
    .blog-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
}

/* Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    .navbar-brand {
    font-size: 12px !important;
        image-rendering: crisp-edges;
    }
} 