* {
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, sans-serif;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 60px;
    border-bottom: 1px solid black;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg {
    width: 36px;
    height: 36px;
}
.logo-kiber {
    font-size: 30px;
    font-weight: 600;
    color: black;
}
.logo-kafedra {
    font-size: 15px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
}
.nav-links a {
    text-decoration: none;
    font-size: 17px;
    padding: 16px;
    color: slategray;
}
.nav-links a:hover {
    background: lightgrey;
}
.nav-links a.active {
    background: royalblue;
    color: white;
    border-radius: 6px;
}

/* sehife bashligi */
.page-top {
    background: royalblue;
    padding: 70px 60px;
    color: white;
}
.page-top-text h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 12px;
}
.page-top-text p {
    font-size: 22px;
}

/* meqaleler */
.articles-section {
    padding: 70px 60px;
    background: ghostwhite;
}
.articles-intro {
    text-align: center;
    font-size: 20px;
    color: dimgray;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* filterler */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.filter-btn {
    background: white;
    border: 1px solid lightgray;
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    color: dimgray;
    cursor: pointer;
}
.filter-btn:hover {
    background: lightgrey;
}
.filter-btn.active {
    background: royalblue;
    color: white;
    border-color: royalblue;
}

/* meqale kart */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}
.article-card {
    background: white;
    border: 1px solid lightgray;
    border-radius: 12px;
    padding: 28px 30px;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.article-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.article-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 12px;
}
.article-title {
    font-size: 22px;
    color: black;
    flex: 1;
}
.tag {
    background: lavender;
    color: royalblue;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 14px;
    white-space: nowrap;
}
.article-meta {
    display: flex;
    gap: 22px;
    color: dimgray;
    font-size: 15px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.article-text {
    color: black;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.article-journal {
    color: dimgray;
    font-style: italic;
    font-size: 15px;
}

/* statistika - Jalenin stats stili */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: royalblue;
    border-radius: 12px;
    padding: 50px 0;
    text-align: center;
}
.stat h2 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}
.stat p {
    font-size: 18px;
    color: lightsteelblue;
}

/* modal pencere */
.modal-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 100;
    padding: 40px 20px;
    overflow-y: auto;
}
.modal-bg.show {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.modal {
    background: white;
    border-radius: 12px;
    max-width: 720px;
    width: 100%;
    padding: 40px;
    position: relative;
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: ghostwhite;
    border: 1px solid lightgray;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}
.close-btn:hover {
    background: royalblue;
    color: white;
}
.modal .tag {
    display: inline-block;
    margin-bottom: 16px;
}
.modal h2 {
    font-size: 28px;
    color: black;
    margin-bottom: 16px;
    padding-right: 40px;
}
.modal-info {
    display: flex;
    gap: 20px;
    color: dimgray;
    font-size: 15px;
    padding-bottom: 22px;
    border-bottom: 1px solid lightgray;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.modal-content p {
    margin-bottom: 14px;
    line-height: 1.7;
    color: black;
    font-size: 16px;
}
.modal-content h3 {
    margin: 20px 0 10px 0;
    font-size: 19px;
    color: black;
}
.modal-content ul {
    margin-left: 22px;
    margin-bottom: 14px;
}
.modal-content li {
    margin-bottom: 6px;
    color: dimgray;
    font-size: 16px;
}

/* footer (Jalenin stili) */
.footer {
    background: #111827;
    color: lightgray;
    padding: 50px 60px 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid slategray;
}
.footer-logo {
    font-size: 19px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}
.footer-brand p {
    font-size: 16px;
    color: darkgray;
    line-height: 1.6;
}
.footer-links h4,
.footer-contact h4 {
    font-size: 17px;
    font-weight: 600;
    color: white;
    margin-bottom: 14px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links a {
    text-decoration: none;
    font-size: 16px;
    color: darkgray;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: white;
}
.footer-contact p {
    font-size: 16px;
    color: darkgray;
    margin-bottom: 6px;
    line-height: 1.6;
}
.footer-bottom {
    padding: 18px 0;
    text-align: center;
    font-size: 15px;
    color: gray;
}


/* responsive - kicik ekranlarda dil dugmeleri kompakt */
@media (max-width: 720px) {
    .dil-secim {
        margin-left: 0;
        margin-top: 10px;
    }
    .dil-secim button {
        padding: 5px 8px;
        font-size: 12px;
    }
}

/* nav-right: nav-links ve dil-secim yan-yana */
.nav-right {
    display: flex;
    align-items: center;
}
