/* Standardized Umrah Card Styles */

.umrah-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    height: 100%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.umrah-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
}

.umrah-card .card-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.umrah-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.umrah-card:hover .card-img-top {
    transform: scale(1.1);
}

.umrah-card .bookmark-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.umrah-card .bookmark-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.umrah-card .bookmark-btn.active {
    background: #007bff;
}

.umrah-card .bookmark-btn svg {
    width: 18px;
    height: 18px;
    stroke: #64748b;
    fill: none;
    transition: all 0.3s ease;
}

.umrah-card .bookmark-btn.active svg {
    stroke: #fff;
    fill: #fff;
}

.umrah-card .card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.umrah-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #23366e;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    height: 3.1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

/* Card Badges */
.umrah-card .card-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
}

.umrah-card .badge-status {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
}

.umrah-card .badge-status.verified { background: #10b981; }
.umrah-card .badge-status.license { background: #3b82f6; }
.umrah-card .badge-status.verifing { background: #f59e0b; }
.umrah-card .badge-status.guide { background: #06b6d4; }
.umrah-card .badge-status.promoter { background: #fbbf24; }
.umrah-card .badge-status.delegation { background: #64748b; }
.umrah-card .badge-status.facilite { background: #f97316; }
.umrah-card .badge-status.vip { background: #8b5cf6; }
.umrah-card .badge-status.ramadan { background: #059669; }

/* Override agency badge position when badges exist */
.umrah-card .agency-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    top: auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #23366e;
    backdrop-filter: blur(5px);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.umrah-card .card-specs {
    margin-bottom: 1rem;
    font-size: 0.82rem;
    color: #64748b;
}

.umrah-card .specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.umrah-card .spec-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
}

.umrah-card .spec-item span {
    text-overflow: ellipsis;
    overflow: hidden;
}

.umrah-card .spec-item i {
    width: 18px;
    margin-left: 8px;
    color: #007bff;
    font-size: 0.85rem;
}

.umrah-card .card-footer-custom {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.umrah-card .price-section {
    display: flex;
    flex-direction: column;
}

.umrah-card .price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #007bff;
}

.umrah-card .price-label {
    font-size: 0.7rem;
    color: #94a3b8;
}

.umrah-card .btn-details {
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    color: #fff !important;
}

.umrah-card .btn-details:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

/* Animations */
@keyframes pop {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.umrah-card .bookmark-btn.active svg {
    animation: pop 0.4s ease forwards;
}

/* Responsive adjustment */
@media (max-width: 992px) {
    .umrah-card {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        border-color: rgba(0, 0, 0, 0.1);
    }
    .umrah-card .card-img-wrapper {
        height: 160px;
    }
    .umrah-card .card-body {
        padding: 1rem;
    }
}
