/* Mobile First Responsive Design */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 3.5rem;
    padding-top: 150px;
}
    
    .section-padding {
        padding: 100px 0;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .section-padding {
        padding: 70px 0;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-decorative {
        width: 150px;
        height: 150px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .price-card.featured {
        transform: none;
        margin-top: 1rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }
    
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-decorative {
        width: 100px;
        height: 100px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .custom-card .card-body {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .service-price {
        font-size: 1.5rem;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    .process-step {
        padding: 1.5rem 0.5rem;
    }
    
    .timeline-item,
    .career-item {
        padding: 1.5rem;
    }
    
    .coreinfo-item {
        padding: 1.5rem 1rem;
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    
    .hero-section {
        min-height: 60vh;
        padding: 1.5rem 0;
    }
    
    .hero-decorative {
        display: none;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .custom-card .card-body {
        padding: 1.2rem;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .btn-primary {
        width: 100%;
        margin-top: 1rem;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .service-price {
        font-size: 1.3rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline-item,
    .career-item,
    .coreinfo-item {
        padding: 1rem;
    }
    
    .blog-card img {
        height: 150px;
    }
}

/* Accessibility for reduced motion on mobile */
@media (prefers-reduced-motion: reduce) and (max-width: 767.98px) {
    .custom-card:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    
    .blog-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .hero-decorative,
    .navbar,
    .footer {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .custom-card {
        box-shadow: none;
        border: 1px solid #b5abac;
    }
}

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

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
}

/* Focus states for accessibility */
@media (hover: none) and (pointer: coarse) {
    .custom-card:hover {
        transform: none;
        box-shadow: 0 5px 20px rgba(43, 95, 112, 0.10);
    }
    
    .btn-primary:hover {
        transform: none;
        background-color: var(--sea-green);
    }
} 