/* ==========================================
   AcousticStudio Pro - Responsive Styles
   Mobile-First Responsive Design
   ========================================== */

/* Mobile First Approach - Base styles for mobile */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography adjustments */
    .hero-section h1 {
        font-size: 1.89rem;
        padding-top: 120px;
    }
    
    .hero-section h2 {
        font-size: 1.37rem;
    }
    
    h1 {
        font-size: 1.90rem;
    }
    
    h2 {
        font-size: 1.57rem;
    }
    
    h3 {
        font-size: 1.35rem;
    }
    
    /* Navbar adjustments */
    .navbar-brand {
        font-size: 10px !important;
    }
    
    .nav-link {
        font-size: 10px !important;
    }
    
    /* Hero section */
    .hero-section {
        text-align: center;
        padding: 120px 0 80px;
    }
    
    /* Cards and spacing */
    .feature-card,
    .service-card .card-body,
    .price-card .card-body,
    .review-card .card-body,
    .case-study-card .card-body,
    .career-card .card-body,
    .info-card .card-body,
    .blog-card .card-body,
    .faq-card .card-body {
        padding: 1.5rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    /* Team members */
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    /* Process steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.30rem;
    }
    
    /* Gallery adjustments */
    .gallery .col-lg-3,
    .gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Section padding */
    section {
        padding: 3rem 0;
    }
    
    /* Equipment and service items */
    .equipment-item,
    .service-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Breadcrumb */
    .breadcrumb-nav {
        padding: 80px 0 15px;
    }
    
    .breadcrumb-img {
        height: 30px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero section */
    .hero-section h1 {
        font-size: 2rem;
        padding-top: 120px;
    }
    
    .hero-section h2 {
        font-size: 1.47rem;
    }
    
    /* Cards */
    .feature-card,
    .service-card .card-body,
    .price-card .card-body {
        padding: 1.75rem;
    }
    
    /* Team members */
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Section padding */
    section {
        padding: 4rem 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero section */
    .hero-section h1 {
        font-size: 2.32rem;
        padding-top: 120px;
    }
    
    .hero-section h2 {
        font-size: 1.57rem;
    }
    
    /* Price cards featured scaling */
    .price-card.featured {
        transform: scale(1.02);
    }
    
    /* Contact layout */
    .contact-info {
        margin-top: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Standard desktop styles - mostly inherit from main.css */
    
    /* Fine-tune featured price card */
    .price-card.featured {
        transform: scale(1.03);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Hero section for large screens */
    .hero-section h1 {
        font-size: 2.88rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.73rem;
    }
    
    /* Larger containers for very wide screens */
    .container {
        max-width: 1140px;
    }
    
    /* Enhanced hover effects for larger screens */
    .feature-card:hover,
    .service-card:hover,
    .equipment-item:hover,
    .service-item:hover {
        transform: translateY(-8px);
    }
}

/* Height-based media queries for very short screens */
@media (max-height: 600px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    #space {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section,
    #space {
        min-height: auto;
        padding: 100px 0 40px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 0.62rem;
        padding-top: 120px;
    }
    
    .hero-section h2 {
        font-size: 1.31rem;
        margin-bottom: 1rem;
    }
}

/* Print styles enhancements */
@media print {
    /* Hide interactive elements */
    .btn, button, input[type="submit"] {
        display: none !important;
    }
    
    /* Simplify layouts for print */
    .row {
        display: block !important;
    }
    
    .col-lg-6, .col-md-6, .col-sm-6,
    .col-lg-4, .col-md-4, .col-sm-4,
    .col-lg-3, .col-md-3, .col-sm-3 {
        width: 100% !important;
        float: none !important;
    }
    
    /* Ensure text is readable */
    body {
        font-size: 12pt !important;
        line-height: 1.4 !important;
        color: black !important;
    }
    
    h1, h2, h3, h4, h5 {
        color: black !important;
        page-break-after: avoid;
    }
    
    /* Remove shadows and effects */
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-study-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-card,
    .equipment-item,
    .service-item {
        box-shadow: none !important;
        border: 1px solid #e7e7e7 !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #0065b6;
        --accent-color: #df0500;
        --text-dark: #000000;
        --light-bg: #ffffff;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-study-card,
    .career-card,
    .info-card,
    .blog-card,
    .faq-card {
        border: 2px solid #000000 !important;
    }
    
    .btn-primary {
        background-color: #000000 !important;
        border-color: #000000 !important;
        color: #ffffff !important;
    }
    
    .btn-outline-primary {
        border-color: #000000 !important;
        color: #000000 !important;
    }
}

/* Specific component responsive adjustments */

/* Services grid */
@media (max-width: 767.98px) {
    .service-card .card-img-top {
        height: 180px;
    }
}

/* Team grid adjustments */
@media (max-width: 991.98px) {
    .team-member {
        margin-bottom: 2rem;
    }
}

/* Process steps responsive */
@media (max-width: 767.98px) {
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Timeline responsive */
@media (max-width: 991.98px) {
    .timeline-item {
        margin-bottom: 2rem;
    }
}

/* Gallery responsive */
@media (max-width: 575.98px) {
    .gallery [class*="col-"] {
        margin-bottom: 1rem;
    }
}

/* Contact form responsive improvements */
@media (max-width: 767.98px) {
    .contact-form .row .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* FAQ responsive adjustments */
@media (max-width: 991.98px) {
    .faq-card {
        margin-bottom: 1.69rem;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 767.98px) {
    /* Reduce animation complexity on mobile */
    .feature-card:hover,
    .service-card:hover,
    .equipment-item:hover,
    .service-item:hover {
        transform: none;
    }
    
    /* Simplify transitions on mobile */
    * {
        transition-duration: 0.2s !important;
    }
} 