/* Destinations Page Styles (BEM) */

.dst-page {
    padding: 32px 0 64px;
    background-color: #f8fafc;
    min-height: 70vh;
}

.dst-page__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Breadcrumb */
.dst-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.dst-breadcrumb__link {
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.dst-breadcrumb__link:hover {
    color: #0960d2;
}

.dst-breadcrumb__sep {
    font-size: 16px;
    color: #94a3b8;
}

.dst-breadcrumb__current {
    color: #0f172a;
    font-weight: 600;
}

/* Hero Section */
.dst-hero {
    background: linear-gradient(135deg, #0960d2 0%, #033c87 100%);
    border-radius: 20px;
    padding: 48px 32px;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(9, 96, 210, 0.18);
    position: relative;
    overflow: hidden;
}

.dst-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dst-hero__title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.dst-hero__desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 28px;
    max-width: 600px;
    line-height: 1.6;
}

/* Search Box */
.dst-search {
    max-width: 520px;
    position: relative;
}

.dst-search__input {
    width: 100%;
    height: 52px;
    padding: 0 54px 0 20px;
    font-size: 15px;
    background-color: #ffffff;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #0f172a;
    outline: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.dst-search__input:focus {
    border-color: #60a5fa;
    box-shadow: 0 8px 28px rgba(9, 96, 210, 0.25);
}

.dst-search__input::placeholder {
    color: #94a3b8;
}

.dst-search__icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #0960d2;
    font-size: 24px;
    pointer-events: none;
}

/* Toolbar */
.dst-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.dst-toolbar__count {
    font-size: 15px;
    color: #475569;
    margin: 0;
}

.dst-toolbar__count strong {
    color: #0960d2;
    font-weight: 700;
}

/* Grid */
.dst-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .dst-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .dst-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .dst-hero {
        padding: 32px 20px;
    }

    .dst-hero__title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .dst-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.dst-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dst-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(9, 96, 210, 0.12);
    border-color: #bfdbfe;
}

.dst-card__image-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.dst-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dst-card:hover .dst-card__image {
    transform: scale(1.08);
}

.dst-card__flag-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.dst-card__flag-img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dst-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.dst-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dst-card:hover .dst-card__name {
    color: #0960d2;
}

.dst-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed #f1f5f9;
}

.dst-card__tours-count {
    font-size: 13px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dst-card__tours-count .material-icons-outlined {
    font-size: 16px;
    color: #0960d2;
}

.dst-card__cta {
    font-size: 13px;
    font-weight: 600;
    color: #0960d2;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transition: transform 0.2s ease;
}

.dst-card:hover .dst-card__cta {
    transform: translateX(4px);
}

/* Empty State */
.dst-empty {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    grid-column: 1 / -1;
}

.dst-empty__icon {
    font-size: 48px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.dst-empty__title {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 6px;
}

.dst-empty__desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}
