/* Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    .about-features,
    .services-grid,
    .features-grid,
    .pricing-grid,
    .team-grid,
    .core-info-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .about-features,
    .services-grid,
    .features-grid,
    .pricing-grid,
    .team-grid,
    .core-info-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
    
    .about-features,
    .services-grid,
    .features-grid,
    .pricing-grid,
    .team-grid,
    .core-info-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .service-item {
        margin-bottom: 20px;
    }
    
    .pricing-item.featured {
        transform: scale(1);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-2);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--neutral-100);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 0 30px 30px;
        transition: all 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0 0 20px 0;
    }
    
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Reduced Motion Query */
@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;
    }
    
    .service-item:hover,
    .about-feature:hover,
    .feature-item:hover,
    .core-info-item:hover,
    .blog-item:hover,
    .team-member:hover {
        transform: none !important;
    }
    
    .service-item:hover .service-img img,
    .blog-item:hover .blog-img img,
    .team-member:hover .team-img img,
    .gallery-item:hover img {
        transform: none !important;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .hero,
    .contact,
    .gallery,
    .blog {
        display: none;
    }
    
    body {
        color: #000;
        background-color: #fff;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    .about-feature,
    .service-item,
    .feature-item,
    .pricing-item,
    .team-member,
    .core-info-item {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
} 