/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 767.98px) {
    /* Mobile Navigation */
    .navbar-collapse {
        background: var(--neutral-light);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--neutral-color);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 6rem 0 4rem;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Section Spacing Mobile */
    .section-padding {
        padding: 3rem 0;
    }
    
    /* Typography Mobile */
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.375rem;
        --font-size-h4: 1.125rem;
        --font-size-h5: 1rem;
    }
    
    /* Cards Mobile */
    .feature-card,
    .service-card,
    .price-card,
    .case-card,
    .career-card,
    .info-card,
    .blog-card {
        margin-bottom: 2rem;
    }
    
    /* Team Mobile */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        max-width: 150px;
        margin: 0 auto 1rem;
    }
    
    /* Timeline Mobile */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 40px !important;
        margin-bottom: 1.5rem;
    }
    
    .timeline-item::before {
        content: '';
        position: absolute;
        left: -30px;
        top: 1.5rem;
        width: 20px;
        height: 20px;
        background: var(--primary-color);
        border-radius: 50%;
    }
    
    /* Process Mobile */
    .process-step {
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    /* Gallery Mobile */
    .gallery-section img {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    /* FAQ Mobile */
    .accordion-item h5 {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .accordion-item p {
        padding: 1rem;
    }
    
    /* Footer Mobile */
    .footer .col-md-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Breadcrumb Mobile */
    .breadcrumb-nav {
        padding: 1rem 0;
        text-align: center;
    }
    
    .breadcrumb-image {
        height: 30px;
    }
    
    /* Disable Swiper autoplay and effects on mobile */
    .swiper {
        --swiper-theme-color: var(--primary-color);
    }
    
    /* Page Sections Mobile */
    .page-section {
        padding: 3rem 0;
    }
    
    .element-card {
        margin-bottom: 1.5rem;
    }
    
    /* Space content mobile */
    .space-content {
        margin-top: 70px;
        min-height: 70vh;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    /* Hero adjustments for tablet */
    .hero-section {
        padding: 8rem 0 6rem;
    }
    
    /* Timeline tablet */
    .timeline-item {
        width: 48%;
    }
    
    .timeline-item:nth-child(odd) {
        margin-left: 0;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 52%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    /* Hero desktop */
    .hero-section {
        padding: 10rem 0 8rem;
    }
    
    /* Navigation desktop */
    .navbar {
        padding: 1.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.375rem !important;
    }
    
    /* Cards desktop hover effects */
    .feature-card:hover,
    .service-card:hover,
    .case-card:hover,
    .career-card:hover,
    .info-card:hover,
    .blog-card:hover {
        transform: translateY(-8px);
    }
    
    /* Timeline desktop */
    .timeline-item {
        width: 45%;
    }
    
    .timeline-item:nth-child(odd) {
        margin-left: 0;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 55%;
    }
    
    /* Process desktop */
    .process-step {
        padding: 2rem;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    /* Full desktop experience */
    .hero-section {
        padding: 12rem 0 10rem;
    }
    
    .section-padding {
        padding: 6rem 0;
    }
    
    /* Enhanced spacing */
    .feature-card,
    .service-card,
    .price-card {
        padding: 2.5rem;
    }
    
    /* Team grid adjustment */
    .team-member {
        padding: 1.5rem;
    }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* Maximum spacing for large screens */
    .hero-section {
        padding: 15rem 0 12rem;
    }
    
    .section-padding {
        padding: 8rem 0;
    }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Enhanced shadows and borders for high DPI displays */
    .feature-card,
    .service-card,
    .price-card,
    .case-card,
    .career-card,
    .info-card,
    .blog-card {
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }
    
    .navbar {
        box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    }
}

/* Landscape Orientation */
@media screen and (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .page-section {
        padding: 2rem 0;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb-nav,
    .footer {
        display: none;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
        padding: 2rem 0;
    }
    
    .section-padding,
    .page-section {
        padding: 1rem 0;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .case-card,
    .career-card,
    .info-card,
    .blog-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
} 