/* 
 * mobile.css - Optimized for devices < 768px
 */

:root {
    --header-height: 60px;
}

/* Typography Adjustments */
.hero-title {
    font-size: 2.2rem;
    /* Smaller hero title */
}

.hero-subtitle {
    font-size: 1rem;
    padding: 0 20px;
}

.section-title {
    font-size: 1.8rem;
}

/* Layout Adjustments */
.container {
    padding: 0 20px;
}

/* Navigation - Mobile Menu */
.main-header .container {
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    height: auto;
}

.logo {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    width: 100%;
    padding: 6px 0;
    scroll-snap-type: x mandatory;
}

.nav-menu a {
    margin: 0;
    font-size: 0.85rem;
    gap: 6px;
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
}

.nav-menu a i {
    font-size: 0.9rem;
}

/* Hide horizontal scrollbar (mobile swipe UI) */
.nav-menu::-webkit-scrollbar {
    display: none;
}
.nav-menu {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.header-actions {
    display: none;
    /* Hide primary CTA on mobile header to save space */
}

/* Grid & Cards */
.vehicle-grid {
    grid-template-columns: 1fr;
    /* Single column */
}

.vehicle-card:hover {
    transform: none;
    /* Disable hover lift on touch */
}

/* Community Section */
.community-layout {
    grid-template-columns: 1fr;
    /* Stack form and list */
    gap: 30px;
}

.comment-list {
    max-height: 300px;
    /* Shorter list scroll on mobile */
}

.form-group-row {
    grid-template-columns: 1fr;
    /* Stack inputs */
}