/* ===========================================
   AI-AVIA Destinations Page
   Path: assets/css/destinations.css
   =========================================== */

.dest-page {
    max-width: var(--max-w, 1200px);
    margin: 0 auto;
    padding: 48px 24px 80px;
}

/* — Hero — */
.dest-hero {
    text-align: center;
    margin-bottom: 40px;
}

.dest-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow-bg, #fff8e0);
    color: var(--yellow-dark, #e6b400);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.dest-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy, #1a1f71);
    margin: 0 0 10px 0;
}

.dest-hero h1 span {
    color: var(--yellow-dark, #e6b400);
}

.dest-hero p {
    font-size: 0.94rem;
    color: var(--g600, #6c757d);
    margin: 0 auto;
    max-width: 550px;
    line-height: 1.6;
}

/* — Stats — */
.dest-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.dest-stat {
    text-align: center;
}

.dest-stat__num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy, #1a1f71);
}

.dest-stat__label {
    font-size: 0.78rem;
    color: var(--g500, #adb5bd);
}

/* — Filter Tabs — */
.dest-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.dest-filter {
    padding: 10px 24px;
    border-radius: 100px;
    font-family: var(--font, 'Noto Sans Georgian', sans-serif);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid var(--g200, #e9ecef);
    background: #fff;
    color: var(--g600, #6c757d);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dest-filter:hover {
    border-color: var(--navy, #1a1f71);
    color: var(--navy, #1a1f71);
}

.dest-filter.active {
    background: var(--navy, #1a1f71);
    color: #fff;
    border-color: var(--navy, #1a1f71);
}

.dest-filter__count {
    font-size: 0.7rem;
    background: rgba(255,255,255,0.2);
    padding: 1px 7px;
    border-radius: 10px;
    font-weight: 600;
}

.dest-filter.active .dest-filter__count {
    background: rgba(255,255,255,0.2);
}

.dest-filter:not(.active) .dest-filter__count {
    background: var(--g100, #f1f3f5);
    color: var(--g500, #adb5bd);
}

/* — Cards Grid — */
.dest-catalog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* — Card — */
.dc {
    background: #fff;
    border: 1px solid var(--g200, #e9ecef);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.dc:hover {
    box-shadow: 0 12px 40px rgba(26, 31, 113, 0.1);
    transform: translateY(-4px);
    border-color: transparent;
}

.dc[data-visible="false"] {
    display: none;
}

/* Image */
.dc__img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.dc__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dc:hover .dc__img img {
    transform: scale(1.06);
}

.dc__price {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--yellow, #ffc800);
    color: var(--navy, #1a1f71);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.dc__region {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(26, 31, 113, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dc__airline {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(255,255,255,0.95);
    color: var(--navy, #1a1f71);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Content */
.dc__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dc__city {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy, #1a1f71);
    margin: 0 0 4px 0;
}

.dc__country {
    font-size: 0.78rem;
    color: var(--g500, #adb5bd);
    font-weight: 600;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dc__country i {
    font-size: 0.68rem;
    color: var(--yellow-dark, #e6b400);
}

.dc__meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    color: var(--g500, #adb5bd);
}

.dc__meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dc__meta i {
    color: var(--yellow, #ffc800);
    font-size: 0.72rem;
}

.dc__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.dc__route {
    font-size: 0.74rem;
    color: var(--g500, #adb5bd);
    display: flex;
    align-items: center;
    gap: 5px;
}

.dc__route i {
    color: var(--yellow, #ffc800);
    font-size: 0.7rem;
}

.dc__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: var(--yellow, #ffc800);
    color: var(--navy, #1a1f71);
    border-radius: 100px;
    font-family: var(--font, 'Noto Sans Georgian', sans-serif);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    white-space: nowrap;
}

.dc__btn:hover {
    background: var(--yellow-hover, #ffd633);
    box-shadow: 0 4px 14px rgba(255, 200, 0, 0.3);
    transform: translateY(-1px);
    color: var(--navy, #1a1f71);
}

.dc__btn i {
    font-size: 0.72rem;
}

/* — Empty state — */
.dest-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    color: var(--g400, #ced4da);
    display: none;
}

.dest-empty.show {
    display: block;
}

.dest-empty i {
    font-size: 2.5rem;
    margin-bottom: 14px;
    opacity: 0.3;
    display: block;
}

.dest-empty p {
    font-size: 0.92rem;
    color: var(--g500, #adb5bd);
}

/* — Results counter — */
.dest-count {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: var(--g500, #adb5bd);
}

.dest-count strong {
    color: var(--navy, #1a1f71);
}

/* — CTA Bottom — */
.dest-cta {
    text-align: center;
    margin-top: 48px;
    padding: 36px 24px;
    background: var(--g50, #f8f9fa);
    border-radius: 16px;
    border: 1px solid var(--g200, #e9ecef);
}

.dest-cta h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy, #1a1f71);
    margin: 0 0 8px 0;
}

.dest-cta p {
    font-size: 0.86rem;
    color: var(--g500, #adb5bd);
    margin: 0 0 20px 0;
}

.dest-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--navy, #1a1f71);
    color: #fff;
    border-radius: 100px;
    font-family: var(--font, 'Noto Sans Georgian', sans-serif);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
}

.dest-cta__btn:hover {
    background: var(--navy-dark, #141860);
    box-shadow: 0 6px 20px rgba(26, 31, 113, 0.2);
    transform: translateY(-1px);
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .dest-catalog {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .dest-page {
        padding: 32px 14px 60px;
    }

    .dest-hero h1 {
        font-size: 1.5rem;
    }

    .dest-stats {
        gap: 20px;
    }

    .dest-stat__num {
        font-size: 1.4rem;
    }

    .dest-filters {
        gap: 6px;
    }

    .dest-filter {
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    .dest-catalog {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dc__img {
        height: 180px;
    }

    .dc__body {
        padding: 16px;
    }

    .dc__city {
        font-size: 1.05rem;
    }
}

/* Animation */
@keyframes cardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.dc {
    animation: cardIn 0.4s ease forwards;
}

.dc:nth-child(2) { animation-delay: 0.05s; }
.dc:nth-child(3) { animation-delay: 0.1s; }
.dc:nth-child(4) { animation-delay: 0.15s; }
.dc:nth-child(5) { animation-delay: 0.2s; }
.dc:nth-child(6) { animation-delay: 0.25s; }