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

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

header {
  background: #333;
  color: white;
  padding: 2rem;
  text-align: center;
}

header h1 {
  margin-bottom: 0.5rem;
}

nav a {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
}

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

h2 {
  margin-bottom: 1rem;
  color: #222;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #eee;
  font-size: 0.9rem;
}
.contact-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-icons a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.contact-icons a:hover {
  color: #0077b5; /* LinkedIn mavisi gibi bir ton */
}

.contact-icons i {
  font-size: 1.2rem;
  width: 24px;
}
.interest-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.interest-list li::before {
  content: "✔️";
  margin-right: 0.5rem;
  color: #4caf50;
}
/* Tema butonu stili */
#theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: #f0f0f0;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Koyu tema */
body.dark {
  background-color: #121212;
  color: #f0f0f0;
}

body.dark a {
  color: #90caf9;
}

body.dark header,
body.dark footer {
  background-color: #1e1e1e;
}

body.dark #theme-toggle {
  background: #333;
  color: white;
}
/* Fade-in animasyonu */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Koyu tema arka plan ve yazılar */
body.dark {
  background-color: #121212;
  color: #f0f0f0;
}

/* Tüm paragraflar, liste ögeleri ve başlıklar koyu modda açık renk olur */
body.dark p,
body.dark li,
body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6 {
  color: #f0f0f0;
}

/* Linkler görünür renkte */
body.dark a {
  color: #90caf9;
}

/* İletişim ikonları */
body.dark .contact-icons a {
  color: #90caf9;
}

/* Header ve footer koyu görünüm */
body.dark header,
body.dark footer {
  background-color: #1e1e1e;
}

/* Tema düğmesinin koyu görünümü */
body.dark #theme-toggle {
  background: #333;
  color: white;
  border: 1px solid #555;
}
body.dark .interest-list li::before {
  color: #81c784; /* Açık yeşil tik ikonu */
}
