/* Genel Ayarlar */
:root {
    --primary-color: #333;
    --secondary-color: #f7f7f7;
    --accent-color: #007bff;
    --text-color: #555;
    --light-text: #888;
    --card-bg: #fff;
    --photo-bg: #f0e6d6;
    --border-radius: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--secondary-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    /* min-height: 100vh; Kaldırıldı, içerik uzayınca kaydırma çubuğu çıksın */
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 900px;
}

/* Başlık */
.main-header {
    text-align: center;
    margin-bottom: 40px;
}

.main-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.main-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Kart Stil Tanımı */
.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--photo-bg);
    display: inline-block;
    padding-bottom: 5px;
}

/* Üst Bölüm: Fotoğraf ve Detaylar */
.detail-card {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.photo-area {
    flex-shrink: 0;
}

.profile-photo-container {
    background-color: var(--photo-bg);
    border-radius: var(--border-radius);
    width: 250px;
    height: 350px;
    overflow: hidden;
    /* Fotoğrafın çerçeve içinde tam oturmasını sağla */
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.details-area {
    flex-grow: 1;
}

.details-list {
    list-style: none;
    padding: 0;
}

.details-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.details-list strong {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-block;
    min-width: 80px;
}

/* Alt Bölüm: Hakkımda (Daha Geniş ve Düzenli) */
.about-me-section {
    padding-top: 20px;
}

.about-card {
    padding: 40px;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    text-align: justify; /* Metni hizala */
}


/* Duyarlı Tasarım (Responsive Design) */
@media (max-width: 768px) {
    .detail-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .profile-photo-container {
        width: 100%;
        max-width: 250px;
        height: 350px;
    }

    .details-area {
        width: 100%;
    }
    
    .details-list {
        /* Detay listesini ortalamak için */
        text-align: left;
        max-width: 350px;
        margin: 0 auto;
    }

    .about-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .main-header h1 {
        font-size: 3rem;
    }

    .main-header .subtitle {
        font-size: 1rem;
    }
}
