/* Responsive Styles */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Tablets Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.625rem; }
    h4 { font-size: 1.375rem; }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* Tablets Portrait (768px - 991px) */
@media (max-width: 991px) {
    /* Navigation */
    .navbar-collapse {
        background: rgba(31, 41, 55, 0.95);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 10px;
    }
    
    /* Hero Section */
    .hero-section {
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    /* Cards */
    .service-card, .price-card, .team-card {
        margin-bottom: 2rem;
    }
    
    /* Process Items */
    .process-item {
        margin-bottom: 2rem;
    }
    
    /* Timeline */
    .timeline-item {
        margin-bottom: 1.5rem;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    /* Typography */
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.125rem; }
    
    .navbar-brand {
    font-size: 12px !important;
        font-size: 1.25rem !important;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.125rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    /* Cards Grid */
    .feature-card, .info-card {
        margin-bottom: 1.5rem;
    }
    
    /* Team */
    .team-card img {
        width: 120px;
        height: 120px;
    }
    
    /* Process */
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Gallery */
    .gallery-section .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
    }
    
    /* Disable Swiper autoplay on mobile */
    .swiper {
        --swiper-autoplay: 0;
    }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
    /* Typography */
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1.125rem; }
    
    p {
        font-size: 0.9375rem;
    }
    
    /* Navigation */
    .navbar-brand {
    font-size: 12px !important;
        font-size: 1.125rem !important;
    }
    
    .navbar-nav .nav-link {
    font-size: 10px !important;
        font-size: 0.9375rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-section p {
        font-size: 0.9375rem;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    /* Cards */
    .service-card, .price-card, .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .service-card img {
        height: 180px;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.9375rem;
        padding: 0.625rem 1.5rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.75rem;
    }
    
    /* Forms */
    .form-control, .form-select {
        font-size: 0.9375rem;
        padding: 0.625rem 0.875rem;
    }
    
    /* FAQ */
    .accordion-button {
        font-size: 0.9375rem;
        padding: 0.875rem 1rem;
    }
    
    /* Contact Info */
    .contact-info p {
        font-size: 0.875rem;
    }
    
    /* Price Cards */
    .price-card.featured {
        transform: scale(1);
    }
    
    /* Timeline */
    .timeline-item {
        padding-left: 2rem;
    }
    
    .timeline-item h4 {
        font-size: 1.125rem;
    }
    
    /* Additional Pages */
    .benefit-item i, .area-item i {
        font-size: 1.5rem;
    }
    
    /* Breadcrumb */
    .breadcrumb-section {
        margin-top: 60px;
    }
    
    /* Space Section */
    #space {
        padding-top: 60px !important;
    }
}

/* Extra Small Devices (below 320px) */
@media (max-width: 319px) {
    body {
        font-size: 13px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1rem; }
    
    .navbar-brand {
    font-size: 12px !important;
        font-size: 1rem !important;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .gallery-section, .contact-form {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    .container {
        max-width: 100%;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-section::before {
        animation: none;
    }
    
    /* Disable Swiper animations */
    .swiper-wrapper {
        transition-duration: 0ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0033cc;
        --secondary-color: #cc0000;
        --accent-color: #ffcc00;
        --dark-color: #000000;
        --light-color: #ffffff;
    }
    
    .btn-primary {
        background: var(--primary-color);
        border: 2px solid var(--primary-color);
    }
    
    .form-control:focus,
    .form-select:focus {
        outline: 3px solid var(--primary-color);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #e0e0e0;
    }
    
    .header {
        background: #1a1a1a;
    }
    
    .card, .feature-card, .service-card, .price-card,
    .team-card, .review-card, .case-card, .career-item,
    .info-card, .contact-form {
        background: #1e1e1e;
        color: #e0e0e0;
    }
    
    .form-control, .form-select {
        background: #2a2a2a;
        color: #e0e0e0;
        border-color: #3a3a3a;
    }
    
    .bg-light {
        background-color: #1a1a1a !important;
    }
}

/* Landscape Orientation Specific */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .navbar {
        padding: 0.25rem 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn, .nav-link, a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .form-control, .form-select {
        min-height: 44px;
    }
} 