/* AR Interior Décor Catalog - Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Disable animations on mobile as per requirements */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
    
    /* Typography adjustments for mobile */
    :root {
        --h1-size: 1.75rem;
        --h2-size: 1.5rem;
        --h3-size: 1.25rem;
        --h4-size: 1.125rem;
        --h5-size: 1rem;
        --navbar-brand-size: 1.25rem;
    }
    
    /* Spacing adjustments */
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Hero section mobile */
    #hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    #hero .row {
        text-align: center;
    }
    
    #hero .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    /* Navigation mobile */
    .navbar-brand {
        font-size: var(--navbar-brand-size) !important;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Cards mobile layout */
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    overflow-x: hidden;
}
    
    /* Team section mobile */
    #team .col-lg-2 {
        margin-bottom: 2rem;
    }
    
    #team img {
        width: 100px;
        height: 100px;
    }
    
    /* Process section mobile */
    #process .col-lg-2 {
        margin-bottom: 2rem;
    }
    
    .process-step::after {
        display: none;
    }
    
    /* Gallery mobile */
    #gallery .col-lg-3,
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Contact form mobile */
    .form-control {
        margin-bottom: 1rem;
    }
    
    /* Footer mobile */
    #footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Button adjustments */
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    /* Table responsive */
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Still disable animations on small mobile devices */
    [data-sal] {
        animation-duration: 0.1s !important;
    }
    
    /* Typography adjustments */
    :root {
        --h1-size: 2rem;
        --h2-size: 1.75rem;
        --h3-size: 1.5rem;
        --navbar-brand-size: 1.375rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    /* Hero adjustments */
    #hero {
        padding-top: 80px;
    }
    
    /* Team grid adjustment */
    #team .col-lg-2 {
        margin-bottom: 1.5rem;
    }
    
    /* Process steps */
    #process .col-lg-2 {
        margin-bottom: 1.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Enable animations on tablets */
    [data-sal] {
        transition-duration: 0.3s;
    }
    
    /* Navbar adjustments */
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
    }
    
    /* Hero section */
    #hero {
        padding-top: 90px;
    }
    
    /* Services grid */
    #services .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Team layout */
    #team .col-lg-2 {
        margin-bottom: 1rem;
    }
    
    /* Process layout */
    #process .col-lg-2 {
        margin-bottom: 1rem;
    }
    
    .process-step::after {
        display: none;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Full animations enabled */
    [data-sal] {
        transition-duration: 0.5s;
    }
    
    /* Container adjustments */
    .container {
        max-width: 960px;
    }
    
    /* Process steps connection line */
    .process-step::after {
        display: block;
        right: -25%;
        width: 50%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Full animations and effects */
    [data-sal] {
        transition-duration: 0.5s;
    }
    
    .container {
        max-width: var(--container-max-width);
    }
    
    /* Process steps full connection */
    .process-step::after {
        display: block;
        right: -50%;
        width: 100%;
    }
    
    /* Enhanced hover effects on large screens */
    .card:hover {
        transform: translateY(-5px);
    }
    
    #team img:hover {
        transform: scale(1.1);
    }
    
    #gallery img:hover {
        transform: scale(1.05);
    }
}

/* Specific component responsive adjustments */

/* Services section responsive */
@media (max-width: 767.98px) {
    #services .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Features section responsive */
@media (max-width: 767.98px) {
    #features .col-lg-3 {
        margin-bottom: 2rem;
    }
}

/* Price plans responsive */
@media (max-width: 991.98px) {
    #priceplan .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Reviews section responsive */
@media (max-width: 767.98px) {
    #reviews .col-lg-4 {
        margin-bottom: 1.5rem;
    }
}

/* Case studies responsive */
@media (max-width: 767.98px) {
    #casestudy .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* FAQ responsive */
@media (max-width: 767.98px) {
    #faq .col-lg-6 {
        margin-bottom: 0;
    }
}

/* Additional pages responsive */
@media (max-width: 991.98px) {
    .col-lg-2 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .col-lg-2,
    .col-md-4 {
        margin-bottom: 2rem;
    }
}

/* Contact section responsive */
@media (max-width: 991.98px) {
    #contacts .col-lg-8 {
        margin-bottom: 2rem;
    }
}

/* Breadcrumb responsive */
@media (max-width: 575.98px) {
    .breadcrumb-item img {
        width: 16px;
        height: 16px;
    }
}

/* Utility responsive classes */
.text-center-mobile {
    text-align: center;
}

@media (min-width: 768px) {
    .text-center-mobile {
        text-align: left;
    }
}

.mb-mobile-2 {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .mb-mobile-2 {
        margin-bottom: 0;
    }
}

/* Print styles responsive */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    section {
        padding: 1rem 0;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn,
    .navbar,
    #footer {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--neutral-dark);
    }
    
    .btn-primary {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }
    
    .text-primary {
        color: #000 !important;
    }
}

/* Dark mode support */

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .nav-link {
        padding: 1rem;
    }
    
    .card {
        transform: none;
    }
    
    .card:hover {
        transform: none;
        box-shadow: var(--box-shadow-sm);
    }
} 