/* Temporary: Disable all hash links */
a[href="#"],
a[href*="#"] {
    pointer-events: none !important;
    cursor: default !important;
    opacity: 0.6 !important;
}

/* Filter Buttons */
.destination-country-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.destination-country-tag {
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.destination-country-tag:hover,
.destination-country-tag.active {
    background-color: var(--gotur-primary, #f7941d);
    /* Use theme primary color */
    color: #fff;
}

/* Grid Container */
.destination-grid-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    /* Space between cards */
    justify-content: center !important;
}

/* Destination Item Card */
.destination-item {
    position: relative !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
    width: 23% !important;
    /* ~4 items per row */
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    margin-bottom: 30px !important;
}

/* Image Wrapper (Capsule Shape) */
.destination-image-wrap {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 150% !important;
    /* Aspect ratio for portrait capsule */
    position: relative !important;
    overflow: hidden !important;
    border-radius: 150px 0 150px 150px !important;
    /* Sharp Top-Right corner */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    border: 3px solid transparent !important;
    /* Placeholder for hover border */
    transition: border-color 0.3s ease !important;
}

.destination-item:hover .destination-image-wrap {
    border-color: var(--gotur-primary, #f7941d) !important;
    /* Use theme primary color */
}

/* Image Proper */
.destination-image-wrap img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 150px 0 150px 150px !important;
    /* Match parent shape */
    display: block !important;
}

/* Destination Name Overlay (Brush Stroke Effect) */
.destination-name-overlay {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) rotate(-5deg) !important;
    /* Slight tilt */
    background: #fff !important;
    padding: 10px 30px !important;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px !important;
    /* Organic shape */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    z-index: 10 !important;
    min-width: 120px !important;
    white-space: nowrap !important;
}

/* Alternating rotations for more natural look */
.destination-item:nth-child(even) .destination-name-overlay {
    transform: translateX(-50%) rotate(3deg) !important;
    border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px !important;
}

.destination-city {
    font-family: 'Brush Script MT', 'Comic Sans MS', cursive !important;
    /* Fallback script font */
    font-size: 24px !important;
    color: var(--gotur-primary, #f7941d) !important;
    /* Use theme primary color */
    line-height: 1.2 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .destination-item {
        width: 30% !important;
    }
}

@media (max-width: 768px) {
    .destination-item {
        width: 45% !important;
    }
}

@media (max-width: 480px) {
    .destination-item {
        width: 90% !important;
        /* Full width on mobile */
    }
}