/* Genel Stiller */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #fff0f5; /* Açık pembe arka plan */
  color: #333;
  line-height: 1.6;
  background-image: url("kalp-bg.jpg");
  background-size: 100px;
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: #ff1493; /* Koyu pembe */
}

a:hover {
  text-decoration: underline;
}

.buton,
button {
  display: inline-block;
  background-color: #ff1493; /* Koyu pembe */
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(255, 20, 147, 0.2);
}

.buton:hover,
button:hover {
  background-color: #ff69b4; /* Daha açık pembe */
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(255, 20, 147, 0.3);
  text-decoration: none;
}

.sil-buton {
  background-color: #ff4757;
  color: white;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 14px;
}

.sil-buton:hover {
  background-color: #ff6b81;
  text-decoration: none;
}

.duzenle-buton {
  background-color: #2196f3;
  color: white;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 14px;
  margin-right: 5px;
}

.duzenle-buton:hover {
  background-color: #42a5f5;
  text-decoration: none;
}

.iptal-buton {
  background-color: #757575;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 16px;
  display: inline-block;
  transition: all 0.3s;
}

.iptal-buton:hover {
  background-color: #9e9e9e;
  text-decoration: none;
}

.link-buton {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #2196f3;
  margin-top: 10px;
  font-size: 14px;
}

.link-buton:hover {
  color: #0d47a1;
}

/* Header Stili */
header {
  background-color: #ff1493; /* Koyu pembe */
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(255, 20, 147, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

header h1 i {
  color: #fff;
  animation: pulse 1.5s infinite;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  box-shadow: none;
}

.menu-toggle:hover {
  background: transparent;
  transform: scale(1.1);
}

header nav {
  margin-top: 1rem;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 20px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

header nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Mobil Menü Stilleri */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  header nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 0;
  }

  header nav.active {
    max-height: 500px;
    margin-top: 1rem;
  }

  header nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  header nav ul li {
    width: 100%;
  }

  header nav ul li a {
    display: flex;
    padding: 0.8rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
    width: 100%;
  }

  header nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
}

/* Favori Badge */
.favori-badge {
  background-color: #ffeb3b;
  color: #333;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  margin-left: 5px;
}

/* Ana İçerik */
main {
  padding: 2rem 0;
  min-height: calc(100vh - 150px);
}

section {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(255, 20, 147, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 20, 147, 0.1);
}

section h2 {
  color: #ff1493; /* Koyu pembe */
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #fff0f5;
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Admin Menu */
.admin-menu {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-menu-item {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-radius: 20px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.admin-menu-item:hover {
  background-color: #e0e0e0;
  text-decoration: none;
}

.admin-menu-item.active {
  background-color: #ff1493;
  color: white;
}

/* Sayfa Açıklama */
.sayfa-aciklama {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(255, 20, 147, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 20, 147, 0.1);
  text-align: center;
}

.sayfa-aciklama h2 {
  color: #ff1493;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sayfa-aciklama p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #555;
}

/* Platform Özellikleri */
.platform-ozellikleri {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.ozellik {
  flex: 1;
  min-width: 250px;
  background-color: #fff0f5;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(255, 20, 147, 0.1);
  transition: all 0.3s;
}

.ozellik:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 20, 147, 0.2);
}

.ozellik i {
  font-size: 2.5rem;
  color: #ff1493;
  margin-bottom: 1rem;
}

.ozellik h3 {
  color: #ff1493;
  margin-bottom: 0.5rem;
}

/* İçerik Kartları */
.icerik-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Her zaman en fazla 3 sütun olacak şekilde ayarla */
@media (min-width: 768px) {
  .icerik-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Küçük ekranlarda tek sütun */
@media (max-width: 767px) {
  .icerik-grid {
    grid-template-columns: 1fr;
  }
}

/* Orta boy ekranlarda iki sütun */
@media (min-width: 576px) and (max-width: 767px) {
  .icerik-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.icerik-karti {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(255, 20, 147, 0.1);
  overflow: hidden;
  position: relative;
  transition: all 0.3s;
  border: 1px solid rgba(255, 20, 147, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.icerik-karti:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 20, 147, 0.2);
}

.kalp-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  color: #ff1493;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(255, 20, 147, 0.3);
  transition: all 0.3s;
}

.kalp-icon:hover {
  transform: scale(1.2);
}

.kalp-icon.pulse {
  animation: pulse 1s infinite;
}

/* Buton Grubu */
.buton-grubu {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.buton-grubu .ara-buton {
  flex: 1;
  background-color: #ff1493;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: bold;
}

.buton-grubu .ara-buton:hover {
  background-color: #ff69b4;
  transform: translateY(-2px);
}

.buton-grubu .favori-buton {
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #ffb700;
  border: 1px solid #ffb700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}

.buton-grubu .favori-buton:hover {
  background-color: #fff9e6;
  transform: scale(1.1);
}

.buton-grubu .favori-buton i {
  color: #ffb700;
}

.icerik-resim {
  height: 250px;
  overflow: hidden;
  position: relative;
  background-color: #f5f5f5;
}

.icerik-resim img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.icerik-karti:hover .icerik-resim img {
  transform: scale(1.1);
}

.icerik-bilgi {
  padding: 1.5rem;
  background-color: #fff;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.icerik-bilgi h3 {
  color: #ff1493;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.icerik-bilgi .numara {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icerik-bilgi .aciklama {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.icerik-bilgi .aciklama i {
  color: #ff1493;
  margin-top: 3px;
}

/* Boş Mesaj */
.bos-mesaj {
  text-align: center;
  padding: 3rem 0;
}

.bos-mesaj i {
  font-size: 4rem;
  color: #ff1493;
  margin-bottom: 1rem;
  display: block;
}

.bos-mesaj p {
  font-size: 1.2rem;
  color: #666;
}

/* Form Stilleri */
.form-grup {
  margin-bottom: 1.5rem;
}

.form-grup label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #ff1493;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-grup input,
.form-grup select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ffb6c1;
  border-radius: 20px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-grup input:focus,
.form-grup select:focus {
  outline: none;
  border-color: #ff1493;
  box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.2);
}

.form-grup textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ffb6c1;
  border-radius: 20px;
  font-size: 1rem;
  transition: all 0.3s;
  resize: vertical;
  min-height: 100px;
}

.form-grup textarea:focus {
  outline: none;
  border-color: #ff1493;
  box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.2);
}

/* Mevcut Resim */
.mevcut-resim {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.mevcut-resim img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 10px;
  border: 2px solid #ff1493;
  box-shadow: 0 5px 15px rgba(255, 20, 147, 0.2);
}

/* Admin Panel */
.panel-bolum {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #fff0f5;
  border-radius: 15px;
  border: 1px solid rgba(255, 20, 147, 0.1);
}

.panel-bolum h3 {
  margin-bottom: 1rem;
  color: #ff1493;
  border-bottom: 1px solid #ffb6c1;
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-bolum h4 {
  margin: 1.5rem 0 1rem;
  color: #ff1493;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icerik-tablo {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.icerik-tablo th,
.icerik-tablo td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ffb6c1;
}

.icerik-tablo th {
  background-color: #ff1493;
  color: white;
  font-weight: bold;
}

.icerik-tablo tr:hover {
  background-color: #fff0f5;
}

.mini-resim {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ff1493;
}

/* Admin panel tablo açıklama hücresi için stil */
.icerik-tablo td:nth-child(5) {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* İşlem butonları */
.islem-butonlari {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

/* SEO Araçları */
.seo-araclar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.seo-arac {
  flex: 1;
  min-width: 250px;
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.seo-arac h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #ff1493;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-arac p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.seo-ipuclari {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
}

.seo-ipuclari h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #ff1493;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-ipuclari ul {
  margin-left: 20px;
}

.seo-ipuclari li {
  margin-bottom: 5px;
  font-size: 0.95rem;
}

/* Mesajlar */
.basari,
.hata {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.basari {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #4caf50;
}

.basari:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.hata {
  background-color: #ffebee;
  color: #c62828;
  border-left: 4px solid #f44336;
}

.hata:before {
  content: "\f00d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.not {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* Bildirim */
.bildirim {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 25px;
  border-radius: 30px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: bottom 0.3s ease-in-out;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bildirim.goster {
  bottom: 30px;
}

.bildirim.basari {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #4caf50;
}

.bildirim.hata {
  background-color: #ffebee;
  color: #c62828;
  border-left: 4px solid #f44336;
}

/* Footer */
footer {
  background-color: #ff1493;
  color: white;
  padding: 2rem 0 1rem;
  text-align: center;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-bolum {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.footer-bolum h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-menu a:hover {
  color: #ffb6c1;
  text-decoration: none;
}

.sosyal-medya {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sosyal-medya a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.sosyal-medya a:hover {
  color: #ffb6c1;
  transform: translateX(5px);
  text-decoration: none;
}

.footer-alt {
  width: 100%;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

/* Animasyonlar */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .icerik-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  header nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .icerik-tablo {
    display: block;
    overflow-x: auto;
  }

  .platform-ozellikleri {
    flex-direction: column;
  }

  .admin-menu {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .icerik-grid {
    grid-template-columns: 1fr;
  }

  .panel-bolum {
    padding: 1rem;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-bolum {
    text-align: center;
  }

  .sosyal-medya {
    align-items: center;
  }
}
