/* Auction Homepage Styles */
.featured-car-section .single-featured-car-image {
    width: 100%;
    height: 240px;
    background: #f2f2f2;
}

.featured-car-section .single-featured-car-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.auction-ending-soon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.92);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.single-popular-car-block {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.single-popular-car-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.single-popular-car-image {
    position: relative;
    overflow: hidden;
}

.single-popular-car-image img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.single-popular-car-block:hover .single-popular-car-image img {
    transform: scale(1.05);
}

.single-popular-car-rent-per-day {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #111318;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(17, 19, 24, 0.3);
}

.single-popular-car-content {
    padding: 20px;
}

.single-popular-car-title {
    color: #333;
    font-weight: 600;
    margin: 10px 0;
    font-size: 18px;
}

.single-popular-car-info li {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.btn-style-three {
    background: var(--theme-color, #ff6b35);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.btn-style-three:hover {
    background: #111318;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 19, 24, 0.25);
    color: white;
    text-decoration: none;
}

/* Brand Section Enhancements */
.single-brand-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin: 10px;
}

.single-brand-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.brand-image img {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.single-brand-item:hover .brand-image img {
    filter: grayscale(0%);
}

/* News Section (legacy fallback, superseded by .blog-card-modern) */
.blog-post-one {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.blog-post-one:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-one:hover .blog-post-image img {
    transform: scale(1.05);
}

.post-title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #ff6b35;
}

.post-excerpt {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-car-section .single-featured-car-image {
        height: 220px;
    }

    .single-popular-car-image img {
        height: 200px;
    }

    .auction-ending-soon {
        font-size: 10px;
        padding: 3px 8px;
    }

    .single-popular-car-rent-per-day {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ==========================================================
   Homepage component polish
   Eyebrow/heading/hero system lives in home-page.css
   ========================================================== */

/* ---- Brand section heading spacing ---- */
.brand-section .home-section-heading-box {
    align-items: flex-end;
}

.brand-section .show-all-btn .btn-style-three {
    width: auto;
    padding: 12px 28px;
}

/* ---- Modern Blog Card ---- */
.blog-card-modern .blog-post-outer {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(17, 17, 17, 0.06);
    border: 1px solid rgba(17, 17, 17, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card-modern:hover .blog-post-outer {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
}

.blog-card-modern .blog-post-image {
    position: relative;
    border-radius: 0;
    aspect-ratio: 16 / 10;
}

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

.blog-card-modern .blog-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(17, 17, 17, 0.75);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 6px;
}

.blog-card-modern .blog-post-content {
    padding: 24px;
}

.blog-card-modern .post-info {
    margin-top: 0;
    margin-bottom: 12px;
}

.blog-card-modern .post-info li.post-date {
    font-size: 13px;
    color: #888;
}

.blog-card-modern .post-info li.post-date i {
    font-size: 15px;
    color: #ff6b35;
}

.blog-card-modern .post-title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 10px;
}

.blog-card-modern .post-title a {
    color: #111;
}

.blog-card-modern .post-excerpt {
    margin-top: 0;
    margin-bottom: 18px;
}

.blog-card-modern .blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ff6b35;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.25s ease;
}

.blog-card-modern .blog-card-readmore i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.blog-card-modern .blog-card-readmore:hover {
    gap: 12px;
}

.blog-card-modern .blog-card-readmore:hover i {
    transform: translateX(3px);
}

@media (max-width: 767px) {
    .home-section-heading-box {
        display: block;
    }

    .home-section-heading-box .show-all-btn {
        margin-top: 20px;
    }
}
