/* Smart City Noise Monitoring - Responsive Styles */

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .process-step {
        padding: 2.5rem;
    }
    
    .timeline-item {
        padding: 2rem;
    }
    
    .feature-card {
        height: 100%;
    }
}

/* Desktop Styles (992px and up) */
@media (min-width: 992px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1.5rem;
    }
    
    .process-step {
        padding: 3rem;
    }
    
    .timeline-item {
        padding: 2.5rem;
    }
    
    .feature-item {
        height: 100%;
    }
    
    .analytics-card,
    .compliance-card,
    .deployment-option,
    .deployment-feature,
    .enterprise-item,
    .analytics-feature,
    .integration-item,
    .support-item,
    .innovation-item {
        height: 100%;
    }
}

/* Mobile Styles (767px and below) */
@media (max-width: 767px) {
    /* Typography adjustments for mobile */
    h1, .display-4, .display-5 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.80rem;
    }
    
    h3, h4, h5, h6 {
        font-size: 1.19rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Hero section mobile */
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-section .container-fluid {
        padding: 0 1rem;
    }
    
    /* Navigation mobile */
    .navbar-brand {
        font-size: 1.14rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    /* Button adjustments */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Card adjustments */
    .card-img-top {
        height: 180px;
    }
    
    /* Feature items mobile */
    .feature-item {
        margin-bottom: 1.70rem;
        padding: 1.5rem;
    }
    
    .feature-item i {
        font-size: 2rem;
    }
    
    /* Process steps mobile */
    .process-step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.38rem;
    }
    
    /* Timeline mobile */
    .timeline-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .timeline-year {
        font-size: 1.36rem;
    }
    
    /* Team member mobile */
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Price display mobile */
    .price-display {
        padding: 0.75rem;
    }
    
    .price-tag {
        font-size: 1.27rem;
    }
    
    /* Form adjustments */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Footer mobile */
    footer {
        text-align: center;
    }
    
    footer .col-md-4 {
        margin-bottom: 2rem;
    }
    
    /* Sections mobile */
    section {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Gallery mobile */
    .gallery img {
        margin-bottom: 1rem;
    }
    
    /* Contact section mobile */
    #contact .col-md-4 {
        margin-bottom: 2rem;
    }
    
    /* Breadcrumb mobile */
    .breadcrumb-icon {
        height: 20px;
    }
    
    /* Space page mobile */
    #space {
        padding: 2rem 0;
    }
}

/* Small mobile devices (576px and below) */
@media (max-width: 576px) {
    /* Even smaller typography */
    h1, .display-4, .display-5 {
        font-size: 1.80rem;
    }
    
    h2 {
        font-size: 1.52rem;
    }
    
    /* Hero section extra small */
    .hero-section {
        min-height: 60vh;
        padding: 1.5rem 0;
    }
    
    /* Cards extra small */
    .card-img-top {
        height: 150px;
    }
    
    /* Feature items extra small */
    .feature-item {
        padding: 1rem;
    }
    
    .feature-item i {
        font-size: 1.64rem;
    }
    
    /* Process steps extra small */
    .process-step {
        padding: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Timeline extra small */
    .timeline-item {
        padding: 1rem;
    }
    
    /* Team member extra small */
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    /* Price display extra small */
    .price-display {
        padding: 0.5rem;
    }
    
    .price-tag {
        font-size: 1.20rem;
    }
    
    /* Sections extra small */
    section {
        padding: 1.5rem 0;
    }
    
    .py-5 {
        padding-top: 1.67rem;
        padding-bottom: 1.74rem;
    }
    
    /* Button adjustments */
    .btn {
        width: 100%;
        margin-bottom: 0.77rem;
    }
    
    .btn-group .btn,
    .btn-toolbar .btn {
        width: auto;
    }
}

/* Landscape mobile devices */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 80vh;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .breadcrumb-icon {
        height: 24px;
    }
    
    .team-member img {
        border-width: 2px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .breadcrumb-nav,
    footer,
    .btn,
    .form-control,
    .form-check {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
    }
    
    .hero-section {
        background: white;
        color: black;
    }
    
    .feature-card,
    .card,
    .feature-item,
    .analytics-card,
    .compliance-card,
    .deployment-option,
    .deployment-feature,
    .enterprise-item,
    .analytics-feature,
    .integration-item,
    .support-item,
    .innovation-item {
        background: white;
        border: 1px solid #d2caca;
        box-shadow: none;
    }
    
    section {
        padding: 1rem 0;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .feature-card:hover,
    .card:hover,
    .feature-item:hover,
    .analytics-card:hover,
    .compliance-card:hover,
    .deployment-option:hover,
    .deployment-feature:hover,
    .enterprise-item:hover,
    .analytics-feature:hover,
    .integration-item:hover,
    .support-item:hover,
    .innovation-item:hover,
    .timeline-item:hover,
    .career-card:hover,
    .info-item:hover,
    .case-study-card:hover {
        transform: none;
    }
    
    .team-member:hover img {
        transform: none;
    }
    
    .feature-item:hover i {
        transform: none;
    }
    
    .gallery img:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .feature-card,
    .card,
    .feature-item,
    .analytics-card,
    .compliance-card,
    .deployment-option,
    .deployment-feature,
    .enterprise-item,
    .analytics-feature,
    .integration-item,
    .support-item,
    .innovation-item {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }
    
    .btn-outline-primary {
        border-color: #000;
        color: #000;
    }
} 

.hero-section h1 {
    padding-top: 100px;
}