/*
* LUXAUTO - Luxury Car Selection Template
* Responsive Stylesheet
*/

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .col-xl-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Large Devices (desktops, 992px to 1199px) */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Medium Devices (tablets, 768px to 991px) */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 70px 0;
    }
    
    .site-header {
        padding: 10px 0;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .hero-section {
        min-height: 600px;
    }
    
    .hero-content {
        left: 5%;
        max-width: 80%;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about-feature {
        margin-bottom: 30px;
    }
    
    .service-card, .price-card, .team-card, .blog-card {
        margin-bottom: 30px;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    .price-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .features-image {
        margin-bottom: 40px;
    }
    
    .contact-image {
        margin-bottom: 30px;
    }
}

/* Small Devices (landscape phones, 576px to 767px) */
@media (max-width: 767.98px) {
    :root {
        --section-padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header h3 {
        font-size: 1.3rem;
    }
    
    .feature-item, .performance-item, .process-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon, .performance-icon {
        margin: 0 auto 20px;
    }
    
    .process-number {
        margin: 0 auto 10px;
        text-align: center;
    }
    
    .process-content {
        text-align: center;
    }
    
    .review-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin: 0 auto 15px;
    }
    
    .tech-card {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-icon {
        margin: 0 auto 20px;
    }
    
    .heritage-item h4 {
        padding-left: 0;
    }
    
    .heritage-item h4:before {
        display: none;
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .hero-content {
        left: 0;
        padding: 0 15px;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header h3 {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }
}

/* Landscape Orientation Fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 450px;
    }
    
    .hero-content {
        transform: translateY(-40%);
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content p {
        margin-bottom: 1rem;
    }
}

/* Display Adjustments for Mobile Devices */
@media (max-width: 767.98px) {
    /* Hide navigation buttons on small mobile screens */
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    /* Adjust Space Page Height for Mobile */
    #space {
        height: calc(100vh - var(--header-height) - 150px);
    }
} 