/* Genel ayarlar */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #faf6f8;
  color: #222;
}

main {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

h1, h2 {
  color: #111;
}

/* HEADER NAVBAR */
header {
  background: #fceef5; /* açık pembe */
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar {
  display: flex;
  justify-content: space-between; /* sol logo, sağ menü */
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem; /* mobil kenarlarda boşluk */
  flex-wrap: wrap; /* taşma olursa alt satıra geçsin */
}

.navbar__title a {
  font-weight: bold;
  font-size: 1.3rem;
  text-decoration: none;
  color: #111;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap; /* logo yazısı satır kırmasın */
}

.navbar__menu {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap; /* dar ekranda alt satıra geçebilsin */
  justify-content: flex-end; /* taşma olursa hizayı korur */
}

.navbar__menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  transition: color 0.2s ease;
}

.navbar__menu a:hover {
  color: #d63384; /* pembe vurgu */
}

/* --- Mobil özel düzenleme --- */
@media (max-width: 600px) {
  .navbar {
    justify-content: center;
    text-align: center;
  }

  .navbar__menu {
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
  }
}

.hero {
  text-align: center;
  padding: 4rem 1rem;
}

.hero .highlight {
  color: #d63384;
}

.subtitle {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 1rem;
}

.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  background: #d63384;
  color: #fff;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #a61e65;
}

.btn.secondary {
  background: #eee;
  color: #333;
}

.about, .skills {
  margin: 3rem auto;
  max-width: 800px;
  text-align: center;
}

.skills-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.skills-list img {
  width: 50px;
  height: 50px;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap; /* mobilde alta insin */
}

.hero-text {
  flex: 1;
  min-width: 250px;
}

.hero-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%; /* yuvarlak */
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.about-page {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  flex-wrap: wrap;
}

.about-photo img {
  width: 250px;
  height: 250px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h1 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.about-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.lang-switch {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.contact-page {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.contact-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-list a {
  text-decoration: none;
  color: #d63384;
  font-weight: 500;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  align-self: flex-start;
}

.site-footer {
  margin-top: 3rem;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  background: #fceef5;
  border-top: 1px solid #eee;
}

.site-footer a {
  color: #d63384;
  text-decoration: none;
  margin: 0 0.3rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
}

.site-footer {
  margin-top: auto; /* en alta yaslanır */
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #fff6fa;
  margin: 0;
  color: #333;
  line-height: 1.6;
}

.navbar__title a {
  font-family: 'Sacramento', cursive;
  font-size: 2.1rem;
}

h1, h2, h3 {
  font-family: 'Open Sans', sans-serif;
}

.footer-logo {
  font-family: 'Sacramento', cursive;
  font-size: 1.4rem;
  color: #d63384;
}
.footer-logo:hover {
  color: #a61e65;
}

.about-logo {
  font-family: 'Sacramento', cursive;
  font-size: 2.8rem;
  color: #d63384;
  display: block;
  margin-bottom: 1rem;
}

.works {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
}

.intro {
  color: #555;
  margin-bottom: 2rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.work-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.work-card h2 {
  margin-bottom: 0.5rem;
  color: #d63384;
}

.tags {
  margin: 0.5rem 0 1rem;
}

.tags span {
  background: #ffe3f2;
  color: #d63384;
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  margin: 0.2rem;
  display: inline-block;
}

.links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.links a:hover {
  color: #d63384;
}

.github-btn,
.demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 36px;
  padding: 0 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  transition: all 0.25s ease;
  cursor: pointer;
}

/* GitHub button */
.github-btn {
  background: #f8f9fa;
  border: 1px solid #ddd;
  color: #333;
}

.github-btn:hover {
  background: #333;
  color: #fff;
  border-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.github-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  top: 0.5px;
}

/* Website button */
.demo-btn {
  background: #fff4fa;
  border: 1px solid #f1b8d1;
  color: #d63384;
  position: relative;
  top: -0.8px; /* 🔹 emoji'yi dikeyde GitHub ikonuyla hizalar */
}

.demo-btn:hover {
  background: #d63384;
  color: #fff;
  border-color: #d63384;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(214,51,132,0.3);
}

/* Butonlar arası mesafeyi biraz aç */
.links {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.work-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.work-card:hover {
  transform: translateY(-4px);
}

/* 🔹 Görsel alanı */
.work-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid #f0dce6;
  display: block;
  background: #fdebf4; /* fallback rengi */
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.work-card:hover .work-thumb img {
  transform: scale(1.05);
}
