/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .service-item img {
        height: 180px;
    }
    
    .team-member img {
        height: 300px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 80px 0;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .about-feature-item {
        margin-bottom: 20px;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-item img {
        height: 200px;
    }
    
    .contact-info {
        margin-top: 30px;
    }
    
    .footer-menu {
        margin-top: 30px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .about-feature-item h4 {
        font-size: 1.3rem;
    }
    
    .price-value {
        font-size: 2.2rem;
    }
    
    .price-item {
        padding: 30px 20px;
    }
    
    .team-member img {
        height: 320px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .review-item {
        padding: 25px 20px;
    }
    
    footer {
        padding: 50px 0 20px;
    }
    
    footer h4 {
        margin-bottom: 20px;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.3rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title h2:after {
        width: 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .service-item h3 {
        font-size: 1.4rem;
    }
    
    .service-price {
        font-size: 1.6rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-item h3 {
        font-size: 1.3rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-control {
        height: 45px;
    }
    
    textarea.form-control {
        height: 120px;
    }
    
    .page-header {
        height: 40vh;
    }
    
    .page-header-content h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
}

/* Fix for Safari and iOS */
@supports (-webkit-overflow-scrolling: touch) {
    .hero-section {
        background-attachment: scroll;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .review-slider .swiper-wrapper {
        transition-timing-function: ease-out !important;
    }
} 