/* CoWork Hub - Responsive Styles */

/* Mobile First Approach */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    /* NO animations on mobile */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    /* Typography adjustments */
    h1, .display-4 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.80rem;
    }
    
    .navbar-brand {
        font-size: 1.16rem !important;
    }
    
    /* Hero section mobile */
    #hero {
        padding-top: 60px;
        min-height: 100vh;
    }
    
    #hero .container {
        padding: 1rem;
    }
    
    /* Card spacing */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Process steps mobile layout */
    .process-step {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    /* Team photos mobile */
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    /* Contact form mobile */
    #contacts .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Gallery mobile spacing */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* NO animations on mobile */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .navbar-brand {
        font-size: 1.23rem !important;
    }
    
    #hero {
        padding-top: 70px;
    }
    
    .process-step {
        width: 55px;
        height: 55px;
    }
    
    .team-photo {
        width: 130px;
        height: 130px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.23rem !important;
    }
    
    #hero {
        padding-top: 75px;
    }
    
    /* Services grid adjustment */
    #services .col-md-6:nth-child(odd) {
        padding-right: 0.5rem;
    }
    
    #services .col-md-6:nth-child(even) {
        padding-left: 0.5rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .navbar-brand {
        font-size: 1.38rem !important;
    }
    
    #hero {
        padding-top: 80px;
    }
    
    /* Enhanced card hover effects for desktop */
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 17px 30px rgba(0, 0, 0, 0.15);
    }
    
    /* Services grid desktop layout */
    #services .row {
        align-items: stretch;
    }
    
    /* Team section desktop layout */
    #team .card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    /* Hero section enhanced for large screens */
    #hero h1 {
        font-size: 3rem;
    }
    
    #hero .lead {
        font-size: 1.28rem;
    }
    
    /* Process section enhanced layout */
    #process .row {
        justify-content: space-between;
    }
}

/* Extra Extra Large Devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* Enhanced spacing for very large screens */
    section {
        padding: 6rem 0;
    }
    
    .card {
        border-radius: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    #footer,
    .btn,
    #gallery {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    overflow-x: hidden;
}
    
    .card {
        border: 1px solid #f0d8db !important;
        box-shadow: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #001cff;
        --secondary-color: #059401;
        --neutral-dark: #000000;
        --background-light: #ffffff;
        --neutral-light: #747474;
    }
    
    .card {
        border: 2px solid var(--neutral-dark);
    }
    
    .btn {
        border-width: 2px;
    }
}

/* Dark Mode Support */

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none;
        box-shadow: 0 6px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .nav-link {
        padding: 1rem 0.5rem;
    }
} 