/* ============================================================
   Anasayfa Teminatlar — resim + başlık + kısa açıklama kartları
   ve detay modalı (panelden yönetilir)
   ============================================================ */

.teminat-grid {
    --teminat-accent: #13b6ad;
}

.teminat-grid .teminat-col {
    margin-bottom: 30px;
}

.teminat-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .35s ease, transform .35s ease;
}

.teminat-card:hover {
    box-shadow: 0 18px 40px rgba(8, 54, 59, 0.12);
    transform: translateY(-5px);
}

.teminat-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef0f3;
}

.teminat-card-image.no-image {
    background: linear-gradient(135deg, #13b6ad 0%, #08363b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.teminat-card-image.no-image::after {
    content: "\f0fa"; /* fa-stethoscope/notes — genel ikon */
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", FontAwesome;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.85);
    font-size: 40px;
}

.teminat-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.teminat-card:hover .teminat-card-image img {
    transform: scale(1.06);
}

.teminat-card-body {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.teminat-card-body h3 {
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 12px;
}

.teminat-card-body p {
    color: #6b7280;
    margin: 0 0 20px;
    flex: 1;
}

.teminat-detay-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    color: var(--teminat-accent);
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    align-self: flex-start;
}

.teminat-detay-btn i {
    transition: transform .3s ease;
}

.teminat-detay-btn:hover {
    color: #08363b;
}

.teminat-detay-btn:hover i {
    transform: translateX(5px);
}

/* ---- Detay modalı ---- */
.teminat-modal .modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
}

.teminat-modal .modal-header {
    border-bottom: 0;
    padding: 24px 28px 0;
}

.teminat-modal .modal-title {
    font-size: 24px;
    color: #08363b;
}

.teminat-modal .modal-body {
    padding: 18px 28px 30px;
}

.teminat-modal-image {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
}

.teminat-modal-detail {
    color: #4b5563;
    line-height: 1.7;
    white-space: pre-line; /* satır sonlarını korur */
}
