/* Brands List */
.motorcycle-brands-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.brand-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.brand-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.brand-logo {
    margin-bottom: 15px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    max-width: 100%;
    max-height: 120px;
    height: auto;
    width: auto;
}

.brand-card h3 {
    margin: 15px 0 10px;
    font-size: 24px;
    color: #333;
}

.motorcycle-count {
    color: #666;
    margin: 10px 0 15px;
    font-size: 14px;
}

.brand-card .button {
    display: inline-block;
    padding: 10px 25px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.brand-card .button:hover {
    background: #005a87;
}

/* Brand Detail Page */
.brand-detail {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px 0;
    border-bottom: 3px solid #0073aa;
    margin-bottom: 40px;
}

.brand-header-logo {
    flex-shrink: 0;
}

.brand-header-logo img {
    max-width: 200px;
    max-height: 150px;
    height: auto;
    width: auto;
}

.brand-header-content {
    flex-grow: 1;
}

.brand-title {
    font-size: 48px;
    margin: 0 0 15px 0;
    color: #1a1a1a;
    font-weight: 700;
}

.brand-tagline {
    font-size: 20px;
    color: #666;
    margin: 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-info-section {
    margin-bottom: 50px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.brand-description {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.brand-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.brand-detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-weight: 700;
    color: #0073aa;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #333;
    font-size: 16px;
}

.detail-value a {
    color: #0073aa;
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

/* Motorcycles By Year */
.motorcycles-by-year {
    margin-top: 40px;
}

.year-section {
    margin-bottom: 60px;
}

.year-heading {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e1e1e1;
    font-weight: 700;
}

.motorcycles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.motorcycle-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.motorcycle-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.motorcycle-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.motorcycle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.motorcycle-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.motorcycle-card-title {
    font-size: 22px;
    margin: 0 0 10px 0;
    color: #1a1a1a;
    font-weight: 700;
}

.motorcycle-category {
    color: #0073aa;
    font-size: 14px;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.motorcycle-quick-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}

.spec-item {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.motorcycle-price {
    font-size: 24px;
    font-weight: 700;
    color: #0073aa;
    margin: 10px 0 20px 0;
}

.view-details-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-weight: 600;
    margin-top: auto;
}

.view-details-btn:hover {
    background: #005a87;
}

.no-motorcycles {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

/* Motorcycle Detail Page */
.motorcycle-detail-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.motorcycle-header {
    padding: 40px 0;
    border-bottom: 3px solid #0073aa;
    margin-bottom: 40px;
}

.motorcycle-main-title {
    font-size: 42px;
    margin: 0 0 15px 0;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
}

.motorcycle-tagline {
    font-size: 18px;
    color: #0073aa;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.motorcycle-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-top: 40px;
}

.motorcycle-main-content {
    min-width: 0;
}

.motorcycle-gallery-section {
    margin-bottom: 40px;
}

.featured-image {
    margin-bottom: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-thumb {
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.gallery-thumb:hover {
    border-color: #0073aa;
}

.gallery-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.motorcycle-description {
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.section-title {
    font-size: 28px;
    color: #1a1a1a;
    margin: 40px 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #0073aa;
    font-weight: 700;
}

.specifications-section,
.additional-specs-section {
    margin-bottom: 40px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
}

.spec-row {
    display: grid;
    grid-template-columns: 250px 1fr;
    padding: 15px 20px;
    border-bottom: 1px solid #e1e1e1;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:nth-child(even) {
    background: #f9f9f9;
}

.spec-label {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.spec-value {
    color: #666;
    font-size: 15px;
}

.options-section {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.trim-levels,
.color-options {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
}

.options-section h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.options-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.options-section li {
    padding: 10px 0;
    border-bottom: 1px solid #e1e1e1;
    color: #333;
}

.options-section li:last-child {
    border-bottom: none;
}

/* Sidebar */
.motorcycle-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.price-box,
.quick-info-box,
.action-box {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.price-box h3,
.quick-info-box h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.price-box .price {
    font-size: 36px;
    font-weight: 700;
    color: #0073aa;
    margin: 0;
}

.quick-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e1e1e1;
    font-size: 14px;
    color: #333;
}

.quick-info-list li:last-child {
    border-bottom: none;
}

.quick-info-list strong {
    color: #0073aa;
    font-weight: 600;
}

.btn-secondary {
    display: block;
    text-align: center;
    padding: 15px 20px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid #e1e1e1;
}

.btn-secondary:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .motorcycle-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .motorcycle-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .options-section {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .brand-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
    }
    
    .brand-title {
        font-size: 36px;
    }
    
    .brand-tagline {
        font-size: 16px;
    }
    
    .motorcycle-main-title {
        font-size: 32px;
    }
    
    .motorcycles-grid {
        grid-template-columns: 1fr;
    }
    
    .year-heading {
        font-size: 28px;
    }
    
    .motorcycle-brands-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .specs-grid .spec-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .spec-label {
        font-weight: 700;
        color: #0073aa;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .motorcycle-sidebar {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .brand-title {
        font-size: 28px;
    }
    
    .motorcycle-main-title {
        font-size: 24px;
    }
    
    .motorcycle-brands-list {
        grid-template-columns: 1fr;
    }
    
    .brand-header-logo img {
        max-width: 150px;
        max-height: 100px;
    }
}