/* Vegas Auto Customz - Mobile Responsiveness Styles */

/* Base Mobile Styles */
@media (max-width: 992px) {
    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 20px;
    }
    
    /* Section padding adjustments */
    section {
        padding: 60px 0;
    }
    
    /* Hero section adjustments */
    .hero {
        padding: 100px 0 70px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    /* Services section adjustments */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    /* About section adjustments */
    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-img {
        order: -1;
    }
    
    /* Contact section adjustments */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Footer adjustments */
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

/* Tablet Styles */
@media (max-width: 768px) {
    /* Header and navigation adjustments */
    .header-container {
        position: relative;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--primary-color);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    /* Hero section adjustments */
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Services section adjustments */
    .service-card {
        max-width: 100%;
    }
    
    /* Booking section adjustments */
    .booking-form .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Reviews section adjustments */
    .review-card {
        padding: 20px;
    }
    
    /* Contact map adjustments */
    .contact-map {
        height: 250px;
    }
}

/* Mobile Styles */
@media (max-width: 576px) {
    /* Typography adjustments */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Section padding adjustments */
    section {
        padding: 50px 0;
    }
    
    /* Hero section adjustments */
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    /* Section title adjustments */
    .section-title {
        margin-bottom: 30px;
    }
    
    /* Service card adjustments */
    .service-img {
        height: 180px;
    }
    
    /* Review card adjustments */
    .review-author-img {
        width: 40px;
        height: 40px;
    }
    
    /* Footer adjustments */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-about, .footer-links, .footer-services, .footer-contact {
        margin-bottom: 30px;
    }
    
    /* Modal adjustments */
    .modal {
        width: 90%;
        max-width: 400px;
        padding: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
}

/* Touch-friendly adjustments */
@media (hover: none) {
    /* Make buttons larger for touch */
    .btn {
        padding: 14px 28px;
    }
    
    /* Increase spacing for touch targets */
    .nav-item {
        margin: 0 15px;
    }
    
    .nav-link {
        padding: 10px 0;
    }
    
    /* Form elements adjustments */
    input, select, textarea, button {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 12px;
    }
    
    /* Slider navigation adjustments */
    .slider-prev, .slider-next {
        width: 40px;
        height: 40px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 60px 0;
    }
    
    .nav-menu.active {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* High-resolution screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize images for high-res displays */
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg@2x.jpg');
    }
}

/* Print styles */
@media print {
    .header, .footer, .hero, .booking, .reviews {
        display: none;
    }
    
    .services, .about, .contact {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
}
