/* Digicells Flight Booking — Popular Destinations
   Self-contained styles. Namespaced under .dcfb-destinations-section
   so nothing here can affect the search form / listings / admin UI. */

.dcfb-destinations-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: inherit;
    box-sizing: border-box;
}

.dcfb-destinations-title {
    text-align: center;
    font-size: 1.75em;
    font-weight: 700;
    margin: 0 0 28px;
    color: #1a1a2e;
}

.dcfb-destinations-empty {
    text-align: center;
    color: #888;
}

.dcfb-destinations-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.dcfb-destinations-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 12px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: 1;
}
.dcfb-destinations-track::-webkit-scrollbar {
    display: none;
}

.dcfb-dest-card {
    position: relative;
    flex: 0 0 auto;
    width: 220px;
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: start;
    text-decoration: none;
    display: block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #eee;
}

.dcfb-dest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.dcfb-dest-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.dcfb-dest-card:hover .dcfb-dest-img {
    transform: scale(1.06);
}

.dcfb-dest-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 75%);
}

.dcfb-dest-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    color: #fff;
    z-index: 2;
}

.dcfb-dest-route {
    font-size: 0.72em;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 4px;
}

.dcfb-dest-city {
    font-size: 1.25em;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2px;
}

.dcfb-dest-sub {
    font-size: 0.85em;
    opacity: 0.9;
    margin-bottom: 8px;
}

.dcfb-dest-price {
    font-size: 0.9em;
    font-weight: 600;
}

.dcfb-dest-cta {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    color: #0066cc;
    font-size: 0.72em;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.dcfb-dest-card:hover .dcfb-dest-cta {
    opacity: 1;
    transform: translateY(0);
}

.dcfb-dest-arrow {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #000;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.15s ease;
    z-index: 3;
}
.dcfb-dest-arrow:hover {
    background: #222;
    transform: scale(1.06);
}
.dcfb-dest-arrow-prev { margin-right: 10px; }
.dcfb-dest-arrow-next { margin-left: 10px; }

/* Tablet */
@media (max-width: 900px) {
    .dcfb-dest-card { width: 190px; height: 260px; }
}

/* Mobile */
@media (max-width: 600px) {
    .dcfb-destinations-section { padding: 28px 14px; }
    .dcfb-destinations-title { font-size: 1.4em; margin-bottom: 18px; }
    .dcfb-dest-card { width: 66vw; height: 230px; }
    .dcfb-dest-arrow { width: 32px; height: 32px; font-size: 16px; }
}
