/* Mobile First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Disable animations on mobile */
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
        animation: none !important;
    }
    
    /* Typography adjustments */
    #hero h1 {
        font-size: 1.8rem;
    }
    
    #hero h2 {
        font-size: 1.2rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    section h3 {
        font-size: 1rem;
    }
    
    /* Navbar brand size */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    /* Spacing adjustments */
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Card adjustments */
    .feature-card,
    .service-card,
    .price-card {
        margin-bottom: 1rem;
    }
    
    /* Team photos */
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    /* Process steps mobile layout */
    .process-step {
        margin-bottom: 2rem;
    }
    
    .step-number,
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Timeline mobile layout */
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 1rem;
    }
    
    /* Gallery mobile */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Hero mobile layout */
    #hero {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    /* Remove hero shapes on mobile */
    .hero-shapes {
        display: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero h2 {
        font-size: 1.3rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    /* Reduce animation intensity */
    [data-sal] {
        animation-duration: 0.5s;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #hero h1 {
        font-size: 2.2rem;
    }
    
    #hero h2 {
        font-size: 1.4rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    /* Team layout adjustments */
    .team-member {
        margin-bottom: 2rem;
    }
    
    /* Process steps tablet layout */
    .process-step {
        margin-bottom: 1.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* Full animations on desktop */
    [data-sal] {
        animation-duration: 0.8s;
    }
    
    /* Enhanced hover effects */
    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }
    
    .feature-card:hover {
        transform: translateY(-8px);
    }
    
    /* Process layout */
    .process-step {
        padding: 2rem 1rem;
    }
    
    /* Timeline layout */
    .timeline-item {
        padding: 2rem 1rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    /* Enhanced spacing */
    .py-5 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    /* Larger cards */
    .feature-card,
    .service-card {
        padding: 2.5rem;
    }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* Hero adjustments */
    #hero h1 {
        font-size: 3rem;
    }
    
    #hero h2 {
        font-size: 1.8rem;
    }
    
    /* Section titles */
    section h2 {
        font-size: 2.5rem;
    }
    
    section h3 {
        font-size: 1.4rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    #footer,
    .hero-shapes {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    overflow-x: hidden;
}
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #006400;
        --primary-blue: #000080;
        --primary-coral: #8b0000;
        --primary-yellow: #ffd700;
        --primary-purple: #4b0082;
    }
    
    .card {
        border: 2px solid #333;
    }
    
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .btn-primary:hover {
        background: #333;
        border: 2px solid #333;
    }
}

/* Landscape Phone Orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
    #hero {
        min-height: 70vh;
    }
    
    .py-5 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-shapes {
        display: none;
    }
    
    .service-card:hover,
    .feature-card:hover,
    .price-card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
} 