/* Responsive CSS for AmbientFlow - Mobile First Approach */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    /* Typography adjustments for mobile */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-section .container {
        padding: 0 15px;
    }
    
    /* Navigation Mobile */
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Service Cards Mobile */
    .service-card img {
        height: 150px;
    }
    
    .service-card .price {
        font-size: 1.2rem;
    }
    
    /* Price Cards Mobile */
    .price-large {
        font-size: 2rem;
    }
    
    /* Team Members Mobile */
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    /* Timeline Mobile */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        justify-content: flex-start;
        padding-left: 50px;
    }
    
    .timeline-content {
        max-width: 100%;
    }
    
    /* Process Steps Mobile */
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Contact Form Mobile */
    .contact-form,
    .contact-info {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Gallery Mobile */
    #gallery .col-lg-3 {
        margin-bottom: 1rem;
    }
    
    /* Cards Mobile Spacing */
    .feature-card,
    .service-card,
    .review-card,
    .case-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-card {
        margin-bottom: 1.5rem;
    }
    
    /* Button Mobile */
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Sections Mobile Padding */
    section {
        padding: 2rem 0;
    }
    
    /* No animations on mobile for better performance */
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover,
    .case-card:hover,
    .career-card:hover,
    .info-card:hover,
    .blog-card:hover,
    .faq-card:hover {
        transform: none;
    }
    
    /* Mobile breadcrumb */
    .breadcrumb-img {
        height: 24px;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        padding-top: 90px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .price-large {
        font-size: 2.2rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Timeline adjustments */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    /* Service cards */
    .service-card img {
        height: 180px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding-top: 80px;
    }
    
    /* Team member grid adjustment */
    .team-member {
        margin-bottom: 2rem;
    }
    
    /* Timeline back to center for tablets */
    .timeline::before {
        left: 50%;
    }
    
    .timeline-item {
        padding-left: 0;
        justify-content: center;
    }
    
    /* Service cards */
    .service-card img {
        height: 200px;
    }
    
    /* Contact form layout */
    .contact-form {
        margin-bottom: 2rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Standard desktop styles - most styles are already optimized for this range */
    
    .hero-section {
        padding-top: 80px;
    }
    
    /* Ensure proper spacing for feature cards */
    .feature-card {
        height: 100%;
    }
    
    /* Price cards featured scaling */
    .price-card.featured {
        transform: scale(1.03);
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Enhanced spacing for large screens */
    .container {
        max-width: 1140px;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .hero-section {
        padding-top: 80px;
    }
    
    /* Larger cards spacing */
    .service-card img {
        height: 220px;
    }
    
    /* Enhanced hover effects for larger screens */
    .feature-card:hover {
        transform: translateY(-8px);
    }
    
    .service-card:hover {
        transform: translateY(-10px);
    }
    
    /* Timeline enhanced for large screens */
    .timeline-content {
        max-width: 450px;
    }
}

/* XXL Devices (extra large desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* Even more spacing for very large screens */
    section {
        padding: 6rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .price-large {
        font-size: 3rem;
    }
    
    /* Enhanced card dimensions */
    .service-card img {
        height: 250px;
    }
    
    .team-member img {
        width: 140px;
        height: 140px;
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 568px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    /* Reduce section padding in landscape on mobile */
    section {
        padding: 2rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Enhance shadows and borders for retina displays */
    .feature-card,
    .service-card,
    .review-card,
    .case-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-card {
        box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb-section,
    footer,
    .btn,
    #gallery {
        display: none;
    }
    
    .hero-section {
        background: white;
        color: black;
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-section h1,
    .hero-section h2,
    .hero-section p {
        color: black;
        text-shadow: none;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .card {
        border: 1px solid #c3b4b4;
        box-shadow: none;
    }
}

/* Dark Mode Support (if user prefers dark color scheme) */

/* Accessibility - Focus States */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus,
    .form-control:focus,
    .nav-link:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Motion Reduction */
@media (prefers-reduced-motion: reduce) {
    .hero-section,
    .feature-card,
    .service-card,
    .review-card,
    .case-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-card {
        transition: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover,
    .case-card:hover,
    .career-card:hover,
    .info-card:hover,
    .blog-card:hover,
    .faq-card:hover {
        transform: none;
    }
} 