* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

aside {
    width: 25%;
}
main {
    margin: auto;
    text-align: center;
}

/* Hero Section */
.hero {
    background-image: url('https://ext.same-assets.com/459091263/3744442313.png');
    background-size: cover;
    background-position: center;
    padding: 120px 0 100px;
    position: relative;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.btn {
    padding: 12px 40px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}
.btn-dark {
    background-color: #31302f;
    color: white;
}
.btn-dark:hover {
    background-color: #1a1918;
}
.btn-gold {
    background-color: #c89b45;
    color: white;
}
.btn-gold:hover {
    background-color: #b08839;
}
.btn-outline {
    background-color: white;
    color: #31302f;
    border: 2px solid #31302f;
}
.btn-outline:hover {
    background-color: #31302f;
    color: white;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 300px;
    margin-left: 0;
    padding-right: 10px;
    padding-left: 10px;  
    border-right: #31302f 3px solid; 
    border-left: #31302f 3px solid; 
}
.sidebar label, .sidebar select, .sidebar option {
    font-size: 14px;
    text-align: left;
}

/* Main Wrapper */
.main-wrapper {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem;
    min-height: 100vh;
}

.search-box {
    position: relative;
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    margin-bottom: 15px;
    background: white;
}
.search-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    outline: none;
    font-size: 14px;
}
.search-btn {
    padding: 0.5rem;
    color: #6b7280;
}
.filter-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}
/* Filters Section */
.filters-section {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
    padding: 1rem;
}
.filters-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    padding-top: 10px;
    border-bottom: 1px solid #e5e7eb;
    border-top: 1px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 14px;
}
.checkbox-label input[type="checkbox"] {
    cursor: pointer;
}
/* Search Section */
.search-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}
.search-card {
    background: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.search-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #31302f;
}
.search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.search-input, .form-select {
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: white;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.full-width {
    width: 100%;
}
/* State Tabs */
.state-tabs {
    margin: 40px 0;
}
.tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.tab {
    padding: 15px 60px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}
.tab-dark {
    background-color: #31302f;
    color: white;
}
.tab-dark:hover {
    background-color: #1a1918;
}
.tab-gold {
    background-color: #c89b45;
    color: white;
}
.tab-gold:hover {
    background-color: #b08839;
}

/* Coming Soon Badge */
.coming-soon-badge {
    text-align: center;
    margin: 30px 0;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #e74c3c;
    color: white;
    padding: 12px 25px;
    font-weight: bold;
    font-size: 16px;
}

/* Main Content */
h1 {
    font-size: 2em;
    margin-bottom: 16px;
    margin-top: 32px;
}
h3 {
    font-weight: bold;
    margin: 16px 0 8px 0;
}
p {
    margin-top: 12px;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.info-box {
    display: inline-block;
    background-color: #d1d5db;
    padding: 16px;
    border-radius: 4px;
    margin: 12px 0;
}
.info-box a {
    display: block;
    margin: 4px 0;
}
.see-also {
    color: #1d4ed8;
}

/* Vehicle Categories */
.vehicle-categories {
    margin: 50px 0;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.category-card {
    position: relative;
    overflow: hidden;
    height: 200px;
    text-decoration: none;
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.category-card h3 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 2;
}
.category-card:hover img {
    transform: scale(1.1);
}
.category-full {
    grid-column: 2 / 3;
}

/* Featured Vehicles */
.featured-vehicles {
    background: linear-gradient(to bottom, rgba(200, 155, 69, 0.3), rgba(200, 155, 69, 0.5));
    padding: 60px 0;
}
.featured-header {
    text-align: center;
    margin-bottom: 40px;
}
.featured-header h2 {
    font-size: 42px;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.vehicle-card {
    background: white;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.vehicle-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.vehicle-info {
    padding: 15px;
    text-align: center;
}
.vehicle-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #31302f;
}
.vehicle-info p {
    font-size: 14px;
    color: #666;
    margin: 2px 0;
}
.vehicle-price {
    background-color: #31302f;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
}

/* About Section */
.about-section {
    padding: 60px 0;
    text-align: center;
}
.about-section h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #31302f;
}
.about-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.sold-vehicles-btn {
    margin-top: 30px;
}

/* Browse Section */
.browse-section {
    background-image: url('images/jfa-store.png');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}
.browse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.browse-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.browse-item img {
    height: 80px;
}
.browse-item span {
    font-size: 18px;
    font-weight: 500;
    color: #31302f;
}

/* Makes Section */
.makes-section {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #ddd;
}
.makes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.make-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.make-column a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.make-column a:hover {
    color: #c89b45;
}

/* Responsive Design */
@media (max-width: 1024px) {  
    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }   
    .makes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .main-wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar {
        order: 1;
    }
    .content-area {
        order: 2;
    }
}
@media (max-width: 768px) { 
    .hero-title {
        font-size: 32px;
    }    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }    
    .category-grid {
        grid-template-columns: 1fr;
    }   
    .category-full {
        grid-column: auto;
    }   
    .vehicle-grid {
        grid-template-columns: 1fr;
    }   
    .browse-grid {
        grid-template-columns: 1fr;
    }   
    .tabs {
        flex-direction: column;
    }   
    .tab {
        text-align: center;
    }   
    .makes-grid {
        grid-template-columns: repeat(2, 1fr);
    }   

}
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }    
    .form-row {
        grid-template-columns: 1fr;
    }  
    .makes-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1024px) {
    .logo {
        height: 40px;
    }
} 
.x-small { font-size: 11px; }
.form-check-input:checked {
    background-color: #dcaa47;
    border-color: #dcaa47;
}
.filter-group {
    border-bottom: 1px solid #f8f9fa;
    padding-bottom: 15px;
}
.filter-group:last-child { border-bottom: none; }
.card-img-top {
    transition: transform 0.3s ease;
}
.card:hover .card-img-top {
    transform: scale(1.05);
}


textarea {
    width: 100%;
    border: 2px solid #000000ff;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: white;
}
input:focus,
textarea:focus {
    outline: none;
    border-color: #314652ff;
}
input::placeholder,
textarea::placeholder {
    color: #9ca4a6;
    font-size: small;
}
textarea {
    resize: vertical;
    min-height: 120px;
}
