body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
}

/* --- HEADER --- */
header {
  background: #0A1128;
  color: #ffffff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo alanı */
.logo-area {
  display: flex;
  flex-direction: column;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #00F7A3, #40E0FF);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 14px rgba(0, 247, 163, 0.8);
}

.subtitle {
  font-size: 12px;
  color: #A9B4C9;
  margin-top: -4px;
}

/* Blog yazısı */
.blog-link {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  margin-left: 16px;
  letter-spacing: 0.3px;
  transition: 0.15s;
}

.blog-link:hover {
  color: #00F7A3;
  text-shadow: 0 0 6px rgba(0, 247, 163, 0.6);
}

/* Arama */
.search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
}

.search-input {
  border: none;
  outline: none;
  width: 260px;
  font-size: 14px;
  color: #0A1128;
}

.search-input::placeholder {
  color: #6C7A96;
}

.search-btn {
  background: none;
  border: none;
  font-size: 17px;
  color: #00F7A3;
  cursor: pointer;
  padding: 0 4px;
  transition: 0.15s ease;
}

.search-btn:hover {
  color: #40E0FF;
  text-shadow: 0 0 6px rgba(0,247,163,0.5);
}

/* Sağ Çubuk */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Butonlar */
.header-btn {
  border: none;
  background: #ffffff;
  color: #0A1128;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
}

.header-btn:hover {
  background: #00F7A3;
}

/* Hizmetler ve Profil için küçük kapsayıcılar */
.dropdown-wrapper,
.profile-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Profil Avatar */
.header-profile-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00F7A3;
  cursor: pointer;
  display: none;
}

/* Kullanıcı adı */
.header-username {
  font-size: 11px;
  color: #ffffff;
  text-align: center;
  margin-top: 4px;
  display: none;
}

/* Dropdown ortak stil */
.menu-dropdown {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 150px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  animation: dropdown .18s ease forwards;
  position: absolute;
  z-index: 2000;
}

.menu-dropdown a {
  text-decoration: none;
  color: #0A1128;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13px;
}

.menu-dropdown a:hover {
  background: #00F7A3;
}

/* 🔥 Hizmetler menüsü → Hizmetler butonunun TAM altı */
.dropdown-wrapper #servicesMenu {
  top: 50px;
  right: -20;
}

/* 🔥 Profil menüsü → Avatarın altı, biraz sola */
.profile-wrapper #profileMenu {
  top: 52px;
  left: -50%;
  transform: translateX(20%); /* çok sola giderse -60 / -50 yaparsın */
}

/* Dropdown animasyonu */
@keyframes dropdown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0px); }
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

/* style.css içinde .modal-content bloğunu bul ve değiştir */
.modal-content {
  background: #ffffff !important;   /* Arka plan beyaz */
  color: #0A1128 !important;        /* Yazılar lacivert */
  padding: 30px;
  width: 90%;
  max-width: 400px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15); /* Gölgeyi yumuşattık */
  max-height: 85vh; 
  overflow-y: auto;
  text-align: center;
  align-items: stretch;
}

.modal-content input {
  padding: 10px;
  border: none;
  border-radius: 8px;
  outline: none;
}

.modal-btn {
  background: #00F7A3;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.modal-btn:hover {
  background: #40E0FF;
}

.close-btn {
  align-self: flex-end;
  cursor: pointer;
  font-size: 20px;
}

.switch-auth {
  font-size: 13px;
  text-align: center;
}

.link {
  cursor: pointer;
  color: #00F7A3;
}
@media (max-width: 900px) {
  .search-box {
    width: 200px;
  }
}
@media (max-width: 720px) {
  header {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .search-box {
    width: 90%;
    max-width: 360px;
  }

  .header-buttons {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-row {
    gap: 16px;
  }

  .search-box {
    width: 100%;
    max-width: 260px;
  }

  /* Menülerin çok sağa taşmasını engelleme */
  #servicesMenu, #profileMenu {
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}
.search-box {
  transition: 0.25s ease;
}

.search-box:focus-within {
  width: 320px;
  background: #ffffff;
  box-shadow: 0 0 6px rgb(255, 255, 255);
}
/* Arama Focus Büyüme + Işık Efekti */
.search-box.focused {
  width: 380px;
  background: #ffffff;
  border: 2px solid #00F7A3;
  box-shadow: 0 0 18px rgba(0, 247, 163, 0.45);
  transition: all .25s ease;
}

/* Focus içi ikonu hizala */
.search-box.focused .search-btn {
  margin-left: 8px;
}

/* Daha hafif kararma */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25); /* Daha açık */
  z-index: 50;
}

.overlay.hidden {
  display: none;
}

/* Etiket Paneli Modern Beyaz */
.search-tags {
  position: absolute;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-radius: 14px;
  border: 2px solid #00F7A3;
  box-shadow: 0 12px 26px rgba(0,0,0,0.15);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.search-tags.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}

.tag {
  padding: 6px 12px;
  background: #e6fff6;
  color: #0A1128;
  font-size: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  border: 1px solid #00F7A3;
  transition: .15s;
}

.tag:hover {
  background: #00F7A3;
  color: #0A1128;
  box-shadow: 0 0 10px rgba(0,247,163,0.4);
}
/* 🔍 Arama kutusu odak animasyonu düzeltme */
.search-box {
  position: relative;
  transition: all .25s ease;
}

.search-box.focused {
  width: 420px; /* genişleme → sağa doğru */
  background: #ffffff;
  border: 2px solid #00F7A3;
  box-shadow: 0 0 18px rgba(0, 247, 163, 0.4);
}

/* 🔍 İkonun sağa hizalanması */
.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: right .25s ease;
}

/* Fokus olunca ikon daha sağa açılsın */
.search-box.focused .search-btn {
  right: 16px;
}

/* Placeholder solda kalsın */
.search-input {
  padding-right: 40px;
}
/* 🔥 Arama Kutusu Focus Geliştirilmiş */
.search-box {
  position: relative;
  z-index: 1100; /* Overlay'in ÜSTÜNDE */
  width: 260px;
  transition: all .28s ease-out;
}

.search-box.focused {
  width: 430px;
  background: #ffffff;
  border: 2px solid #00F7A3;
  box-shadow: 0 0 25px rgba(0, 247, 163, 0.4);
  border-radius: 12px;
}

/* 🔍 İkon hizalama */
.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  transition: .28s ease;
}

.search-box.focused .search-btn {
  right: 16px;
}

/* ✍ Input daha geniş yazma alanı */
.search-input {
  padding-right: 40px;
}

/* 🌫 Hafif odak karartması - daha açık */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.15); /* Daha Şeffaf */
  backdrop-filter: blur(1px);
  z-index: 100;
  transition: opacity .28s ease;
}

.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* 🎯 Etiketler arama kutusunun hizasında */
.search-tags {
  top: 60px;
  width: 430px; /* Arama genişliğiyle eşit */
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid #00F7A3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 1200; /* Aramanın da üstünde */
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.search-tags.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(10px);
}
/* Gradient yazı – %100 uyumlu */
.gradient-text {
  background: linear-gradient(135deg, #00F7A3, #40E0FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback */
  font-weight: 900;
  display: inline-block; /* önemli */
}
/* Gradient yazı – %100 çalışır */
.gradient-text{
  background: linear-gradient(135deg, #00F7A3, #40E0FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 900;
  display: inline-block;
}

/* Sabit header */
.fixed-header{position:fixed;top:0;left:0;right:0;z-index:1000;box-shadow:0 6px 20px rgba(0,0,0,0.2);}

/* Blog aktif link */
.blog-link.active{color:#00F7A3 !important;text-shadow:0 0 10px rgba(0,247,163,0.7);}

/* İçerik header altına gelsin */
.main-content{margin-top:90px;padding:20px;max-width:1200px;margin-left:auto;margin-right:auto;}

/* Hero */
.blog-hero{background:linear-gradient(135deg,#00F7A3,#00C4B8);padding:100px 20px 80px;text-align:center;color:#0F172A;}
.blog-hero h1{font-size:42px;font-weight:900;margin:0 0 16px;}
.blog-hero p{font-size:19px;max-width:700px;margin:0 auto 30px;opacity:0.95;}
.hero-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:20px;}
.btn-primary{background:#0F172A;color:#fff;border:none;padding:14px 28px;border-radius:12px;font-weight:700;cursor:pointer;font-size:16px;}
.btn-ghost{background:transparent;color:#0F172A;border:2px solid #0F172A;padding:12px 26px;border-radius:12px;font-weight:700;cursor:pointer;font-size:16px;}

/* Tablar */
.tab-container{display:flex;justify-content:center;background:#fff;padding:12px 0;border-bottom:1px solid #eee;position:sticky;top:74px;z-index:900;background:rgba(255,255,255,0.95);backdrop-filter:blur(10px);}
.tab-btn{padding:12px 32px;border:none;background:transparent;font-weight:600;font-size:16px;cursor:pointer;border-radius:8px;transition:0.2s;}
.tab-btn.active{background:#00F7A3;color:#0F172A;}

/* Tab içeriği */
.tab-content{display:none;padding:40px 0;}
.tab-content.active{display:block;}

/* Blog kartları */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px;margin-bottom:50px;}
.blog-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,0.1);transition:0.3s;cursor:pointer;}
.blog-card:hover{transform:translateY(-12px);box-shadow:0 20px 50px rgba(0,247,163,0.25);}
.blog-thumb{width:100%;height:200px;object-fit:cover;}
.blog-info{padding:20px;}
.blog-title{font-size:18px;font-weight:700;margin-bottom:10px;color:#0F172A;line-height:1.4;}
.blog-excerpt{font-size:14px;color:#64748B;margin-bottom:14px;line-height:1.5;}
.blog-meta{font-size:13px;color:#94A3B8;display:flex;justify-content:space-between;}

/* Soru kartları */
.qa-list{display:flex;flex-direction:column;gap:18px;margin-bottom:50px;}
.qa-card{background:#fff;padding:22px;border-radius:14px;box-shadow:0 6px 25px rgba(0,0,0,0.08);transition:0.2s;}
.qa-card:hover{box-shadow:0 12px 40px rgba(0,247,163,0.18);}
.qa-card h3{font-size:17px;margin:0 0 12px;color:#0F172A;line-height:1.5;}
.qa-stats{font-size:14px;color:#64748B;display:flex;gap:20px;flex-wrap:wrap;}

/* Butonlar */
.load-more,.ask-center button{display:block;margin:50px auto;padding:14px 40px;font-size:16px;font-weight:700;border-radius:12px;cursor:pointer;border:none;}
.load-more{background:transparent;border:2px solid #00F7A3;color:#00F7A3;}
.load-more:hover{background:#00F7A3;color:#0F172A;}

/* Footer */
.site-footer{background:#0A1128;color:#fff;padding:70px 20px 40px;margin-top:100px;}
.footer-content{max-width:1200px;margin:auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:30px;}
.footer-links a{color:#94A3B8;margin-left:24px;text-decoration:none;font-size:14px;}
.footer-links a:hover{color:#00F7A3;}

/* Mobil */
@media(max-width:768px){
  .blog-hero h1{font-size:32px;}
  .blog-hero p{font-size:17px;}
  .hero-buttons{flex-direction:column;align-items:center;}
  .btn-primary,.btn-ghost{width:80%;max-width:300px;}
  .blog-grid{grid-template-columns:1fr;}
  .tab-btn{padding:10px 20px;font-size:15px;}
}
/* ====== ORTAK FORM KONTROLLERİ (Site genelinde) ====== */
.form-control {
  padding: 10px 14px;
  border-radius: 12px;              /* site butonları gibi yumuşak */
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 14px;
  outline: none;
  transition: 0.18s ease;
}

.form-control:focus {
  border-color: #00F7A3;
  box-shadow: 0 0 0 4px rgba(0, 247, 163, 0.15);
}

/* İstersen “keskin” görünümü azaltır */
.form-control:hover {
  border-color: #cbd5e1;
}
/* --- SAIDO 3D GÜNCELLEMELER --- */

/* 1. Header STL Linki: Normalde Beyaz, Hover'da Neo Yeşil */
header .blog-link.active {
    color: #ffffff !important; /* Aktifken de beyaz başlasın */
    text-shadow: none;
    transition: all 0.3s ease;
}

header .blog-link:hover, 
header .blog-link.active:hover {
    color: #00F7A3 !important; /* Üzerine gelince Neo Yeşil */
    text-shadow: 0 0 10px rgba(0, 247, 163, 0.5);
}

/* 2. Filtre Menüsü (En Yeni/Popüler) Yumuşatma */
.filter-row {
    background: #f8fafc;
    padding: 15px;
    border-radius: 20px; /* Siteye uyumlu tam yuvarlak kenarlar */
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.filter-row .form-control {
    border-radius: 15px !important; /* Select ve Input içleri de yumuşatıldı */
}

/* 3. STL Yükleme Alanı Küçültme ve Düzenleme */
#stlUploadModal .modal-content {
    max-width: 450px !important; /* Alan daraltıldı */
    padding: 25px;
    border-radius: 24px;
}

/* Yasal Şartlar Scroll Alanı */
.legal-terms-box {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px;
    height: 100px;
    overflow-y: auto;
    font-size: 11px;
    color: #475569;
    margin: 15px 0;
    line-height: 1.4;
}

.legal-terms-box strong {
    color: #0F172A;
    display: block;
    margin-bottom: 5px;
}
/* --- STL MODAL DÜZELTMESİ --- */

/* Modal içi genel yazı rengini koyu yap */
#stlUploadModal .modal-content {
    color: #0A1128 !important;
}

/* Checkbox (Kutucuk) yanındaki yazıları görünür yap */
.checkbox-group label {
    color: #1e293b !important; /* Koyu gri */
    font-size: 13px !important;
    font-weight: 600;
    cursor: pointer;
}

/* Yasal metin kutusunu daha okunaklı yap */
.legal-terms-box {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
}
/* --- İÇ İÇE YORUM STİLLERİ (Instagram Tarzı) --- */

/* Yanıtlar ana yorumun altına sağa kayarak gelir */
.replies {
    margin-left: 50px; /* Sağa kaydırma miktarı */
    border-left: 2px solid #e2e8f0; /* Sol tarafa ince çizgi */
    padding-left: 15px;
    margin-top: 10px;
}

/* Yanıt kartı biraz daha kompakt olsun */
.comment.reply {
    padding: 10px 0;
    border-bottom: none; /* Yanıtlar arası çizgi olmasın */
}

.comment.reply .comment-avatar {
    width: 32px; /* Yanıt avatarı biraz küçük */
    height: 32px;
}

.comment.reply .comment-text {
    font-size: 14px;
}

/* @Mention Rengi (Kullanıcı Adı) */
.mention {
    color: #00F7A3;
    font-weight: 800;
    cursor: pointer;
}

/* Yanıta Yanıt Verme Butonu */
.reply-toggle {
    font-size: 13px;
    color: #64748B;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    margin-top: 4px;
}
.reply-toggle:hover {
    color: #00F7A3;
    text-decoration: underline;
}

/* Gizli Yanıt Formu */
.reply-form textarea, .nested-reply-form input {
    border: 2px solid #e2e8f0;
    transition: 0.2s;
}
.reply-form textarea:focus, .nested-reply-form input:focus {
    border-color: #00F7A3;
    outline: none;
}
/* --- BİLDİRİM SİSTEMİ --- */

/* Kapsayıcı (Header'daki butonun etrafı) */
.notification-wrapper {
    position: relative;
    display: inline-block;
}

/* Kırmızı Rozet (Sayı) */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444; /* Kırmızı */
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: none; /* Sayı yoksa gizli */
    z-index: 10;
}

/* Açılır Menü */
.notification-dropdown {
    position: absolute;
    top: 50px;
    right: -80px; /* Mobilde taşmasın diye ayar */
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid #f1f5f9;
    display: none;
    flex-direction: column;
    z-index: 2500;
    max-height: 400px;
    overflow-y: auto;
    animation: dropdown .2s ease forwards;
}

.notification-dropdown.active {
    display: flex;
}

/* Bildirim Başlığı */
.notif-header {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    color: #0A1128;
    background: #f8fafc;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
}

/* Tekil Bildirim Kutusu */
.notif-item {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.notif-item:hover {
    background: #f0fdf9; /* Hover olunca hafif yeşil */
}

.notif-item.unread {
    background: #eef2ff; /* Okunmamışsa hafif mavi */
    border-left: 3px solid #00F7A3;
}

.notif-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.notif-content {
    font-size: 13px;
    color: #334155;
}

.notif-content strong {
    color: #0A1128;
}

.notif-time {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
}

/* --- HEADER --- */
header {
  background: #0A1128;
  color: #ffffff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo alanı */
.logo-area {
  display: flex;
  flex-direction: column;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #00F7A3, #40E0FF);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 14px rgba(0, 247, 163, 0.8);
}

.subtitle {
  font-size: 12px;
  color: #A9B4C9;
  margin-top: -4px;
}

/* Blog yazısı */
.blog-link {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  margin-left: 16px;
  letter-spacing: 0.3px;
  transition: 0.15s;
}

.blog-link:hover {
  color: #00F7A3;
  text-shadow: 0 0 6px rgba(0, 247, 163, 0.6);
}

/* Arama */
.search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
}

.search-input {
  border: none;
  outline: none;
  width: 260px;
  font-size: 14px;
  color: #0A1128;
}

.search-input::placeholder {
  color: #6C7A96;
}

.search-btn {
  background: none;
  border: none;
  font-size: 17px;
  color: #00F7A3;
  cursor: pointer;
  padding: 0 4px;
  transition: 0.15s ease;
}

.search-btn:hover {
  color: #40E0FF;
  text-shadow: 0 0 6px rgba(0,247,163,0.5);
}

/* Sağ Çubuk */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Butonlar */
.header-btn {
  border: none;
  background: #ffffff;
  color: #0A1128;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
}

.header-btn:hover {
  background: #00F7A3;
}

/* Hizmetler ve Profil için küçük kapsayıcılar */
.dropdown-wrapper,
.profile-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Profil Avatar */
.header-profile-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00F7A3;
  cursor: pointer;
  display: none;
}

/* Kullanıcı adı */
.header-username {
  font-size: 11px;
  color: #ffffff;
  text-align: center;
  margin-top: 4px;
  display: none;
}

/* Dropdown ortak stil */
.menu-dropdown {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 150px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  animation: dropdown .18s ease forwards;
  position: absolute;
  z-index: 2000;
}

.menu-dropdown a {
  text-decoration: none;
  color: #0A1128;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13px;
}

.menu-dropdown a:hover {
  background: #00F7A3;
}

/* 🔥 Hizmetler menüsü → Hizmetler butonunun TAM altı */
.dropdown-wrapper #servicesMenu {
  top: 50px;
  right: -20;
}

/* 🔥 Profil menüsü → Avatarın altı, biraz sola */
.profile-wrapper #profileMenu {
  top: 52px;
  left: -50%;
  transform: translateX(20%); /* çok sola giderse -60 / -50 yaparsın */
}

/* Dropdown animasyonu */
@keyframes dropdown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0px); }
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

/* --- MODAL SCROLL DÜZELTMESİ --- */
.modal-content {
  background: #0A1128;
  color: white;
  padding: 24px;
  width: 90%; /* Mobilde genişlik ayarı */
  max-width: 400px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0,247,163,0.25);
  
  /* 🔥 BURASI EKLENDİ: Ekran küçükse kaydırma çubuğu çıkar */
  max-height: 85vh; 
  overflow-y: auto;
}

.modal-content input {
  padding: 10px;
  border: none;
  border-radius: 8px;
  outline: none;
}

.modal-btn {
  background: #00F7A3;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.modal-btn:hover {
  background: #40E0FF;
}

.close-btn {
  align-self: flex-end;
  cursor: pointer;
  font-size: 20px;
}

.switch-auth {
  font-size: 13px;
  text-align: center;
}

.link {
  cursor: pointer;
  color: #00F7A3;
}
@media (max-width: 900px) {
  .search-box {
    width: 200px;
  }
}
@media (max-width: 720px) {
  header {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .search-box {
    width: 90%;
    max-width: 360px;
  }

  .header-buttons {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-row {
    gap: 16px;
  }

  .search-box {
    width: 100%;
    max-width: 260px;
  }

  /* Menülerin çok sağa taşmasını engelleme */
  #servicesMenu, #profileMenu {
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}
.search-box {
  transition: 0.25s ease;
}

.search-box:focus-within {
  width: 320px;
  background: #ffffff;
  box-shadow: 0 0 6px rgb(255, 255, 255);
}
/* Arama Focus Büyüme + Işık Efekti */
.search-box.focused {
  width: 380px;
  background: #ffffff;
  border: 2px solid #00F7A3;
  box-shadow: 0 0 18px rgba(0, 247, 163, 0.45);
  transition: all .25s ease;
}

/* Focus içi ikonu hizala */
.search-box.focused .search-btn {
  margin-left: 8px;
}

/* Daha hafif kararma */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25); /* Daha açık */
  z-index: 50;
}

.overlay.hidden {
  display: none;
}

/* Etiket Paneli Modern Beyaz */
.search-tags {
  position: absolute;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-radius: 14px;
  border: 2px solid #00F7A3;
  box-shadow: 0 12px 26px rgba(0,0,0,0.15);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.search-tags.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}

.tag {
  padding: 6px 12px;
  background: #e6fff6;
  color: #0A1128;
  font-size: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  border: 1px solid #00F7A3;
  transition: .15s;
}

.tag:hover {
  background: #00F7A3;
  color: #0A1128;
  box-shadow: 0 0 10px rgba(0,247,163,0.4);
}
/* 🔍 Arama kutusu odak animasyonu düzeltme */
.search-box {
  position: relative;
  transition: all .25s ease;
}

.search-box.focused {
  width: 420px; /* genişleme → sağa doğru */
  background: #ffffff;
  border: 2px solid #00F7A3;
  box-shadow: 0 0 18px rgba(0, 247, 163, 0.4);
}

/* 🔍 İkonun sağa hizalanması */
.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: right .25s ease;
}

/* Fokus olunca ikon daha sağa açılsın */
.search-box.focused .search-btn {
  right: 16px;
}

/* Placeholder solda kalsın */
.search-input {
  padding-right: 40px;
}
/* 🔥 Arama Kutusu Focus Geliştirilmiş */
.search-box {
  position: relative;
  z-index: 1100; /* Overlay'in ÜSTÜNDE */
  width: 260px;
  transition: all .28s ease-out;
}

.search-box.focused {
  width: 430px;
  background: #ffffff;
  border: 2px solid #00F7A3;
  box-shadow: 0 0 25px rgba(0, 247, 163, 0.4);
  border-radius: 12px;
}

/* 🔍 İkon hizalama */
.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  transition: .28s ease;
}

.search-box.focused .search-btn {
  right: 16px;
}

/* ✍ Input daha geniş yazma alanı */
.search-input {
  padding-right: 40px;
}

/* 🌫 Hafif odak karartması - daha açık */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.15); /* Daha Şeffaf */
  backdrop-filter: blur(1px);
  z-index: 100;
  transition: opacity .28s ease;
}

.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* 🎯 Etiketler arama kutusunun hizasında */
.search-tags {
  top: 60px;
  width: 430px; /* Arama genişliğiyle eşit */
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid #00F7A3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 1200; /* Aramanın da üstünde */
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.search-tags.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(10px);
}
/* Gradient yazı – %100 uyumlu */
.gradient-text {
  background: linear-gradient(135deg, #00F7A3, #40E0FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* fallback */
  font-weight: 900;
  display: inline-block; /* önemli */
}
/* Gradient yazı – %100 çalışır */
.gradient-text{
  background: linear-gradient(135deg, #00F7A3, #40E0FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 900;
  display: inline-block;
}

/* Sabit header */
.fixed-header{position:fixed;top:0;left:0;right:0;z-index:1000;box-shadow:0 6px 20px rgba(0,0,0,0.2);}

/* Blog aktif link */
.blog-link.active{color:#00F7A3 !important;text-shadow:0 0 10px rgba(0,247,163,0.7);}

/* İçerik header altına gelsin */
.main-content{margin-top:90px;padding:20px;max-width:1200px;margin-left:auto;margin-right:auto;}

/* Hero */
.blog-hero{background:linear-gradient(135deg,#00F7A3,#00C4B8);padding:100px 20px 80px;text-align:center;color:#0F172A;}
.blog-hero h1{font-size:42px;font-weight:900;margin:0 0 16px;}
.blog-hero p{font-size:19px;max-width:700px;margin:0 auto 30px;opacity:0.95;}
.hero-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:20px;}
.btn-primary{background:#0F172A;color:#fff;border:none;padding:14px 28px;border-radius:12px;font-weight:700;cursor:pointer;font-size:16px;}
.btn-ghost{background:transparent;color:#0F172A;border:2px solid #0F172A;padding:12px 26px;border-radius:12px;font-weight:700;cursor:pointer;font-size:16px;}

/* Tablar */
.tab-container{display:flex;justify-content:center;background:#fff;padding:12px 0;border-bottom:1px solid #eee;position:sticky;top:74px;z-index:900;background:rgba(255,255,255,0.95);backdrop-filter:blur(10px);}
.tab-btn{padding:12px 32px;border:none;background:transparent;font-weight:600;font-size:16px;cursor:pointer;border-radius:8px;transition:0.2s;}
.tab-btn.active{background:#00F7A3;color:#0F172A;}

/* Tab içeriği */
.tab-content{display:none;padding:40px 0;}
.tab-content.active{display:block;}

/* Blog kartları */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px;margin-bottom:50px;}
.blog-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,0.1);transition:0.3s;cursor:pointer;}
.blog-card:hover{transform:translateY(-12px);box-shadow:0 20px 50px rgba(0,247,163,0.25);}
.blog-thumb{width:100%;height:200px;object-fit:cover;}
.blog-info{padding:20px;}
.blog-title{font-size:18px;font-weight:700;margin-bottom:10px;color:#0F172A;line-height:1.4;}
.blog-excerpt{font-size:14px;color:#64748B;margin-bottom:14px;line-height:1.5;}
.blog-meta{font-size:13px;color:#94A3B8;display:flex;justify-content:space-between;}

/* Soru kartları */
.qa-list{display:flex;flex-direction:column;gap:18px;margin-bottom:50px;}
.qa-card{background:#fff;padding:22px;border-radius:14px;box-shadow:0 6px 25px rgba(0,0,0,0.08);transition:0.2s;}
.qa-card:hover{box-shadow:0 12px 40px rgba(0,247,163,0.18);}
.qa-card h3{font-size:17px;margin:0 0 12px;color:#0F172A;line-height:1.5;}
.qa-stats{font-size:14px;color:#64748B;display:flex;gap:20px;flex-wrap:wrap;}

/* Butonlar */
.load-more,.ask-center button{display:block;margin:50px auto;padding:14px 40px;font-size:16px;font-weight:700;border-radius:12px;cursor:pointer;border:none;}
.load-more{background:transparent;border:2px solid #00F7A3;color:#00F7A3;}
.load-more:hover{background:#00F7A3;color:#0F172A;}

/* Footer */
.site-footer{background:#0A1128;color:#fff;padding:70px 20px 40px;margin-top:100px;}
.footer-content{max-width:1200px;margin:auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:30px;}
.footer-links a{color:#94A3B8;margin-left:24px;text-decoration:none;font-size:14px;}
.footer-links a:hover{color:#00F7A3;}

/* Mobil */
@media(max-width:768px){
  .blog-hero h1{font-size:32px;}
  .blog-hero p{font-size:17px;}
  .hero-buttons{flex-direction:column;align-items:center;}
  .btn-primary,.btn-ghost{width:80%;max-width:300px;}
  .blog-grid{grid-template-columns:1fr;}
  .tab-btn{padding:10px 20px;font-size:15px;}
}
/* ====== ORTAK FORM KONTROLLERİ (Site genelinde) ====== */
.form-control {
  padding: 10px 14px;
  border-radius: 12px;              /* site butonları gibi yumuşak */
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 14px;
  outline: none;
  transition: 0.18s ease;
}

.form-control:focus {
  border-color: #00F7A3;
  box-shadow: 0 0 0 4px rgba(0, 247, 163, 0.15);
}

/* İstersen “keskin” görünümü azaltır */
.form-control:hover {
  border-color: #cbd5e1;
}
/* --- SAIDO 3D GÜNCELLEMELER --- */

/* 1. Header STL Linki: Normalde Beyaz, Hover'da Neo Yeşil */
header .blog-link.active {
    color: #ffffff !important; /* Aktifken de beyaz başlasın */
    text-shadow: none;
    transition: all 0.3s ease;
}

header .blog-link:hover, 
header .blog-link.active:hover {
    color: #00F7A3 !important; /* Üzerine gelince Neo Yeşil */
    text-shadow: 0 0 10px rgba(0, 247, 163, 0.5);
}

/* 2. Filtre Menüsü (En Yeni/Popüler) Yumuşatma */
.filter-row {
    background: #f8fafc;
    padding: 15px;
    border-radius: 20px; /* Siteye uyumlu tam yuvarlak kenarlar */
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.filter-row .form-control {
    border-radius: 15px !important; /* Select ve Input içleri de yumuşatıldı */
}

/* 3. STL Yükleme Alanı Küçültme ve Düzenleme */
#stlUploadModal .modal-content {
    max-width: 450px !important; /* Alan daraltıldı */
    padding: 25px;
    border-radius: 24px;
}

/* Yasal Şartlar Scroll Alanı */
.legal-terms-box {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px;
    height: 100px;
    overflow-y: auto;
    font-size: 11px;
    color: #475569;
    margin: 15px 0;
    line-height: 1.4;
}

.legal-terms-box strong {
    color: #0F172A;
    display: block;
    margin-bottom: 5px;
}
/* --- STL MODAL DÜZELTMESİ --- */

/* Modal içi genel yazı rengini koyu yap */
#stlUploadModal .modal-content {
    color: #0A1128 !important;
}

/* Checkbox (Kutucuk) yanındaki yazıları görünür yap */
.checkbox-group label {
    color: #1e293b !important; /* Koyu gri */
    font-size: 13px !important;
    font-weight: 600;
    cursor: pointer;
}

/* Yasal metin kutusunu daha okunaklı yap */
.legal-terms-box {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
}

/* --- BİLDİRİM SİSTEMİ STİLLERİ --- */

.notification-wrapper {
    position: relative;
    display: inline-block;
}

.notification-badge {
    position: absolute;
    top: -5px; right: -5px;
    background: #ef4444; color: white;
    font-size: 10px; font-weight: bold;
    padding: 2px 5px; border-radius: 50%;
    border: 2px solid #fff;
    display: none; z-index: 10;
}

.notification-dropdown {
    position: absolute;
    top: 50px; right: -80px;
    width: 320px; background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid #f1f5f9;
    display: none; flex-direction: column;
    z-index: 2500;
    max-height: 400px; overflow-y: auto;
}

.notif-header {
    padding: 12px; border-bottom: 1px solid #eee;
    font-weight: bold; color: #0A1128;
    background: #f8fafc; border-radius: 12px 12px 0 0;
    display: flex; justify-content: space-between;
}

.notif-item {
    padding: 12px; border-bottom: 1px solid #f1f5f9;
    display: flex; gap: 10px; align-items: flex-start;
    transition: 0.2s; cursor: pointer;
}
.notif-item:hover { background: #f0fdf9; }
.notif-item.unread { background: #eef2ff; border-left: 3px solid #00F7A3; }

.notif-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.notif-content { font-size: 13px; color: #334155; }
.notif-time { display: block; font-size: 11px; color: #94a3b8; margin-top: 4px; }
/* --- MOBİL UZUN BASMA İYİLEŞTİRMESİ --- */
.long-press-target {
    -webkit-user-select: none; /* Safari/Chrome mobil */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    user-select: none;         /* Standart */
    -webkit-touch-callout: none; /* iOS'te menü açılmasını engeller */
    transition: background-color 0.2s;
}

/* Basılı tutarken hafif renk değişsin (Geri bildirim hissi) */
.long-press-target:active {
    background-color: #f0fdf9 !important;
}
.back-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
  color: #ffffff;
  transform: translateX(-2px);
}
/* --- MODAL VE MENÜ GİZLEME DÜZELTMESİ --- */

/* Modal varsayılan olarak GİZLİ olacak */
.modal-overlay {
    display: none !important; /* Görünmez yap */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* Sadece 'active' sınıfı eklenince görünür olacak */
.modal-overlay.active {
    display: flex !important;
}

/* Header'daki açılır menü de gizli olsun */
.header-dropdown {
    display: none !important;
}
.header-dropdown.active {
    display: flex !important;
}

/* Uzun basma (Long Press) hedefi için seçim engelleme */
.long-press-target {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none; /* iOS menüsünü engeller */
}
/* --- MODAL VE MENÜ GİZLEME DÜZELTMESİ --- */

/* Modal varsayılan olarak GİZLİ olacak */
.modal-overlay {
    display: none !important; /* Görünmez yap */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* Sadece 'active' sınıfı eklenince görünür olacak */
.modal-overlay.active {
    display: flex !important;
}

/* Header'daki açılır menü de gizli olsun */
.header-dropdown {
    display: none !important;
}
.header-dropdown.active {
    display: flex !important;
}

/* Uzun basma (Long Press) hedefi için seçim engelleme */
.long-press-target {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none; /* iOS menüsünü engeller */
}
/* --- MODAL VE UZUN BASMA İÇİN GEREKLİ --- */
.modal-overlay {
    display: none; /* Varsayılan gizli */
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 2000;
    align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; } /* JS ekleyince görünür */

/* iOS ve Android'de uzun basınca menü çıkmasın */
.long-press-target {
    -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.long-press-target:active { background-color: #e2e8f0; } /* Basınca renk değişsin */
/* --- PUANLAMA YILDIZLARI --- */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 30px;
    margin-bottom: 15px;
}
.star {
    cursor: pointer;
    color: #ddd; /* Pasif renk (Gri) */
    transition: color 0.2s;
}
.star.selected, .star:hover, .star:hover ~ .star {
    /* Hover ve Seçili durumu */
    color: #FFD700; /* Altın Sarısı */
}
/* CSS hilesi: Hover yapınca önceki kardeşleri seçmek için ters sıralama kullanacağız JS'de */
/* --- YORUMLAR PENCERESİ --- */
.reviews-list {
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
    margin-top: 15px;
}
.review-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.review-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}
.review-stars { color: #FFD700; font-size: 12px; }
.review-text { font-size: 14px; color: #333; }
/* --- YORUMLAR LİSTESİ --- */
.reviews-list {
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
    margin-top: 15px;
}
.review-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}
.review-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}
.review-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: #334155; line-height: 1.4; }

/* Sistem Mesajı Stili */
.system-msg {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin: 10px 0;
    background: #f1f5f9;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}
/* --- YORUMLAR LİSTESİ (PROFİL) --- */
.reviews-list {
    max-height: 300px; overflow-y: auto; text-align: left; margin-top: 15px;
}
.review-item {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 12px; margin-bottom: 10px;
}
.review-header {
    display: flex; justify-content: space-between; font-size: 12px; color: #64748b; margin-bottom: 6px;
}
.review-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: #334155; line-height: 1.4; }

/* --- İŞLEM PANELİ (STATUS BAR) --- */
.job-status-bar {
    background: #fff; border-bottom: 1px solid #e2e8f0; padding: 10px 15px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); z-index: 19;
}
.job-status-info { font-size: 13px; color: #334155; font-weight: 600; }
.job-status-actions button {
    padding: 6px 12px; border-radius: 6px; border: none; font-size: 12px; font-weight: bold; cursor: pointer;
}
.btn-deliver { background: #3b82f6; color: white; }
.btn-receive { background: #10b981; color: white; }
.btn-disabled { background: #e2e8f0; color: #94a3b8; cursor: default; }

/* Talep Kartı */
.request-card {
    background: #f0fdf9; border: 1px solid #ccfbf1; padding: 15px;
    border-radius: 12px; text-align: center; margin: 10px 0; width: 100%;
}
/* --- HEADER DÜZENLEMESİ (KAYMAYI ÖNLER) --- */
header {
    background: #0A1128;
    color: #ffffff;
    padding: 10px 20px;
    display: grid; /* Flex yerine Grid */
    grid-template-columns: 200px 1fr 200px; /* Sol ve Sağ sabit, orta esnek */
    align-items: center;
    gap: 20px;
}

/* Mobilde Grid'i bozup alt alta alıyoruz */
@media (max-width: 768px) {
    header {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .logo-area, .header-buttons {
        width: 100%;
        justify-content: center;
    }
    .header-buttons {
        justify-content: center;
    }
}

/* Arama Kutusu Ortala */
.search-box {
    margin: 0 auto;
    width: 100%;
    max-width: 500px; /* Genişliği sabitledik */
}

/* Header Butonları Sağa Yasla */
.header-buttons {
    justify-content: flex-end;
}

/* --- ANA SAYFA KARTLARI (4'LÜ YAPI) --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.feature-card {
    position: relative;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Kart Arka Plan Renkleri (Gradient) */
.card-pazar { background: linear-gradient(135deg, #FF9966, #FF5E62); }
.card-stl { background: linear-gradient(135deg, #56CCF2, #2F80ED); }
.card-freelance { background: linear-gradient(135deg, #11998e, #38ef7d); }
.card-blog { background: linear-gradient(135deg, #8E2DE2, #4A00E0); }

.card-content h3 {
    color: white;
    font-size: 24px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.card-content p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 5px 0 0;
}

/* --- GÜNÜN SORUNLARI & BLOG BÖLÜMÜ --- */
.home-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    color: #0A1128;
    margin-bottom: 20px;
    border-left: 5px solid #00F7A3;
    padding-left: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unanswered-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.question-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: 0.2s;
    text-decoration: none;
}
.question-item:hover {
    border-color: #00F7A3;
    background: #f0fdf9;
}

.q-title { font-weight: 600; color: #334155; font-size: 15px; }
.q-meta { font-size: 12px; color: #94a3b8; }
.btn-answer {
    background: #0A1128; color: white; padding: 6px 14px;
    border-radius: 8px; font-size: 12px; font-weight: bold;
}

/* --- ARAMA SONUÇLARI DROPDOWN --- */
/* --- ARAMA SONUÇLARI DÜZELTMESİ --- */
.search-results-dropdown {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background: #ffffff !important; /* Arka plan kesin beyaz */
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 2000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    border: 1px solid #e2e8f0;
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0A1128 !important; /* Yazılar Koyu Renk Olsun */
    text-decoration: none;
}

.search-result-item:hover {
    background: #f0fdf9; /* Üzerine gelince açık yeşil */
}

.result-type {
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: auto; /* Sağa yasla */
}

/* Etiket Renkleri */
.type-user { background: #e0e7ff; color: #3730a3; }
.type-blog { background: #fce7f3; color: #9d174d; }
.type-question { background: #ffedd5; color: #9a3412; }
.type-stl { background: #dcfce7; color: #166534; } /* STL Rengi */
/* --- MOBİL/TABLET İÇİN HEADER DÜZENLEMESİ --- */
@media (max-width: 768px) {
    /* Header mobilde alt alta olduğu için uzuyor, içeriği aşağı itiyoruz */
    .main-content {
        margin-top: 220px !important; 
    }
    
    /* Pazar, Freelance gibi diğer sayfalarda main-content sınıfı yoksa body padding ver */
    body {
        padding-top: 0; 
    }
}

/* --- FOOTER (ALT BİLGİ) TASARIMI --- */
.site-footer {
    background: #0A1128; /* Lacivert */
    color: #94A3B8;      /* Gri Yazı */
    padding: 60px 20px 30px;
    margin-top: 80px;
    border-top: 4px solid #00F7A3; /* Üstüne ince yeşil çizgi */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand h2 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 24px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #00F7A3; /* Hover olunca yeşil */
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #475569;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
}
/* --- PROFİL SAYILARI VE YAZI RENGİ DÜZELTMESİ --- */

/* İstatistik sayılarını ve yazılarını koyu yap */
.profile-stats {
    color: #0A1128 !important;
}

.profile-stats strong {
    color: #000000 !important; /* Sayılar simsiyah olsun */
    font-weight: 900;
}

.profile-stats span {
    color: #475569 !important; /* Alt yazılar koyu gri */
}

/* Yükleniyor yazıları veya boş listeler için */
#contentGrid p, .no-content-text {
    color: #64748b !important; /* Okunabilir gri */
    font-weight: 600;
}

/* Eğer profil gizliyse çıkan kilit mesajı */
.private-msg {
    color: #333 !important;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.modal-content input, .modal-content select, .modal-content textarea {
    box-sizing: border-box; /* Padding'i genişliğe dahil et, dışarı taşırma */
    width: 100% !important;
}
/* --- MOBİL UYUMLULUK KESİN ÇÖZÜM --- */

@media (max-width: 768px) {

    /* 1. ANA İÇERİK KAPSAYICISINI SIFIRLA */
    .main-content {
        margin-top: 200px !important; 
        padding: 10px !important; /* Dış boşluğu minimuma indir */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. RENKLİ KARTLAR: Sol boşluğu yok et ve 2x2 yap */
    .feature-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Yan yana tam 2 tane */
        gap: 10px !important; /* Aralarındaki boşluk */
        margin: 0 auto 30px auto !important; /* Ortala ve alt boşluk bırak */
        padding: 0 !important; /* İç boşluğu sıfırla (sol boşluğu çözer) */
        width: 100% !important;
    }

    .feature-card {
        height: 160px !important; /* Boyutu biraz daha büyüttük */
        margin: 0 !important; /* Kartların kendi dış boşluğunu sıfırla */
        padding: 15px !important;
        box-sizing: border-box !important;
    }

    .card-content h3 {
        font-size: 18px !important;
        margin-bottom: 5px !important;
    }

    /* 3. BLOG VE YAN PANELİ GENİŞLET */
    .content-wrapper {
        flex-direction: column !important; /* Alt alta al */
        display: flex !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .home-section, .sidebar-area {
        width: 100% !important; /* Ekranı tam kapla */
        max-width: 100% !important;
        margin: 0 0 20px 0 !important; /* Sadece alt boşluk bırak */
        padding: 20px !important; /* İçerik nefes alsın */
        box-sizing: border-box !important;
    }

    /* Başlıkları mobil için optimize et */
    .section-title {
        font-size: 19px !important;
    }
}