/* AR Interior Design Studio - Responsive CSS */

/* Mobile First Approach - Base styles for mobile devices */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    /* Typography adjustments for mobile */
    #hero-title-1 {
        font-size: 2rem;
    }
    
    #hero-subtitle-1 {
        font-size: 1.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    h4 {
        font-size: 1rem;
    }
    
    /* Header adjustments */
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    /* Section padding reduction */
    section {
        padding: 40px 0;
    }
    
    /* Card adjustments */
    .feature-card, .service-card, .price-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Team member adjustments */
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .team-member h4 {
        font-size: 0.9rem;
    }
    
    .team-member p {
        font-size: 0.8rem;
    }
    
    /* Process and timeline adjustments */
    .step-number, .year {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    /* Contact form adjustments */
    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Gallery adjustments */
    .gallery-item img {
        height: 200px;
    }
    
    /* Blog post adjustments */
    .blog-post img {
        height: 150px;
    }
    
    /* Additional pages items */
    .ar-tech-item, .ar-app-item, .ar-benefit, .ar-tool, .ar-future,
    .design-style, .room-category, .material-texture, .lighting-solution {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .ar-app-item img, .design-style img, .material-texture img {
        height: 120px;
    }
    
    /* Color palette adjustments */
    .color-palette {
        width: 60px;
        height: 60px;
    }
    
    /* Case study adjustments */
    .case-study img {
        height: 150px;
    }
    
    /* Space page adjustments */
    #space::before {
        font-size: 1.5rem;
    }
    
    /* NO ANIMATIONS on mobile as per requirements */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    /* Remove hover effects on mobile */
    .feature-card:hover, .service-card:hover, .price-card:hover,
    .ar-tech-item:hover, .ar-app-item:hover, .ar-benefit:hover, .ar-tool:hover, .ar-future:hover,
    .design-style:hover, .room-category:hover, .material-texture:hover, .lighting-solution:hover,
    .info-item:hover, .case-study:hover, .blog-post:hover {
        transform: none;
        box-shadow: 0 4px 20px var(--shadow-light);
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #hero-title-1 {
        font-size: 2.3rem;
    }
    
    #hero-subtitle-1 {
        font-size: 1.3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .gallery-item img {
        height: 220px;
    }
    
    .blog-post img {
        height: 170px;
    }
    
    .ar-app-item img, .design-style img, .material-texture img {
        height: 130px;
    }
    
    .case-study img {
        height: 170px;
    }
    
    /* Reduce animations on smaller tablets */
    @media (max-width: 767.98px) {
        * {
            animation-duration: 0.2s !important;
            transition-duration: 0.2s !important;
        }
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #hero-title-1 {
        font-size: 2.5rem;
    }
    
    #hero-subtitle-1 {
        font-size: 1.4rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .gallery-item img {
        height: 240px;
    }
    
    .blog-post img {
        height: 180px;
    }
    
    .ar-app-item img, .design-style img, .material-texture img {
        height: 140px;
    }
    
    .case-study img {
        height: 180px;
    }
    
    /* Price card featured scaling adjustment */
    .price-card.featured {
        transform: scale(1.02);
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .gallery-item img {
        height: 260px;
    }
    
    .blog-post img {
        height: 190px;
    }
    
    .ar-app-item img, .design-style img, .material-texture img {
        height: 145px;
    }
    
    .case-study img {
        height: 190px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section {
        min-height: 100vh;
    }
    
    #hero-title-1 {
        font-size: 3.2rem;
    }
    
    #hero-subtitle-1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .container {
        max-width: 1140px;
    }
    
    .gallery-item img {
        height: 280px;
    }
    
    .blog-post img {
        height: 200px;
    }
    
    .ar-app-item img, .design-style img, .material-texture img {
        height: 150px;
    }
    
    .case-study img {
        height: 200px;
    }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    #hero-title-1 {
        font-size: 3.5rem;
    }
    
    section {
        padding: 80px 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for retina displays */
    .navbar {
        backdrop-filter: blur(15px);
    }
    
    .feature-card, .service-card, .price-card {
        box-shadow: 0 2px 10px var(--shadow-light);
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 70vh;
    }
    
    #hero-title-1 {
        font-size: 2rem;
    }
    
    #hero-subtitle-1 {
        font-size: 1.2rem;
    }
    
    section {
        padding: 30px 0;
    }
}

/* Print Styles */
@media print {
    .navbar, footer, .breadcrumb-section {
        display: none;
    }
    
    body {
        padding-top: 0;
        font-size: 12pt;
        line-height: 1.5;
        color: black;
    }
    
    .hero-section, section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
    
    .feature-card, .service-card, .price-card {
        border: 1px solid #e1e1e1;
        box-shadow: none;
        page-break-inside: avoid;
        margin-bottom: 10px;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .btn {
        border: 1px solid #d1d1d1;
        background: none;
        color: black;
    }
}

/* Accessibility Improvements */

/* Reduced motion preferences - enhanced */
@media (prefers-reduced-motion: reduce) {
    /* Remove all animations and transitions */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Remove transform effects */
    .feature-card:hover, .service-card:hover, .price-card:hover,
    .ar-tech-item:hover, .ar-app-item:hover, .ar-benefit:hover, .ar-tool:hover, .ar-future:hover,
    .design-style:hover, .room-category:hover, .material-texture:hover, .lighting-solution:hover,
    .info-item:hover, .case-study:hover, .blog-post:hover, .gallery-item:hover, .btn-primary:hover {
        transform: none !important;
    }
    
    .gallery-item:hover img {
        transform: none !important;
    }
    
    /* Remove loading animations */
    .loading::after {
        animation: none !important;
    }
}

/* Focus Management */
@media (any-hover: none) {
    /* Touch devices - remove hover effects */
    .feature-card:hover, .service-card:hover, .price-card:hover,
    .ar-tech-item:hover, .ar-app-item:hover, .ar-benefit:hover, .ar-tool:hover, .ar-future:hover,
    .design-style:hover, .room-category:hover, .material-texture:hover, .lighting-solution:hover,
    .info-item:hover, .case-study:hover, .blog-post:hover, .gallery-item:hover {
        transform: none;
        box-shadow: 0 4px 20px var(--shadow-light);
    }
    
    .btn-primary:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Container Adjustments for Better Mobile Experience */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .col-6, .col-md-4, .col-lg-2, .col-lg-3, .col-lg-4 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Better spacing for medium screens */
@media (min-width: 768px) and (max-width: 991.98px) {
    .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Fix for team layout on mobile */
@media (max-width: 767.98px) {
    .team-member {
        margin-bottom: 2rem;
    }
}

/* Optimize form layout for mobile */
@media (max-width: 575.98px) {
    .contact-section .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .contact-section .row.mt-5 .col-lg-4 {
        margin-bottom: 1.5rem;
        text-align: center;
    }
} 

.hero-section h1 {
    padding-top: 250px;
}