/* Genel ayarlar */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #e0e0e0, #f8f9fa); /* Modern renk geçişi */
}

/* Profil Konteyneri */
.profile-container {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 550px; /* Daha geniş */
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    backdrop-filter: blur(12px); /* Modern arka plan efekti */
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Hover Efekti */
.profile-container:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    background-color: #f0f1f6; /* Hover arka plan rengi */
}

/* Profil Resmi */
.profile-picture {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden; /* Taşmayı önler */
    border: 8px solid #ffffff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    margin-right: 30px;
    position: relative;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover Efekti */
.profile-picture:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Profil Bilgileri */
.profile-info {
    flex: 1;
}

/* Metin kaydırma ve düzenleme */
.profile-info h1 {
    margin: 0;
    font-size: 34px;
    color: #212529;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
    word-wrap: break-word; /* Uzun kelimelerin kaymasını sağlar */
    overflow-wrap: break-word; /* Uzun kelimelerin kaymasını sağlar */
    hyphens: auto; /* Kelime kırma */
}

.profile-info p {
    margin: 5px 0;
    color: #6c757d;
    font-size: 18px;
    line-height: 1.6;
    word-wrap: break-word; /* Uzun kelimelerin kaymasını sağlar */
    overflow-wrap: break-word; /* Uzun kelimelerin kaymasını sağlar */
    text-align: justify; /* Metni hizalar ve okunabilirliği artırır */
}

/* Profil İstatistikleri */
.profile-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.stat {
    text-align: center;
    font-size: 16px;
    color: #212529;
}

.stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #007bff;
    background: linear-gradient(135deg, #007bff, #0056b3); /* Renk geçişli arka plan */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Profil Düzenleme */
.profile-edit {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

/* Metin Kutuları */
.profile-edit input[type="text"] {
    padding: 14px;
    border: 1px solid #ced4da;
    border-radius: 12px;
    font-size: 16px;
    color: #495057;
    margin-bottom: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    background: #f8f9fa; /* Hafif arka plan rengi */
}

.profile-edit input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
    outline: none;
    background-color: #ffffff; /* Arka plan rengi değişimi */
}





.tabbutton {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #007bff, #0056b3); /* Buton rengi geçişi */
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
	gap: 5px;
}

.tabbutton button:hover {
    background: linear-gradient(135deg, #0056b3, #00408a); /* Buton hover rengi geçişi */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Buton İkonu */
.tabbutton button svg {
    width: 20px;
    height: 20px;
    stroke: #fff; /* İkon rengi */
    margin-left: 8px; /* İkon ile metin arasındaki boşluk */
}


















/* Düzenleme Butonu */
.profile-edit button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #007bff, #0056b3); /* Buton rengi geçişi */
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.profile-edit button:hover {
    background: linear-gradient(135deg, #0056b3, #00408a); /* Buton hover rengi geçişi */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Buton İkonu */
.profile-edit button svg {
    width: 20px;
    height: 20px;
    stroke: #fff; /* İkon rengi */
    margin-left: 8px; /* İkon ile metin arasındaki boşluk */
}

/* Mobil görünüm */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        width: 100%;
        max-width: none; /* Maksimum genişlik sınırlamasını kaldır */
        padding: 15px; /* Daha dar bir padding */
    }

    .profile-picture {
        width: 120px; /* Daha küçük profil resmi */
        height: 120px; /* Daha küçük profil resmi */
        margin-right: 0; /* Margin'i kaldır */
        margin-bottom: 15px; /* Alt margin ekle */
    }

    .profile-info h1 {
        font-size: 24px; /* Daha küçük font boyutu */
    }

    .profile-info p {
        font-size: 14px;
        overflow-wrap: break-word;
        white-space: normal;
        width: 200px;
        text-align: center;
    }

    .profile-stats {
        gap: 15px; /* Daha dar gap */
    }

    .stat strong {
        font-size: 20px; /* Daha küçük font boyutu */
    }

    .profile-edit input[type="text"] {
        font-size: 14px; /* Daha küçük font boyutu */
        padding: 10px; /* Daha küçük padding */
    }

    .profile-edit button {
        font-size: 14px; /* Daha küçük font boyutu */
        padding: 10px 18px; /* Daha küçük padding */
        margin: auto;
        margin-top: 10px;
    }

    .profile-edit button svg {
        width: 16px; /* Daha küçük ikon */
        height: 16px; /* Daha küçük ikon */
    }

    p {
        text-align: center; /* Mobil görünümde metin hizalaması */
        word-break: break-word; /* Metin taşmasını önler */
    }
}
