﻿/* =====================
   Genel
===================== */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #e9ecef;
}

/* =====================
   Navbar
===================== */
.navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

    /* SADECE navbar içindeki ZekaYolu yazısı */
    .navbar .navbar-brand .brand-text {
        color: #dc3545;
    }

    /* Hover */
    .navbar .navbar-brand:hover .brand-text {
        color: #a71d2a;
    }

.navbar .navbar-logo {
    display: block;
    height: 36px;
}

/* =====================
   Kart
===================== */
.category-card {
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    margin-bottom: 30px;
    padding-top: 12px; /* GÖRSEL İÇİN GERÇEK BOŞLUK */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

    /* =====================
   Kart Görseli
===================== */
    .category-card .card-img-top {
        display: block;
        width: calc(100% - 24px); /* SAĞ–SOL EŞİT BOŞLUK */
        margin: 0 auto 12px auto; /* ORTALAMA */
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }

/* =====================
   Kart İçerik
===================== */
.card-body {
    padding: 25px;
}

/* Kart Başlığı */
.category-title {
    display: block;
    width: 100%;
    color: #343a40;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Kart Açıklama */
.card-desc {
    color: #6c757d;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 48px;
}

/* =====================
   Buton
===================== */
.btn-more {
    background-color: #8b0000;
    color: #ffffff;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .btn-more:hover {
        background-color: #d63384;
        transform: scale(1.05);
    }

/* =====================
   Footer
===================== */
footer {
    background-color: #f8f9fa;
    padding: 30px 0;
    border-top: 1px solid #dee2e6;
}


/* ====================
    Navbar Avatar
*==================== */

.uye-avatar-trigger {
    text-decoration: none;
    padding: 0 !important;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .uye-avatar-trigger::after {
        display: none !important;
    }

.uye-avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.18);
    transition: all .2s ease;
    border: 2px solid rgba(255,255,255,.85);
}

    .uye-avatar-circle:hover {
        transform: scale(1.06);
        box-shadow: 0 6px 14px rgba(0,0,0,.24);
    }

.uye-avatar-icon {
    font-size: 16px;
    line-height: 1;
}

.uye-dropdown-menu {
    min-width: 220px;
    border-radius: 14px;
    overflow: hidden;
}

.uye-dropdown-header {
    padding: 12px 14px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

    .uye-dropdown-header .uye-ad {
        font-weight: 700;
        font-size: .95rem;
        color: #212529;
        margin-bottom: 2px;
    }

    .uye-dropdown-header .uye-alt {
        font-size: .78rem;
        color: #6c757d;
    }