/* =============================================
   Promotions Feature Styles
   File: promotions.css
   ============================================= */

/* Promotions strip (Index.cshtml — between Promo Block and Product Blocks) */
.promotions-strip {
    padding: 60px 0;
}

.promotions-strip__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Promotion card (Index strip) */
.promo-card {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.promo-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.promo-card__image-wrapper {
    overflow: hidden;
    max-height: 180px;
}

.promo-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.promo-card:hover .promo-card__image {
    transform: scale(1.04);
}

.promo-card__body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promo-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 8px;
    border-radius: 3px;
    background-color: #d63031;
    color: #fff;
    margin-bottom: 10px;
}

.promo-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.3;
}

.promo-card__description {
    font-size: 0.875rem;
    color: #666;
    flex: 1;
    margin-bottom: 16px;
    line-height: 1.5;
}

.promo-card__link {
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 600;
    color: #d63031;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.promo-card__link:hover {
    color: #b71c1c;
    border-bottom-color: #b71c1c;
    text-decoration: none;
}

/* =============================================
   Promotion Detail view
   ============================================= */

/* Hero banner */
.promo-detail-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.promo-detail-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}

.promo-detail-hero__title {
    color: #222;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.promo-detail-hero__subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Long description */
.promo-detail-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Exterior / Interior image sections */
.promo-detail-images__title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    color: #333;
}

.promo-image-card {
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    height: 100%;
}

.promo-image-card__wrapper {
    overflow: hidden;
    height: 200px;
}

.promo-image-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.promo-image-card:hover .promo-image-card__img {
    transform: scale(1.04);
}

.promo-image-card__body {
    padding: 16px;
}

.promo-image-card__subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.promo-image-card__text {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Gallery */
.promo-gallery__title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    color: #333;
}

.promo-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.promo-gallery__item {
    border-radius: 6px;
    overflow: hidden;
    height: 200px;
}

.promo-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.promo-gallery__item:hover .promo-gallery__img {
    transform: scale(1.04);
}

/* Technical sheets comparison table */
.promo-techsheets__title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    color: #333;
}

.promo-comparison {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.promo-comparison__row {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    min-width: 0;
}

.promo-comparison__row--header {
    background-color: #f5f5f5;
    border-bottom: 2px solid #ddd;
}

.promo-comparison__row:last-child {
    border-bottom: none;
}

.promo-comparison__feature-label {
    flex: 0 0 180px;
    min-width: 180px;
    border-right: 1px solid #e8e8e8;
    background-color: #fafafa;
}

.promo-comparison__vehicle-col {
    flex: 1;
    min-width: 140px;
    border-right: 1px solid #e8e8e8;
}

.promo-comparison__vehicle-col:last-child {
    border-right: none;
}

.promo-comparison__category .u-accordion__header a {
    background-color: #f8f9fa;
}

/* Disclaimer footer */
.promo-disclaimer-footer {
    background-color: #3a3a3a;
    padding: 32px 0;
}

.promo-disclaimer-footer__text {
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .promo-detail-hero {
        height: 260px;
    }

    .promo-detail-hero__title {
        font-size: 1.4rem;
    }

    .promo-comparison__feature-label {
        flex: 0 0 120px;
        min-width: 120px;
    }

    .promo-comparison__vehicle-col {
        min-width: 110px;
    }
}

/* Back button */
.promo-back-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #4269f5;
    color: #4269f5;
    background: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.promo-back-btn:hover {
    background: #4269f5;
    color: #fff;
    text-decoration: none;
}

