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

body {
  background-color: #fef8c3;
  font-family: Arial, sans-serif;
  color: #0d0d3d;
}

header {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 2rem 4rem;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #0d0d3d;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.socials a {
  color: #0d0d3d;
  font-size: 1.2rem;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: #555;
}

main {
  display:flex;
  justify-content: space-around;
  align-items: center;
  padding: 4rem;
}

.text {
  max-width: 700px;
}

.text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.text h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

button {
  margin-top: 2rem;
  padding: 0.8rem 1.8rem;
  border: none;
  background-color: #fef081;
  border: 2px solid #cfc56f;
  box-shadow: 2px 2px 0 #999;
  cursor: pointer;
  font-size: 1rem;
}

.image .photo-frame {
  position:relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #f9f5d2;
  box-shadow: 0 0 0 6px #cfc56f;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  color: #f4e26d;
  margin-bottom: 1rem;
}

.about-section p,
.work-section p {
  color: #0d0d3d;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.timeline {
  list-style: none;
  padding-left: 0;
}

.timeline li {
  margin-bottom: 2rem;
}

.timeline h4 {
  font-weight: bold;
  color: #0d0d3d;
  margin-bottom: 0.5rem;
}

.timeline h4::before {
  content: "● ";
  color: #0d0d3d;
}

.timeline p {
  color: #0d0d3d;
  margin-left: 1rem;
}

.work-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #fffbe0;
  border-left: 5px solid #f4e26d;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  color: #0d0d3d;
}

.project-card p {
  color: #0d0d3d;
  line-height: 1.6;
}

.references-section {
  padding: 4rem 2rem;
  background-color: #fefce5;
}

.references-section .reference {
  margin-bottom: 2rem;
}

.references-section h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-transform: lowercase;
}

.references-section h4 {
  margin-bottom: 0.5rem;
}

.references-section p {
  margin: 0.2rem 0;
}


.contact-section {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: #0d0d3d;
}

.contact-info a {
  color: #0d0d3d;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #fffad0;
  color: #555;
  font-size: 0.9rem;
}

.education-section {
  padding: 4rem 2rem;
  background-color: #fffde9;
}

.education-section .education-item {
  margin-bottom: 2rem;
}

.education-section h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-transform: lowercase;
}

.education-section h4 {
  margin-bottom: 0.5rem;
}

.education-section p {
  margin: 0.2rem 0;
}


/* Tablet ve aşağısı */
@media (max-width: 1024px) {
  header { padding: 1.5rem 2rem; }
  main { padding: 3rem 2rem; }
  .text h1 { font-size: 3rem; }
  .section-title { font-size: 2.5rem; }
}

/* Küçük ekranlar (telefon) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
  }
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .socials { gap: 0.5rem; }

  main {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.25rem;
    justify-content: center;
    align-items: center;
  }
  .text {
    max-width: 100%;
    text-align: center;
  }
  .text p { font-size: 1rem; }
  .section-title {
    font-size: 2.2rem;
    text-align: center;
  }
}

/* En küçük ekranlar */
@media (max-width: 480px) {
  header { padding: 1rem; }
  nav a { font-size: 0.9rem; }
  .text h1 { font-size: 2.2rem; }
  button {
    width: 100%;
    max-width: 280px;
  }
  section { padding: 2.5rem 1rem; }
  .project-grid { gap: 1rem; }
}