/* Responsive Styles */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero {
        height: auto;
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-bg {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        opacity: 0.3;
    }
    
    .section-title h2 {
        font-size: var(--font-size-2xl);
    }
    
    .services-grid, .features-grid, .pricing-grid, .coreinfo-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-image {
        width: 150px;
        height: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Swiper adjustments for mobile */
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: var(--font-size-xl);
    }
    
    .section-title p {
        font-size: var(--font-size-base);
    }
    
    .about-feature {
        padding: 1rem;
    }
    
    .service-content, .pricing-content {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
}

/* Portrait Orientation */
@media (orientation: portrait) {
    .hero {
        height: 80vh;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .swiper-container {
        --swiper-autoplay-delay: 0; /* Disable autoplay */
    }
}

/* Large screen optimizations */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --light-gray: #2a2a2a;
        --medium-gray: #444444;
        --dark-gray: #bbbbbb;
        --black: #f7f7f7;
    }
    
    .header, .footer {
        background-color: #121212;
    }
    
    .service-card, .pricing-card, .blog-card, .review-card, .contact-form, .accordion-item {
        background-color: #222222;
    }
    
    img {
        filter: brightness(0.8);
    }
} 