/* =====================================================
   PTTK Destination Slider
   Inspired by eSky "Przebieraj w ofertach" grid slider
   ===================================================== */

.pttk-dest-slider-wrap {
    position: relative;
    padding: 0;
    margin: 20px 0;
}

/* ---- Cards ---- */
.pttk-ds-card {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    background-color: #1a2e3b;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pttk-ds-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* Dark gradient overlay – visible on hover only */
.pttk-ds-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.18) 40%,
        rgba(0, 0, 0, 0.72) 100%
    );
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pttk-ds-card:hover .pttk-ds-overlay {
    opacity: 1;
}

/* Featured badge */
.pttk-ds-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: #d38a09;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* No image fallback */
.pttk-ds-card:not([style*="url"]) .pttk-ds-overlay,
.pttk-ds-card[style*="url('')"] .pttk-ds-overlay {
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
}

/* ---- Card content ---- */
.pttk-ds-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 14px;
    z-index: 2;
}

.pttk-ds-country-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.30);
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
    backdrop-filter: blur(4px);
}

.pttk-ds-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pttk-ds-destination {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.pttk-ds-destination svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.pttk-ds-price {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.pttk-ds-price strong {
    font-size: 1.35rem;
    font-weight: 800;
}

.pttk-ds-currency {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.85;
    margin-left: 2px;
}

.pttk-ds-meta {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}

/* ---- Swiper row height ---- */
.pttk-dest-slider-wrap .swiper {
    padding-bottom: 4px !important;
}

.pttk-dest-slider-wrap .swiper-wrapper {
    align-items: stretch;
}

.pttk-dest-slider-wrap .swiper-slide {
    height: auto;
}

/* ---- Navigation arrows ---- */
.pttk-ds-btn-prev,
.pttk-ds-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, box-shadow 0.2s;
    color: #333;
}

.pttk-ds-btn-prev:hover,
.pttk-ds-btn-next:hover {
    background: #52B788;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(82, 183, 136, 0.45);
}

.pttk-ds-btn-prev {
    left: 0;
}

.pttk-ds-btn-next {
    right: 0;
}

/* disabled state */
.pttk-ds-btn-prev.swiper-button-disabled,
.pttk-ds-btn-next.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* ---- Responsive ---- */

@media (max-width: 600px) {

    .pttk-ds-destination {
        font-size: 1rem;
    }

    .pttk-ds-price strong {
        font-size: 1.15rem;
    }
}
