/* ===============================
   GENEL STİLLER
=============================== */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #212529;
}

/* ===============================
   SAYFA İÇERİĞİ (BİLGİLENDİRME)
=============================== */
.sayfa-baslik {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.sayfa-icerik {
  white-space: pre-wrap;
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .sayfa-icerik {
    font-size: 1rem;
  }
}

/* ===============================
   PROFİL KARTI
=============================== */
.profile-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #0d6efd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.profil-container {
  margin-top: 100px;
}

.profil-ozet {
  font-size: 1.05rem;
}

/* ===============================
   SOSYAL MEDYA BUTONLARI
=============================== */
.social-icons a {
  color: white;
  border-radius: 8px; /* veya 0 */
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0px;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-decoration: none;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.social-icons a.linkedin { background-color: #0077b5; }
.social-icons a.twitter { background-color: #1da1f2; }
.social-icons a.x { background-color: #000; }
.social-icons a.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-icons a.telegram { background-color: #0088cc; }
.social-icons a.facebook { background-color: #3b5998; }
.social-icons a.youtube { background-color: #ff0000; }
.social-icons a.github { background-color: #333; }

.social-icons a:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* ===============================
   PORTFÖY KARTLARI
=============================== */
.portfolio-section {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 15px;
}

.portfolio-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  border-left: 6px solid #0d6efd;
  padding-left: 14px;
  color: #0d6efd;
}

.portfolio-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-item {
  flex: 1 1 calc(28% - 24px);
  background: transparent;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 260px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #99ccff;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 14px;
  background: transparent;
}

.portfolio-item h6 {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: #0d6efd;
}

.portfolio-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

@media (max-width: 992px) {
  .portfolio-item {
    flex: 1 1 calc(48% - 24px);
  }
}

@media (max-width: 576px) {
  .portfolio-item {
    flex: 1 1 100%;
  }
}

/* ===============================
   BLOG BÖLÜMÜ
=============================== */
.blog-section {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 15px;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  border-left: 6px solid #0d6efd;
  padding-left: 14px;
  color: #0d6efd;
}

.blog-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.blog-item {
  flex: 0 0 calc(25% - 24px);
  max-width: calc(25% - 24px);
  background: transparent;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #99ccff;
}

.blog-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.blog-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
}

.blog-item h5 {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: #0d6efd;
}

.blog-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 12px;
  flex-grow: 1;
}

.blog-item a {
  align-self: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0d6efd;
  border: 1.5px solid #0d6efd;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-item a:hover {
  background-color: #0d6efd;
  color: #fff;
}

@media (max-width: 992px) {
  .blog-item {
    flex: 0 0 calc(48% - 24px);
    max-width: calc(48% - 24px);
  }
}

@media (max-width: 576px) {
  .blog-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ===============================
   GALERİ
=============================== */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 15px;
}

.gallery-wrapper {
  position: relative;
}

.gallery-row {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 10px;
}

.gallery-row div {
  flex: 0 0 auto;
  width: 200px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #f0f0f0;
  cursor: pointer;
}

.gallery-row div img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gallery-row div:hover img {
  transform: scale(1.05);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.gallery-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.galeri-placeholder {
  width: 100%;
  height: 100%;
  background: #6c757d;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

.modal-img {
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
}

.modal-prev-btn,
.modal-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1055;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.modal-footer-btn {
  margin-top: 10px;
  margin-bottom: 30px;
}

.kapat-btn {
  background-color: #e9ecef;
  color: #333;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
}


