:root {
	--primary-navy: #001431;
	--accent-yellow: #FFD700;
	--text-dark: #333;
	--text-light: #555;
	--bg-gray: #f4f7f6;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background-color: var(--bg-gray);
	color: var(--text-dark);
	line-height: 1.6;
	padding: 20px;
}

.container {
	max-width: 900px;
	margin: 0 auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	overflow: hidden;
	border-top: 6px solid var(--accent-yellow);
}

/* --- MASAÜSTÜ HEADER TASARIMI --- */
.header {
	display: flex;
	align-items: center;
	gap: 30px; /* Fotoğraf ve metin arasına ferahlık kattık */
	background-color: var(--primary-navy);
	color: white;
	padding: 40px;
	text-align: left; /* Bilgisayarda yan yana iken sola dayalı daha profesyonel durur */
	border-bottom: 4px solid var(--accent-yellow);
}

.header-photo {
	flex-shrink: 0; /* Fotoğrafın ekran daraldığında ezilmesini engeller */
}

.header-photo img {
	width: 140px; 
	height: 140px;
	border-radius: 45%; 
	object-fit: cover; 
	object-position: top;
	border: 3px solid var(--accent-yellow); 
}

.header-text {
	flex: 1; /* Metin alanının kalan boşluğu doldurmasını sağlar */
}

.header h1 {
	font-size: 2.5em;
	margin-bottom: 5px;
	letter-spacing: 1px;
}

.header h2 {
	font-size: 1.2em;
	color: var(--accent-yellow);
	font-weight: 400;
	margin-bottom: 5px;
}

.header h3 {
	font-size: 1.0em;
	color: var(--accent-yellow);
	font-weight: 400;
}

.contact-info {
	display: flex;
	justify-content: flex-start; /* Sola dayalı metinlerle uyumlu olması için */
	gap: 20px;
	margin-top: 15px;
	font-size: 0.9em;
	flex-wrap: wrap;
}

.contact-info a {
	color: white;
	text-decoration: none;
}

.contact-info a:hover {
	color: var(--accent-yellow);
}

/* --- İÇERİK (CONTENT) TASARIMI --- */
.content {
	padding: 40px;
}

.section-title {
	color: var(--primary-navy);
	border-bottom: 2px solid var(--accent-yellow);
	padding-bottom: 8px;
	margin-bottom: 20px;
	font-size: 1.5em;
	display: inline-block;
}

.profile-summary {
	margin-bottom: 40px;
	font-size: 1.1em;
	color: var(--text-light);
}

.experience-item, .education-item {
	margin-bottom: 30px;
}

.item-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.item-title {
	font-size: 1.2em;
	font-weight: bold;
	color: var(--primary-navy);
}

.item-subtitle {
	font-weight: 600;
	color: var(--text-dark);
}

.item-date {
	color: var(--text-light);
	font-size: 0.9em;
	background: #eee;
	padding: 4px 10px;
	border-radius: 15px;
}

.item-details {
	color: var(--text-light);
	margin-top: 10px;
}

.item-details ul {
	padding-left: 20px;
	margin-top: 10px;
}

.skills-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
}

.skill-tag {
	background-color: var(--primary-navy);
	color: white;
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 0.9em;
	border: 1px solid var(--accent-yellow);
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 768px) {
	/* Telefonlarda çalışacak kodlar */
	body {
		padding: 10px; /* Mobilde dış boşluğu daraltıyoruz */
	}

	.header {
		flex-direction: column; /* Fotoğraf ve metni alt alta alır */
		text-align: center; /* Mobilde ortalı görünüm daha iyidir */
		gap: 15px;
		padding: 30px 20px;
	}

	.contact-info {
		justify-content: center; /* İletişim bilgilerini ortalar */
		flex-direction: column; /* Mobilde iletişim ikonlarını alt alta dizer ki ekrandan taşmasın */
		align-items: center;
		gap: 10px;
	}

	.content {
		padding: 20px; /* İçerik alanının yanlarındaki boşluğu azaltır */
	}

	.item-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.item-date {
		margin-top: 5px;
	}
}