/* ==========================================================================
   Trending Destinations Section (Booking.com 2+3 Bento Grid Style)
   ========================================================================== */

.trending-destinations-section {
    padding: 40px 0 48px;
    background: #ffffff;
}

.trending-dest-heading {
    margin-bottom: 18px;
    text-align: left;
}

.trending-dest-section-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.trending-dest-section-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #595959;
    margin: 0;
    line-height: 1.45;
}

.trending-dest-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-dest-row {
    display: grid;
    gap: 16px;
}

.trending-dest-row-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trending-dest-row-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trending-dest-card {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    cursor: pointer;
}

.trending-dest-row-top .trending-dest-card {
    height: 270px;
}

.trending-dest-row-bottom .trending-dest-card {
    height: 240px;
}

.trending-dest-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    text-decoration: none;
}

.trending-dest-card:focus-visible {
    outline: 3px solid #006ce4;
    outline-offset: 2px;
}

.trending-dest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.trending-dest-card:hover .trending-dest-img {
    transform: scale(1.04);
}

.trending-dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 14, 32, 0.72) 0%,
        rgba(0, 14, 32, 0.28) 38%,
        rgba(0, 14, 32, 0) 68%
    );
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    pointer-events: none;
}

.trending-dest-title-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.trending-dest-name {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.trending-dest-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .trending-dest-row-top .trending-dest-card {
        height: 230px;
    }

    .trending-dest-row-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trending-dest-row-bottom .trending-dest-card {
        height: 210px;
    }

    .trending-dest-row-bottom .trending-dest-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .trending-destinations-section {
        padding: 28px 0 36px;
    }

    .trending-dest-section-title {
        font-size: 22px;
    }

    .trending-dest-section-subtitle {
        font-size: 14px;
    }

    .trending-dest-row-top,
    .trending-dest-row-bottom {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trending-dest-grid {
        gap: 12px;
    }

    .trending-dest-row-top .trending-dest-card,
    .trending-dest-row-bottom .trending-dest-card {
        height: 195px;
    }

    .trending-dest-row-bottom .trending-dest-card:last-child {
        grid-column: auto;
    }

    .trending-dest-overlay {
        padding: 16px 18px;
    }

    .trending-dest-name {
        font-size: 20px;
    }
}
