/* Genel Stil */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #f1f1f1;
    background-color: #121212;
    
}


/* Üst Menü */
header {
    background-color: #1e1e1e;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
   
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header .logo {
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

header nav ul li a:hover {
    text-decoration: underline;
}


.right {
    float: right;
}
/* Kahraman Bölümü */
.hero {
    background-color: #1e1e1e;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    padding-top: 150px;  
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh; /* Yüksekliği tam ekran yapar */
    text-align: center; /* Tüm metni ortalar */
    
    padding: 20px; /* İç boşluk */
}

.hero .btn {
    background-color: #ff5722;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.hero .btn:hover {
    background-color: #e64a19;
}

/* Hakkımda Bölümü */
.about {
    padding: 60px 20px;
    background-color: #333;
    color: #fff;
    margin-top: 100px;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
   
}

.about-content img {
    border-radius: 50%;
    width: 250px;
    height: 250px;
}

/* Projeler Bölümü */
.projects {
    padding: 60px 20px;
    background-color: #333;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-item {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.project-item img {
    width: 100%;
    border-radius: 8px;
}

.project-item .btn {
    background-color: #ff5722;
    color: #fff;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
}

/* Beceri Bölümü */
.skills {
    padding: 60px 20px;
    background-color: #1e1e1e;
    color: #fff;
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill {
    margin-bottom: 20px;
}

.progress-bar {
    background-color: #333;
    border-radius: 5px;
    height: 20px;
    width: 100%;
    overflow: hidden;
}

.progress {
    background-color: #ff5722;
    height: 100%;
}

/* İletişim Bölümü */
.contact {
    padding: 50px 0px;
    background-color: #333;
    color: #ffffff;
}
.contact .container {
    display: flex;
    flex-wrap: wrap; /* İçeriğin dar ekranlarda taşmasını engellemek için */
    justify-content: space-between; /* Öğeleri birbirinden uzaklaştırır */
}

.contact h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #ffffff;
}

.contact-info {
    flex: 1;
    min-width: 280px; /* Mobil uyumluluk için minimum genişlik belirleyin */
    max-width: 48%; /* Bilgilerin genişliğini sınırlandırır */
}
.contact-info p {
    margin: 10px 0;
}

.contact-info a {
    color: #ff5722;
    text-decoration: none;
    
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Alt Bilgi */
footer {
    background-color: #1e1e1e;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.social-icons a {
    color: #ff5722;
    margin: 0 10px;
    text-decoration: none;
}

.social-icons a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
form.right {
    flex: 1;
    min-width: 280px; /* Mobil uyumluluk için minimum genişlik belirleyin */
    max-width: 48%; /* Formun genişliğini sınırlandırır */
    margin-right: 2%; /* Diğer içerik ile arada boşluk bırakır */
}

form.right label {
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
}

form.right input, form.right textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
}

form.right button.btn {
    align-self: flex-end;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form.right button.btn:hover {
    background-color: #0056b3;
}

.profile-photo {
    width: 100%; /* Fotoğrafın tam genişlikte görünmesi için */
    max-width: 200px; /* Maksimum genişliği ayarla */
    border-radius: 50%; /* Yuvarlak görünüm için */
    margin-bottom: 20px; /* Fotoğraf ile metin arasına boşluk ekle */
}


@media (max-width: 768px) {
    .contact .container {
        flex-direction: column; /* Üst üste yerleştirir */
    }

    form.right, .contact-info {
        max-width: 100%; /* Tam genişlik kullanılır */
        margin-right: 0; /* Boşluk sıfırlanır */
        margin-bottom: 20px; /* Alt boşluk eklenir */
    }
}