/* Ümumi Stil */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}

/* Məhdud Genişlik və Mərkəzləşdirmə */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Header */
header {
    background: #333;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.header-left {
    font-size: 1.5em;
}

.header-center nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.header-center nav a:hover {
    color: #FFD700;
}

/* Axtarış Bölməsi */
.header-right input[type="text"] {
    padding: 5px;
    width: 150px;
}

.header-right button {
    padding: 5px 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}

/* Profil Kartları */
.user-profiles {
    margin: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.user-profiles h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.profiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Profil Kartı */
.profile-card {
    width: 140px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Profil Şəkli */
.profile-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #ddd;
    margin-bottom: 10px;
    object-fit: cover;
}

/* Çat Bölməsi */
.chat-box {
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 5px;
}

/* Form Konteyneri */
.form-container {
    max-width: 500px;
    margin: 30px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-group input[type="file"] {
    border: none;
}

.btn-submit {
    background: #007BFF;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1em;
}

.btn-submit:hover {
    background: #0056b3;
}

/* Profil Bölməsi */
.profile-section {
    text-align: center;
    margin-top: 20px;
}

.profile-container {
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    display: inline-block;
    text-align: center;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ccc;
    margin-bottom: 10px;
}

.btn-edit-profile {
    display: inline-block;
    padding: 10px 20px;
    background: #007BFF;
    color: white;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 5px;
}

.btn-edit-profile:hover {
    background: #0056b3;
}

/* Loqo */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}
/* Kiçik Ekranlar Üçün */
@media (max-width: 480px) {
    nav {
        flex-wrap: nowrap; /* Linklər sıxışsa belə yan-yana qalsın */
        overflow-x: auto; /* Lazım olarsa sürüşdürmək olsun */
        white-space: nowrap; /* Linklərin alt-alta düşməsini əngəlləyir */
    }
}
/* Mobil Uyğunluq */
@media (max-width: 768px) {
    .container {
        max-width: 95%;
        padding: 0 10px;
    }

    header {
        flex-direction: column;
    }

    .header-center nav {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .header-center nav a {
        display: block;
        margin: 5px 0;
    }

    .header-right {
        margin-top: 10px;
    }

    .profiles {
        flex-direction: column;
        align-items: center;
    }

    .profile-card {
        width: 90%;
        margin-bottom: 10px;
    }

    .articles, .article-container {
        padding: 15px;
    }
}

nav {
    display: flex;
    justify-content: center; /* Linkləri mərkəzə düzür */
    align-items: center;
    flex-wrap: wrap; /* Ekran daraldıqda sıxışmasın deyə */
    gap: 15px; /* Linklər arasında boşluq */
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 5px;
    background: #007BFF;
    transition: background 0.3s ease;
}

nav a:hover {
    background: #0056b3;
}