/* ==========================================================================
   TravelPlansWorld - Home Deals Section Styles (home-deals.css)
   ========================================================================== */

.dl-section {
    /* Colors: sirf yahan badlo, poora section update ho jayega */
    --dl-navy: #0d2b57;
    --dl-accent: #e8762b;
    --dl-btn: #e8762b;
    --dl-btn-hover: #d4661f;
    --dl-price: #3aa655;
    --dl-text: #111111;
    --dl-text-soft: #333333;
    --dl-border: #e5e7eb;
    --dl-bg-soft: #f6f7f9;

    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(13, 43, 87, 0.08);
    padding: 40px 32px;
    margin: 40px 0;
}

/* ==========================================================================
   Section Heading
   ========================================================================== */
.dl-head {
    text-align: center;
    margin-bottom: 28px;
}

.dl-pill {
    display: inline-block;
    background: linear-gradient(90deg, #c8431a, #f2a03a);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 999px;
}

.dl-title {
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dl-text);
    margin: 16px 0 8px;
}

.dl-sub {
    color: var(--dl-text-soft);
    margin: 0;
}

/* ==========================================================================
   Slider Track
   ========================================================================== */
.dl-wrap {
    position: relative;
}

.dl-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 6px 4px 14px;
}

.dl-track::-webkit-scrollbar {
    display: none;
}

/* ==========================================================================
   Deal Card
   ========================================================================== */
.dl-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 270px;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(13, 43, 87, 0.2);
}

/* Card image */
.dl-img {
    position: relative;
    height: 170px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
}

.dl-img span {
    margin: 12px;
    padding: 3px 10px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 6px;
}

/* Card body */
.dl-body {
    padding: 14px 14px 16px;
}

.dl-route {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dl-text);
    margin: 0 0 10px;
}

.dl-route i {
    font-style: normal;
    color: var(--dl-accent);
    margin: 0 6px;
}

/* Airline + class row */
.dl-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: #222222;
}

.dl-meta u {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dl-btn);
    text-decoration: none;
}

.dl-air {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

/* Date range box */
.dl-date {
    background: var(--dl-bg-soft);
    border: 1px solid var(--dl-border);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Price + Book Now */
.dl-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--dl-border);
    padding-top: 12px;
}

.dl-foot small {
    display: block;
    color: var(--dl-text-soft);
    font-size: 0.82rem;
}

.dl-foot strong {
    display: block;
    color: var(--dl-price);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
}

.dl-book {
    background: var(--dl-btn);
    color: #ffffff;
    border: 0;
    border-radius: 6px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dl-book:hover {
    background: var(--dl-btn-hover);
}

/* ==========================================================================
   Slider Arrows
   ========================================================================== */
.dl-arrow {
    position: absolute;
    top: 80px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.dl-prev {
    left: -14px;
}

.dl-next {
    right: -14px;
}

/* ==========================================================================
   Note
   ========================================================================== */
.dl-note {
    margin: 12px 0 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #222222;
}

.dl-note a {
    color: var(--dl-text);
    text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
    .dl-card {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 575.98px) {
    .dl-section {
        padding: 28px 16px;
    }

    .dl-card {
        flex-basis: 85%;
    }

    .dl-prev {
        left: 0;
    }

    .dl-next {
        right: 0;
    }
}