/* Destinations Gallery Grid */
.destinations-section {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dest-card {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    isolation: isolate;
}

.dest-card:hover {
    transform: translateY(-10px);
}

.dest-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: -2;
}

.dest-card:hover .dest-card-bg {
    transform: scale(1.1);
}

.dest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    z-index: -1;
    transition: background 0.4s ease;
}

.dest-card:hover .dest-card-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
}

.dest-card-content {
    padding: 2rem;
    color: #fff;
    z-index: 1;
}

.dest-card-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tour-count-badge {
    display: inline-block;
    background: rgba(var(--color-primary-rgb), 0.9);
    color: #000;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* RTL Support */
[dir="rtl"] .dest-card-content h3 {
    font-family: 'Noto Kufi Arabic', sans-serif;
}

[dir="rtl"] .tour-count-badge {
    font-family: 'Noto Kufi Arabic', sans-serif;
}