/* StyleCuration - Responsive CSS */
/* Mobile-First Responsive Design */

/* Mobile Devices (0px - 575px) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-4 {
        font-size: 1.80rem !important;
        line-height: 1.3;
    }
    
    h1, .h1 {
        font-size: 1.58rem;
    }
    
    h2, .h2 {
        font-size: 1.50rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.20rem !important;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 0.90rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        text-align: center;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Cards */
    .card-body {
        padding: 1rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    /* Grid Adjustments */
    .col-lg-2,
    .col-md-6 {
        margin-bottom: 1.67rem;
    }
    
    /* Spacing */
    .py-5 {
        padding: 2rem 0 !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    /* Icons */
    .fa-3x {
        font-size: 2rem !important;
    }
    
    /* Team Images */
    .rounded-circle {
        width: 100px !important;
        height: 100px !important;
    }
    
    /* Form */
    .form-control {
        padding: 0.75rem;
    }
    
    /* Footer */
    footer .container {
        text-align: center;
    }
    
    footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    /* Process Steps */
    .bg-primary.rounded-circle {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    /* Timeline */
    .bg-light.border.rounded-circle {
        width: 70px;
        height: 70px;
    }
    
    /* Gallery */
    .col-md-4.col-lg-3 {
        margin-bottom: 0.63rem;
    }
    
    /* No animations on mobile */
    [data-sal] {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Small Tablets (576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem !important;
    }
    
    .hero-section {
        padding: 2.5rem 0;
    }
    
    .hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .rounded-circle {
        width: 110px !important;
        height: 110px !important;
    }
    
    .bg-primary.rounded-circle {
        width: 55px;
        height: 55px;
    }
    
    .bg-light.border.rounded-circle {
        width: 75px;
        height: 75px;
    }
    
    /* Reduce animations on smaller tablets */
    [data-sal] {
        animation-duration: 0.60s !important;
    }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .display-4 {
        font-size: 2.37rem !important;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-buttons {
        display: flex;
        gap: 1rem;
    }
    
    .card-img-top {
        height: 220px;
    }
    
    .col-lg-2 {
        flex: 0 0 auto;
        width: 50%;
        margin-bottom: 2rem;
    }
    
    .rounded-circle {
        width: 120px !important;
        height: 120px !important;
    }
    
    /* Two columns for features */
    .row.g-4 .col-md-6.col-lg-3 {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* Small Laptops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .col-lg-2 {
        flex: 0 0 auto;
        width: 20%;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .rounded-circle {
        width: 120px !important;
        height: 120px !important;
    }
}

/* Large Screens (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .card-img-top {
        height: 220px;
    }
    
    .py-5 {
        padding: 4rem 0 !important;
    }
}

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .display-4 {
        font-size: 3rem !important;
    }
    
    .hero-section {
        padding: 5rem 0;
    }
    
    .card-img-top {
        height: 240px;
    }
}

/* Portrait/Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        padding: 1rem 0;
        min-height: auto;
    }
    
    .py-5 {
        padding: 1.5rem 0 !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-img-top,
    .img-fluid {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-section,
    .card,
    .btn,
    .img-fluid,
    .rounded-circle {
        transition: none !important;
    }
    
    [data-sal] {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    
    .card:hover,
    .rounded-circle:hover,
    .img-fluid:hover {
        transform: none !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer,
    [data-sal] {
        display: none !important;
    }
    
    .hero-section {
        padding: 1rem 0;
    }
    
    .py-5 {
        padding: 1rem 0 !important;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
        break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000 !important;
    }
    
    .text-primary {
        color: #000 !important;
    }
}

/* Focus Management for Accessibility */
@media (max-width: 991.98px) {
    .navbar-toggler:focus {
        outline: 2px solid var(--color-primary);
        outline-offset: 2px;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        border-top: 1px solid #dee4f5;
        padding-top: 1rem;
    }
}

/* Container Responsiveness */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Form Responsiveness */
@media (max-width: 767.98px) {
    .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .col-lg-8 form {
        margin-bottom: 2rem;
    }
    
    .ps-lg-4 {
        padding-left: 0 !important;
    }
}

/* Gallery Responsiveness */
@media (max-width: 991.98px) {
    .col-md-4.col-lg-3 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (max-width: 575.98px) {
    .col-md-4.col-lg-3 {
        flex: 0 0 auto;
        width: 100%;
    }
} 

.hero-section h1 {
    padding-top: 200px;
}