/* HERO SECTION */
.hp-hero-section {
    height: 260px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

/* Slight dark overlay on full hero */
.hp-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.35));
}

.hp-overlay {
    position: relative;
    width: 100%;
}

/* CAROUSEL WRAPPER */
.hp-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 0 60px; /* space for arrows */
}

.hp-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* CARD DESIGN */
.hp-card {
    min-width: 290px;
    height: 170px;
    margin: 0 15px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;

    /* Glass effect */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* CARD CONTENT */
.hp-card-overlay {
    height: 100%;
    padding: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TITLE */
.hp-card h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #dbeafe;
    letter-spacing: 0.5px;
}

/* VALUE */
.hp-card .value {
    font-size: 24px;
    font-weight: 700;
    margin: 8px 0;
    color: #4da3ff;
}

/* PRICE TYPE */
.hp-card .price {
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 4px;
}

/* SOURCE */
.hp-card .source {
    font-size: 11px;
    color: #94a3b8;
}

/* NAVIGATION BUTTONS */
.hp-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.hp-nav-btn:hover {
    background: #1a73e8;
    color: #fff;
}

.hp-prev { left: 15px; }
.hp-next { right: 15px; }


@media (max-width: 768px) {

    .hp-carousel-wrapper {
        overflow: hidden;
        padding: 0;
    }

    .hp-carousel {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 0 25%; /* This creates half visible effect */
        box-sizing: border-box;
    }

    .hp-card {
        min-width: 70%;   /* Main visible card */
        height: 160px;
        margin: 0;
        flex-shrink: 0;
    }
        .hp-card .value {
        font-size: 20px;
    }
}


