/* ============================================================
   NITRA TEMSİLCİLİKLER — Ön Yüz Stilleri
   Site paletiyle uyumlu:
   - Turkuaz gradient: #26BECF → #1A9AA8
   - Lacivert: #0F1F2C / #0A1622
   ============================================================ */
:root {
    --nt-bg:        #f5f7f9;
    --nt-card:      #ffffff;
    --nt-text:      #0f172a;
    --nt-text-mut:  #64748b;
    --nt-border:    #e2e8f0;
    --nt-navy:      #0f1f2c;
    --nt-navy-2:    #122a40;
    --nt-accent:    #26becf;
    --nt-accent-2:  #1a9aa8;
    --nt-accent-3:  #238894;
    --nt-accent-soft: rgba(38,190,207,.1);
    --nt-gradient:  linear-gradient(135deg, #26BECF 0%, #1A9AA8 100%);
    --nt-shadow:    0 4px 16px rgba(15,31,44,.06);
    --nt-shadow-2:  0 14px 40px rgba(15,31,44,.10);
    --nt-radius:    8px;
    --nt-radius-md: 12px;
    --nt-radius-lg: 18px;
}

/* ---- SARMALAYICI ---- */
.nitra-tem-wrap {
    width: 100%;
    margin: 30px 0;
}
.nitra-tem-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
.nitra-tem-cols-1 .nitra-tem-grid { grid-template-columns: 1fr; }
.nitra-tem-cols-2 .nitra-tem-grid { grid-template-columns: repeat(2, 1fr); }
.nitra-tem-cols-3 .nitra-tem-grid { grid-template-columns: repeat(2, 1fr); }
.nitra-tem-cols-4 .nitra-tem-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1100px) { .nitra-tem-cols-3 .nitra-tem-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .nitra-tem-cols-4 .nitra-tem-grid { grid-template-columns: repeat(4, 1fr); } }
/* ---- KART ---- */
.nitra-tem-card {
    background: var(--nt-card);
    border-radius: var(--nt-radius-lg);
    border: 1px solid var(--nt-border);
    padding: 28px 26px 24px;
    box-shadow: var(--nt-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}
.nitra-tem-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--nt-gradient);
    opacity: 0;
    transition: opacity .25s ease;
}
.nitra-tem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nt-shadow-2);
    border-color: rgba(38,190,207,.4);
}
.nitra-tem-card:hover::before { opacity: 1; }

/* ---- LOGO + BADGE ---- */
.nitra-tem-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}
.nitra-tem-card__logo {
    width: 76px;
    height: 76px;
    border-radius: var(--nt-radius-md);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--nt-border);
}
.nitra-tem-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 6px;
}
.nitra-tem-logo-fallback {
    font-size: 32px;
    font-weight: 700;
    color: var(--nt-accent-2);
    background: var(--nt-accent-soft);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nitra-tem-card__badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--nt-accent-soft);
    color: var(--nt-accent-3);
    border: 1px solid rgba(38,190,207,.25);
    line-height: 1;
    white-space: nowrap;
}

/* ---- BAŞLIK & AÇIKLAMA ---- */
.nitra-tem-card__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--nt-navy);
    margin: 0 0 8px;
    line-height: 1.3;
}
.nitra-tem-card__desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--nt-text-mut);
    margin: 0 0 18px;
}
.nitra-tem-card__desc p { margin: 0 0 8px; }
.nitra-tem-card__desc p:last-child { margin-bottom: 0; }

/* ---- BİLGİ LİSTESİ ---- */
.nitra-tem-card__info {
    list-style: none;
    margin: 0 0 20px;
    padding: 16px 0 0;
    border-top: 1px dashed var(--nt-border);
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.nitra-tem-card__info li {
    font-size: 13.5px;
    color: var(--nt-text);
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.5;
}
.nitra-tem-card__info li a {
    color: var(--nt-text);
    text-decoration: none;
    word-break: break-word;
    transition: color .2s ease;
}
.nitra-tem-card__info li a:hover { color: var(--nt-accent-2); }
.nitra-tem-ico {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nt-accent-soft);
    border-radius: 6px;
    font-size: 12px;
    line-height: 1;
    margin-top: 1px;
}

/* ---- BUTONLAR ---- */
.nitra-tem-card__foot {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 4px;
}
.nitra-tem-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    line-height: 1;
    flex: 1 1 auto;
    min-width: 110px;
    border: 1.5px solid transparent;
}
.nitra-tem-btn--primary {
    background: var(--nt-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(38,190,207,.30);
}
.nitra-tem-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(38,190,207,.45);
    color: #fff;
}
.nitra-tem-btn--ghost {
    background: #fff;
    color: var(--nt-navy);
    border-color: var(--nt-border);
}
.nitra-tem-btn--ghost:hover {
    border-color: var(--nt-accent);
    color: var(--nt-accent-2);
}

/* ---- BOŞ DURUM ---- */
.nitra-tem-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--nt-text-mut);
    font-size: 15px;
    background: #fff;
    border: 1px dashed var(--nt-border);
    border-radius: var(--nt-radius-md);
}

/* ---- MOBİL İNCE AYARLAR ---- */
@media (max-width: 480px) {
    .nitra-tem-card { padding: 22px 20px 20px; }
    .nitra-tem-card__logo { width: 64px; height: 64px; }
    .nitra-tem-card__title { font-size: 17px; }
    .nitra-tem-btn { padding: 9px 14px; font-size: 13px; }
}
