/* Responsive Styles */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktops (992px to 1199px) */
@media (max-width: 1199px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.75rem;
    }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 5rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item::after {
        left: 30px;
    }
    
    .timeline-item .timeline-content {
        margin-left: 80px !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    .price-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    header.navbar {
        padding: 0.5rem 0;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 0 !important;
    }
    
    /* Cards */
    .service-card, .price-card, .case-card, .career-card, .info-card, .blog-card {
        margin-bottom: 1.5rem;
    }
    
    /* Team */
    .team-member img {
        width: 150px;
        height: 150px;
    }
    
    /* Process Steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Timeline */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::after {
        left: 20px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-item .timeline-content {
        margin-left: 60px !important;
        padding-left: 0 !important;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer */
    footer .row > div {
        margin-bottom: 2rem;
    }
    
    /* Disable Swiper autoplay on mobile */
    .swiper-container {
        --swiper-autoplay: 0;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    /* Typography */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    h3 {
        font-size: 1.15rem;
    }
    
    h4 {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.9rem;
    }
    
    /* Hero Section */
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.15rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1.5rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.6rem 1.75rem;
    }
    
    /* Cards */
    .feature-box, .service-card, .price-card, .case-card, .career-card, .info-card {
        padding: 1.5rem;
    }
    
    .service-card h4, .case-card h4, .blog-card h4 {
        padding: 0.75rem 1rem 0;
    }
    
    .service-card p, .case-card p, .blog-card p {
        padding: 0 1rem;
    }
    
    .service-card .price {
        font-size: 1.25rem;
    }
    
    /* Price Tag */
    .price-tag {
        font-size: 1.5rem;
    }
    
    /* Team */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Icons */
    .fa-3x {
        font-size: 2.5em !important;
    }
    
    /* Gallery */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
}

/* Extra Small Devices (up to 400px) */
@media (max-width: 400px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.35rem;
    }
    
    .hero-section h2 {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
}

/* Landscape Mode Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
}

/* Print Styles */
@media print {
    header, footer, .btn, .swiper-pagination {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        background: white !important;
        color: black !important;
    }
    
    .hero-section h1, .hero-section h2, .hero-section p {
        color: black !important;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .hero-section::before {
        animation: none !important;
    }
    
    /* Disable Swiper effects */
    .swiper-container {
        --swiper-effect: slide !important;
        --swiper-speed: 0 !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #fff;
        --accent-color: #ff0;
        --text-primary: #000;
        --text-secondary: #333;
        --bg-light: #fff;
        --bg-dark: #000;
    }
    
    .btn-primary {
        background: #000 !important;
        color: #fff !important;
        border: 2px solid #fff !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #ecf0f1;
        --text-secondary: #bdc3c7;
        --bg-light: #2c3e50;
        --bg-dark: #1a252f;
    }
    
    body {
        background: var(--bg-dark);
        color: var(--text-primary);
    }
    
    .bg-light {
        background-color: var(--bg-light) !important;
    }
    
    .navbar {
        background: rgba(26, 37, 47, 0.95) !important;
    }
    
    .navbar-light .navbar-nav .nav-link {
  font-size: 12px !important;
        color: var(--text-primary);
    }
    
    .feature-box, .service-card, .price-card, .case-card, .career-card, .info-card, .blog-card, .review-card, .contact-form {
        background: var(--bg-light);
        color: var(--text-primary);
    }
    
    .accordion-button {
        background: var(--bg-light);
        color: var(--text-primary);
    }
    
    .form-control {
        background: var(--bg-dark);
        color: var(--text-primary);
        border-color: #34495e;
    }
} 