/* Сетка туров */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 12px 0;
}

/* Карточка тура */
.tour-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 22px;
    border: 1px solid rgba(231, 237, 245, 0.12);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.tour-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 22%, rgba(135, 240, 255, 0.18), transparent 40%),
                radial-gradient(circle at 82% 16%, rgba(247, 213, 161, 0.14), transparent 45%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
    border-color: rgba(244, 226, 196, 0.18);
}

.tour-card:hover::before {
    opacity: 1;
}

.tour-image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.tour-card:hover .tour-image-container img {
    transform: scale(1.03);
    filter: saturate(1.04);
}

.tour-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
    color: #eef3ff;
}

.tour-card h3 {
    margin: 6px 0 2px;
    font-size: 18px;
    font-weight: 700;
}

.tour-card p {
    margin: 0;
    font-size: 14px;
    color: rgba(231, 237, 245, 0.78);
    line-height: 1.55;
}

.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: rgba(231, 237, 245, 0.8);
}

.tour-chip {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(231, 237, 245, 0.12);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-details {
    align-self: flex-start;
    background: linear-gradient(145deg, #9be8ff, #d9c3ff, #f6deb1);
    color: #050a18;
    text-decoration: none;
    border-radius: 14px;
    padding: 11px 16px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 16px 30px rgba(144, 204, 255, 0.28);
}

.btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(144, 204, 255, 0.38);
}

@media (max-width: 640px) {
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tour-card-body {
        padding: 16px;
    }

    .tour-card h3 {
        font-size: 17px;
    }
}
