/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0;
    }
    
    .hero {
        padding: 120px 0 60px;
        margin-top: 70px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .vehicle-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vehicle-gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-calculator {
        padding: 2rem 1rem;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
    }
    
    .vehicle-filters {
        padding: 1.5rem 0;
        margin: 1rem 0;
    }
    
    .single-vehicle {
        padding: 80px 0 30px;
    }
    
    .why-choose-us {
        padding: 2rem 0;
    }
    
    .featured-vehicles {
        padding: 2rem 0;
    }
    
    .payment-calculator-section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .vehicle-gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .vehicle-price {
        font-size: 1.3rem;
    }
    
    .vehicle-title {
        font-size: 1.1rem;
    }
    
    .monthly-payment {
        font-size: 2rem;
    }
    
    .hero .btn {
        margin: 5px;
        display: block;
        width: 100%;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vehicle-layout {
        grid-template-columns: 60% 40%;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}




/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #1a1a1a;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }
    
    .main-nav a:hover {
        color: #ff6b00;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    /* Overlay when menu is open */
    .main-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .main-nav.active::before {
        opacity: 1;
        visibility: visible;
    }
    
    /* Ensure header stays on top */
    .site-header {
        z-index: 1001;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}







/* ===== MOBILE IMAGE PLACEHOLDER STYLES ===== */
@media (max-width: 768px) {
    .vehicle-image img[src*="placeholder.jpg"]:after,
    .vehicle-gallery-main img[src*="placeholder.jpg"]:after {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .vehicle-image img[src*="placeholder.jpg"],
    .vehicle-gallery-main img[src*="placeholder.jpg"] {
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .vehicle-image img[src*="placeholder.jpg"]:after,
    .vehicle-gallery-main img[src*="placeholder.jpg"]:after {
        font-size: 12px;
        padding: 6px 12px;
        content: "🚗 Image";
    }
    
    .vehicle-image img[src*="placeholder.jpg"],
    .vehicle-gallery-main img[src*="placeholder.jpg"] {
        min-height: 120px;
    }
}