/* Mobile-First Responsive Design */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Conservative font sizes for mobile */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.63rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Hero section adjustments */
    #hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    #hero h1 {
        font-size: 1.94rem;
        margin-bottom: 1rem;
    }
    
    /* Card spacing */
    .card {
        margin-bottom: 1.66rem;
    }
    
    /* Button adjustments */
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Team member images */
    .rounded-circle {
        width: 120px !important;
        height: 120px !important;
    }
    
    /* Process steps */
    .bg-primary.rounded-circle {
        width: 60px !important;
        height: 60px !important;
    }
    
    .bg-primary.rounded-circle .h4 {
        font-size: 1.35rem;
    }
    
    /* Gallery images */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Form adjustments */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    /* No scroll animations on mobile */
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    h1 {
        font-size: 2.29rem;
    }
    
    h2 {
        font-size: 1.89rem;
    }
    
    #hero {
        min-height: 85vh;
    }
    
    .rounded-circle {
        width: 140px !important;
        height: 140px !important;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Tablet-specific adjustments */
    .col-lg-2-4 {
        width: 33.333333%;
    }
    
    #hero h1 {
        font-size: 2.32rem;
    }
    
    /* Card grid adjustments */
    .card-img-top {
        height: 180px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* Desktop enhancements */
    .card-img-top {
        height: 220px;
    }
    
    /* Hero section full height */
    #hero {
        min-height: 100vh;
    }
    
    /* Team grid adjustment */
    #team .row {
        justify-content: center;
    }
    
    #team .col-lg-2-4 {
        max-width: 200px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    h1 {
        font-size: 2.90rem;
    }
    
    h2 {
        font-size: 2.26rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    #footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    overflow-x: hidden;
}
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e3d4d3;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
    
    .form-control {
        border: 2px solid #000;
    }
}

/* Dark Mode Preferences */

/* Landscape Phone Specific */
@media (max-width: 767.98px) and (orientation: landscape) {
    #hero {
        min-height: 70vh;
    }
    
    .py-5 {
        padding: 2rem 0 !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none;
        box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 1rem 0.5rem;
    }
} 