/* ==============================
   Arrivals Section
   ============================== */
.arrivals {
    text-align: center;
    padding: 4rem 1rem;
    background: #fafafa;
}

/* Titles */
.arrivals__title-small {
    color: #555;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: .5rem;
}

.arrivals__title-main {
    font-size: 2rem;
    color: #111;
    margin-bottom: 2rem;
}

.arrivals__title-main span {
    color: #c00000;
}

/* Swiper container */
.arrivals__swiper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 3rem;
    padding: 1rem;
}

/* Slide wrapper */
.arrivals__slide {
    display: flex;
    justify-content: center;
}

/* Car Card */
.arrivals__car-card {
    width: 100%;
    max-width: 320px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.arrivals__car-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Car Image Container with fixed aspect ratio */
.arrivals__car-image {
    width: 100%;
    height: 0;
    padding-top: 68%; /* Raport imagine 4:3 aproximativ */
    position: relative;
    overflow: hidden;
}

.arrivals__car-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Imaginea umple containerul fără deformare */
    display: block;
}

/* Car Info */
.arrivals__car-info {
    padding: 1rem;
    text-align: center;
}

.arrivals__car-info h3 {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: .4rem;
}

.arrivals__car-price {
    color: #d90429;
    font-size: 1rem;
    font-weight: bold;
}

.arrivals__car-meta {
    font-size: .9rem;
    color: #666;
    margin: .3rem 0 .8rem;
}

/* Details button */
.arrivals__details-btn {
    display: inline-block;
    background: #c00000;
    color: #fff;
    font-weight: bold;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.arrivals__details-btn:hover {
    background: #ff0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* Show more button */
.arrivals__show-more {
    margin-top: 1rem;
}

.arrivals__show-inventory-btn {
    display: inline-block;
    background: #c00000;
    color: #fff;
    padding: .8rem 2rem;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease;
}

.arrivals__show-inventory-btn:hover {
    background: #ff0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 992px) {
    .arrivals__title-main {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .arrivals__title-main { font-size: 1.5rem; }
    .arrivals__car-card { max-width: 280px; }
    .arrivals__car-image { padding-top: 70%; } /* ajustare pentru ecran mai mic */
}

@media (max-width: 480px) {
    .arrivals__car-card { max-width: 90%; }
    .arrivals__car-info h3 { font-size: 1rem; }
    .arrivals__car-image { padding-top: 75%; } /* păstrează raportul pe mobil */
}