/* Mobile-First Responsive Styles */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    h1 {
        font-size: 1.875rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    /* Layout */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Hero Section */
    #hero {
        padding-top: 80px;
        min-height: auto;
        text-align: center;
    }
    
    #hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    #hero .lead {
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    /* Team Images */
    .rounded-circle {
        width: 100px;
        height: 100px;
    }
    
    /* Buttons */
    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.875rem;
    }
    
    /* Form Elements */
    .form-control {
        padding: 0.5rem 0.75rem;
    }
    
    /* Footer */
    #footer {
        text-align: center;
    }
    
    #footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Gallery */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* No animations on mobile as per requirements */
    [data-aos] {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero Section */
    #hero {
        padding-top: 90px;
    }
    
    #hero h1 {
        font-size: 2.25rem;
    }
    
    /* Cards */
    .card-img-top {
        height: 180px;
    }
    
    /* Team Images */
    .rounded-circle {
        width: 120px;
        height: 120px;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    /* No animations on mobile */
    [data-aos] {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero Section */
    #hero {
        padding-top: 100px;
    }
    
    #hero h1 {
        font-size: 2.75rem;
    }
    
    /* Cards */
    .card-img-top {
        height: 200px;
    }
    
    /* Team Images */
    .rounded-circle {
        width: 140px;
        height: 140px;
    }
    
    /* Sections */
    section {
        padding: 4rem 0;
    }
    
    /* Grid adjustments */
    .col-md-6.col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero Section */
    #hero h1 {
        font-size: 3rem;
    }
    
    /* Cards */
    .card-img-top {
        height: 220px;
    }
    
    /* Team Images */
    .rounded-circle {
        width: 150px;
        height: 150px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Container adjustments */
    .container {
        max-width: 1140px;
    }
    
    /* Hero Section */
    #hero h1 {
        font-size: 3.5rem;
    }
    
    /* Cards */
    .card-img-top {
        height: 240px;
    }
    
    /* Sections with more spacing */
    section {
        padding: 6rem 0;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        min-height: auto;
        padding: 1rem 0;
    }
    
    #hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Print-specific responsive styles */
@media print {
    /* Reset responsive styles for printing */
    .container {
        max-width: none;
        width: 100%;
    }
    
    .col-lg-4,
    .col-md-6,
    .col-sm-12 {
        width: 100%;
        float: none;
        margin-bottom: 1rem;
    }
    
    /* Adjust font sizes for print */
    h1 {
        font-size: 18pt;
    }
    
    h2 {
        font-size: 16pt;
    }
    
    h3 {
        font-size: 14pt;
    }
    
    body {
        font-size: 10pt;
    overflow-x: hidden;
}
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure images and icons remain crisp */
    .card-img-top,
    .rounded-circle,
    #gallery img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    /* Disable all transforms and transitions */
    .card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .card-hover:hover {
        transform: none;
    }
    
    /* Ensure AOS animations are disabled */
    [data-aos] {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
}

/* Dark mode support (if preferred) */

/* Focus management for keyboard navigation */
@media (hover: none) and (pointer: coarse) {
    /* Touch device specific styles */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 1rem;
    }
    
    /* Larger touch targets */
    .form-control {
        min-height: 44px;
    }
}

/* Container queries support (future-proofing) */
@container (max-width: 400px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
} 