/* MODERN KATALOG KART SİSTEMİ */
.modern-catalog-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-visual {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.8s ease;
}

/* PDF ikonunun kart içinde çok devasa durmaması için */
.pdf-thumb {
    width: 100vh !important;
    height: auto !important;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--bs-primary-rgb), 0.15);
    /* Sitenin ana rengine göre hafif bir tint */
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.view-trigger {
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.type-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sub-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.card-details .title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    line-height: 1.5;
    margin-bottom: 20px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
    color: #222;
    font-weight: 700;
    font-size: 14px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.action-btn svg {
    transition: transform 0.3s ease;
}

/* HOVER EFEKTLERİ */
.modern-catalog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--bs-primary);
}

.modern-catalog-card:hover .visual-overlay {
    opacity: 1;
}

.modern-catalog-card:hover .view-trigger {
    transform: translateY(0);
}

.modern-catalog-card:hover .main-img {
    transform: scale(1.1);
}

.action-btn:hover {
    color: var(--bs-primary);
}

.action-btn:hover svg {
    transform: translate(3px, -3px);
}