/* BikeShare Pro - Responsive CSS */
/* Mobile-first responsive design */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 2.62rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Hero section adjustments */
    #hero h1 {
        font-size: 2.79rem;
    }
    
    #hero h2 {
        font-size: 1.83rem;
    }
    
    #hero p {
        font-size: 1.39rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    /* Typography for large screens */
    h1 {
        font-size: 2.88rem;
    }
    
    h2 {
        font-size: 2.36rem;
    }
    
    /* Hero section for desktop */
    #hero h1 {
        font-size: 3rem;
    }
    
    #hero h2 {
        font-size: 2rem;
    }
    
    #hero p {
        font-size: 1.47rem;
    }
    
    /* Team member images larger on desktop */
    #team img {
        width: 150px;
        height: 150px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    /* Maximum typography sizes */
    #hero h1 {
        font-size: 3.35rem;
    }
    
    #hero h2 {
        font-size: 2.35rem;
    }
    
    #hero p {
        font-size: 1.62rem;
    }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Mobile-specific styles (up to 767px) */
@media (max-width: 767.98px) {
    /* NO ANIMATIONS ON MOBILE as per requirements */
    * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    /* Conservative font sizes on mobile */
    .navbar-brand {
        font-size: 1.35rem;
    }
    
    h1 {
        font-size: 2.00rem;
    }
    
    h2 {
        font-size: 1.66rem;
    }
    
    h3 {
        font-size: 1.50rem;
    }
    
    h4 {
        font-size: 1.19rem;
    }
    
    h5 {
        font-size: 1rem;
    }
    
    p {
        font-size: 1.01rem;
    }
    
    /* Hero section mobile */
    #hero {
        min-height: 80vh;
        padding-top: 2rem;
    }
    
    #hero h1 {
        font-size: 2rem;
        margin-bottom: 0.89rem;
    }
    
    #hero h2 {
        font-size: 1.42rem;
        margin-bottom: 1rem;
    }
    
    #hero p {
        font-size: 1rem;
    }
    
    /* Mobile padding adjustments */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Mobile button sizing */
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 1.06rem;
    }
    
    /* Mobile form controls */
    .form-control {
        padding: 0.625rem 0.75rem;
        font-size: 1.05rem;
    }
    
    /* Mobile card spacing */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Mobile team images */
    #team img {
        width: 100px;
        height: 100px;
    }
    
    /* Mobile gallery spacing */
    #gallery .col-lg-3 {
        margin-bottom: 0.94rem;
    }
    
    /* Mobile footer adjustments */
    footer .col-lg-4 {
        margin-bottom: 1.72rem;
    }
    
    /* Mobile breadcrumb */
    .breadcrumb {
        font-size: 0.96rem;
    }
    
    /* Mobile contact info stacking */
    #contact .row .col-lg-4 {
        margin-bottom: 1.61rem;
    }
    
    /* Mobile services grid */
    #services .col-lg-4 {
        margin-bottom: 1.69rem;
    }
    
    /* Mobile process steps */
    #process .col-lg-2 {
        margin-bottom: 1.74rem;
    }
    
    /* Mobile timeline */
    #timeline .col-lg-2 {
        margin-bottom: 1.63rem;
    }
    
    /* Mobile features grid */
    #ffef97tures .col-lg-3 {
        margin-bottom: 1.69rem;
    }
    
    /* Mobile about features */
    #about .col-lg-3 {
        margin-bottom: 1.57rem;
    }
    
    /* Mobile career cards */
    #career .col-lg-3 {
        margin-bottom: 1.71rem;
    }
    
    /* Mobile core info */
    #coreinfo .col-lg-4 {
        margin-bottom: 1.56rem;
    }
    
    /* Mobile additional page elements */
    .col-lg-2 {
        margin-bottom: 1.73rem;
    }
}

/* Tablet-specific styles (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Tablet typography */
    .navbar-brand {
        font-size: 1.43rem;
    }
    
    /* Tablet hero adjustments */
    #hero {
        min-height: 90vh;
    }
    
    /* Tablet team images */
    #team img {
        width: 130px;
        height: 130px;
    }
    
    /* Tablet grid adjustments */
    .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .col-md-4 {
        margin-bottom: 1rem;
    }
}

/* Print styles */
@media print {
    /* Hide navigation and interactive elements */
    .navbar,
    .btn,
    #gallery,
    footer {
        display: none !important;
    }
    
    /* Ensure text is readable */
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    /* Remove backgrounds and shadows */
    * {
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Ensure links are visible */
    a, a:visited {
        text-decoration: underline;
    }
    
    /* Page breaks */
    .page-break {
        page-break-before: always;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #0684c3;
        --primary-green: #0f9c1d;
        --primary-orange: #ff5f00;
        --primary-purple: #4700ca;
        --primary-teal: #008478;
        
        --dark-blue: #003e7a;
        --dark-green: #005603;
        --dark-orange: #d52207;
        --dark-purple: #380062;
        --dark-teal: #006c63;
    }
    
    .card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid #000;
    }
}

/* Reduced data mode */
@media (prefers-reduced-data: reduce) {
    /* Disable background images in reduced data mode */
    #hero {
        background: var(--light-blue);
    }
    
    /* Simplified shadows */
    .card {
        box-shadow: none;
        border: 1px solid #e0e0e0;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    #hero {
        min-height: 60vh;
    }
    
    .py-5 {
        padding-top: 1.62rem !important;
        padding-bottom: 1.58rem !important;
    }
}

/* Very small screens (320px and up) */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Extra small typography */
    h1 {
        font-size: 1.86rem;
    }
    
    h2 {
        font-size: 1.62rem;
    }
    
    h3 {
        font-size: 1.34rem;
    }
    
    /* Extra small hero */
    #hero h1 {
        font-size: 1.93rem;
    }
    
    #hero h2 {
        font-size: 1.40rem;
    }
    
    #hero p {
        font-size: 0.97rem;
    }
    
    /* Smaller icons on very small screens */
    .fa-2x {
        font-size: 1.5em;
    }
    
    .fa-3x {
        font-size: 2em;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    /* Ensure smooth scroll is disabled for reduced motion */
    html {
        scroll-behavior: auto;
    }
    
    /* Remove all transforms and transitions */
    .card:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
}

/* Focus styles for keyboard navigation */
@media (min-width: 768px) {
    .btn:focus,
    .form-control:focus,
    .navbar-nav .nav-link:focus {
        outline: 2px solid var(--primary-blue);
        outline-offset: 2px;
    }
} 
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
