/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* end of reset */
body {
	font: normal normal 400;
	font-size: 100%;
	line-height: 1.5em;
	font-family: Avenir,Verdana,sans-serif;
	margin-top: 1em;
	margin-left: auto;
	margin-right: auto;
	max-width: 1800px;
	padding: 0 2em;
	/* CV içeriği için container */
	position: relative;
}
p {
	position: relative;
	left: 20%;
	margin-bottom: 0.7em;
	margin-right: 0;
	width: 75%;
	text-align: justify;
	text-justify: inter-word;
}
code {
	font: normal normal;
	font-size: 90%;
	font-family: Monaco,Menlo,monospace,sans-serif;
	color: #aaa;
}
p code {
	position: absolute;
	text-align: right;
	right: 0;
	top: 0;
	white-space: nowrap;
}
ul { 
	position: relative;
	left: 20%;
	width: 75%;
	margin-bottom: 1.5em;
	margin-top: -0.5em;
}
li {
	/* Hanging indent sorunu için düzeltme */
	padding-left: 0;
	text-indent: 0;
	text-align: justify;
	text-justify: inter-word;
	margin-bottom: 0.3em;
	margin-left: 1.25em;
	/* İkinci satır için hanging indent */
	position: relative;
}

/* Bullet point için before pseudo-element kullan */
li:before {
	content: "- ";
	position: absolute;
	left: -1.25em;
	top: 0;
}

li ul {
	position: relative;
	left: 0;
	width: 100%;
	margin-top: 0.25em;
}
h1,h2,h3,h4 {
	font-weight: 400;
	font-family: Avenir,Cousine,Verdana,sans-serif;
}
h1 {
    font-weight: 400;
    font-family: Avenir, Cousine, Verdana, sans-serif;
    font-size: 3em;
    line-height: 1em;
    position: relative;
    left: 20%;
    width: 75%;
    margin-bottom: 0.5em;
}
h1+p { 
	font-style: italic;
	font-size: 110%;
}
h2 {
	font-size: 1.1em;
	color: #bc412b;
	margin-top: 3em;
	position: relative;
	top: 1.4em;
	text-align: right;
	width: 15%;
	padding-right: 1em;
}
h3 {
	font-size: 1em;
	line-height: 2em; 
	position: relative;
	top: 1.7em;
	text-align: right;
	width: 15%;
	padding-right: 1em;
}
a {
	color: inherit;
}
a:hover {
	color:#39f
}
#webaddress {
	margin-top: 1em;
	position: relative;
	left: 20%;
	width: 75%;
	color: #bc412b;
	font-family: Monaco,Menlo,monospace,sans-serif;
	font-size: 100%;
}
#webaddress a {
	text-decoration: none;
}
em {
	font-style: italic;
}
strong {
	font-weight: bold;
}
#address {
	display: none;
}

/* CV Header Styles - Düzeltilmiş */
.cv-header {
	/* Header container'ı body ile aynı genişlikte olsun */
	max-width: 1800px;
	margin: 0 auto;
	position: relative;
	display: block;
	margin-bottom: 2em;
	/* Body'nin padding değeriyle aynı */
	padding: 0 2em;
	/* Container için box-sizing */
	box-sizing: border-box;
}

.cv-header .hover-elephant {
	position: absolute;
	/* İçerik alanının sonuna hizala (25% + 70% = 95%) */
	right: 1.5em; /* body padding ile aynı */
	top: 55px;
	z-index: 1;
	width: 180px;
	height: 180px;
	display: block;
	background-image: url("/assets/elephant.png");
	background-size: cover;
	background-position: center;
	/* Elephant'ın content area'nın sağına hizalanması için */
	transform: translateX(calc(5% - 25%)); /* İçerik alanının sağ kenarına hizala */
}

.cv-header .hover-elephant:hover {
	background-image: url("/assets/elephant-hover.png");
}



/* Responsive tasarım için */
@media (max-width: 768px) {
	body {
		padding: 0 1em;
	}
	
	p, ul, h1, #webaddress {
		left: 25%;
		width: 70%;
	}
	
	h2, h3 {
		width: 20%;
	}
	
	.cv-header {
		padding: 0 1em;
		/* Elephant için yeterli yükseklik */
		min-height: 200px;
	}
	
	.cv-header .hover-elephant {
		right: 1em;
		width: 150px;
		height: 150px;
		/* Mobilde daha basit hizalama */
		transform: none;
	}
	
	/* Başlık için elephant altına gelecek kadar margin */
	h1 {
		margin-top: 170px;
		margin-bottom: 1em;
	}
}

/* Ekstra küçük ekranlar için */
@media (max-width: 480px) {
	.cv-header .hover-elephant {
		width: 120px;
		height: 120px;
		right: 0.5em;
	}
	
	h1 {
		font-size: 2.5em;
	}
}