/* /sertifikalar/style.css */

/* --- GENEL DÜZEN (Standart) --- */
.split-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.left-pane {
    width: 30%;
    background-color: var(--card-bg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--border-color);
    position: relative;
    animation: slideInLeft 0.8s forwards;
}

.left-pane img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    opacity: 0;
    animation: popIn 1s 0.5s forwards;
}

.left-pane h1 { font-size: 2rem; margin-bottom: 5px; }
.left-pane h2 { font-size: 1rem; color: var(--accent-color); opacity: 0.8; }

.right-pane {
    width: 70%;
    padding: 60px;
    overflow-y: auto;
    background-color: var(--bg-color);
    opacity: 0;
    animation: fadeInUp 0.8s 0.3s forwards;
}

/* KATEGORİ BAŞLIKLARI */
.category-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title i { color: var(--accent-color); }

/* --- SERTİFİKA IZGARASI (GRID) --- */
.cert-grid {
    display: grid;
    /* Ekran genişliğine göre yan yana 2, 3 veya 4 tane sığdırır */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* STANDART SERTİFİKA KARTI */
.cert-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Hepsi eşit boyda olsun */
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cert-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    opacity: 0.5;
}

.cert-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--accent-color);
    opacity: 0.8;
}

/* --- PREMIUM KART (CCNA GİBİLER İÇİN) --- */
.cert-card.premium {
    border: 2px solid #fbbf24; /* Altın Sarısı Çerçeve */
    background: linear-gradient(145deg, var(--card-bg), rgba(251, 191, 36, 0.05));
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.cert-card.premium .cert-icon { color: #fbbf24; opacity: 1; }
.cert-card.premium .cert-name { color: #fbbf24; }
.cert-card.premium .cert-issuer { color: #fff; opacity: 0.9; }

.cert-card.premium:hover {
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
    transform: translateY(-5px) scale(1.02);
}

/* Mobil */
@media (max-width: 768px) {
    .split-container { flex-direction: column; overflow: auto; }
    .left-pane, .right-pane { width: 100%; height: auto; padding: 30px; }
}

/* Animasyonlar */
@keyframes slideInLeft { from {transform: translateX(-100%); opacity:0;} to {transform: translateX(0); opacity:1;} }
@keyframes fadeInUp { from {transform: translateY(30px); opacity:0;} to {transform: translateY(0); opacity:1;} }
@keyframes popIn { from {transform: scale(0.5); opacity:0;} to {transform: scale(1); opacity:1;} }