/* Responsive Styles */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    h1, .display-4 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.30rem;
    }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
    
    #hero {
        min-height: 100vh;
    }
    
    .card-img-top {
        height: 250px;
    }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) {
    .navbar-brand {
        font-size: 1.86rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .card-img-top {
        height: 220px;
    }
    
    #hero h1 {
        font-size: 2.78rem;
    }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .btn-lg {
        padding: 14px 32px;
        font-size: 1.18rem;
    }
}

/* Mobile Devices (575px and below) */
@media (max-width: 575px) {
    /* NO ANIMATIONS ON MOBILE - as required */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
    
    /* Conservative mobile typography */
    .navbar-brand {
        font-size: 1.27rem;
    }
    
    h1, .display-4 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.89rem;
        line-height: 1.3;
    }
    
    h3, h4, h5 {
        font-size: 1.29rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Mobile spacing adjustments */
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Mobile hero adjustments */
    #hero {
        min-height: 80vh;
        padding-top: 80px;
    }
    
    #hero .btn {
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Mobile card adjustments */
    .card {
        margin-bottom: 1.62rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    /* Mobile form adjustments */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Mobile team grid - stack vertically */
    .col-lg-2-4 {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    /* Mobile gallery adjustments */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Mobile navbar - use Bootstrap default hamburger */
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    /* Mobile footer adjustments */
    #footer .col-md-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Mobile process section */
    #process .col-md-6 {
        margin-bottom: 2rem;
    }
    
    #process .bg-primary {
        width: 50px;
        height: 50px;
        font-size: 1.37rem;
    }
    
    /* Mobile contact info */
    #contact .col-md-4 {
        margin-bottom: 2rem;
    }
    
    /* Mobile FAQ adjustments */
    #faq .col-md-6 {
        margin-bottom: 1rem;
    }
    
    /* Mobile pricing cards */
    #priceplan .col-md-6 {
        margin-bottom: 1.55rem;
    }
    
    /* Mobile services grid */
    #services .col-md-6 {
        margin-bottom: 1.66rem;
    }
}

/* Extra Small Devices (480px and below) */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.24rem;
    }
    
    h1, .display-4 {
        font-size: 1.81rem;
    }
    
    h2 {
        font-size: 1.52rem;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .card-img-top {
        height: 160px;
    }
    
    #hero {
        min-height: 70vh;
        padding-top: 70px;
    }
    
    /* Smaller process circles */
    #process .bg-primary {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 767px) and (orientation: landscape) {
    #hero {
        min-height: 60vh;
        padding-top: 60px;
    }
    
    section {
        padding: 2.5rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-img-top,
    #gallery img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    #footer,
    .btn,
    .breadcrumb-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    overflow-x: hidden;
}
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    .card {
        border: 1px solid #dac6c7;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    section {
        padding: 1rem 0;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    /* Disable all animations and transitions */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* 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 */

/* Focus Styles for Accessibility */
@media (any-hover: none) {
    .btn:focus,
    .form-control:focus,
    .nav-link:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
} 