/* Mobile First Responsive Design */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .team-member img {
        width: 150px;
        height: 150px;
    }
    
    /* Disable autoplay and effects on mobile for Swiper */
    .swiper {
        --swiper-autoplay-delay: 0;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    /* Disable autoplay and effects on mobile for Swiper */
    .swiper {
        --swiper-autoplay-delay: 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.75rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .feature-card, .service-card {
        margin-bottom: 2rem;
    }
    
    /* Enable autoplay and effects for tablets and up */
    .swiper {
        --swiper-autoplay-delay: 3000;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section h2 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 2.75rem;
    }
    
    .price-card.featured {
        transform: scale(1.05);
    }
    
    .hero-section {
        background-attachment: fixed;
    }
    
    /* Full functionality for desktop */
    .swiper {
        --swiper-autoplay-delay: 3000;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Print Styles */
@media print {
    .navbar, .hero-section, footer {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .service-card, .feature-card {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section {
        background-image: url('../ZEN_images/hero-bg@2x.webp');
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .swiper {
        --swiper-autoplay-delay: 0;
    }
    
    .fade-in, .slide-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .feature-card:hover, .service-card:hover {
        transform: none;
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Reserved for future dark mode implementation */
}

/* Touch Device Optimizations */
@media (pointer: coarse) {
    .btn, .nav-link, .accordion-button {
        min-height: 44px;
        min-width: 44px;
    }
    
    .form-control {
        min-height: 44px;
    }
}

/* Hover Support Detection */
@media (hover: hover) {
    .feature-card:hover, .service-card:hover {
        transform: translateY(-10px);
    }
    
    .btn-primary:hover {
        transform: translateY(-2px);
    }
}

@media (hover: none) {
    .feature-card:hover, .service-card:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
} 