/* ===========================
   GLOBAL DEĞIŞKENLER
=========================== */
:root {
  --renk-ana: #ffffff;
  --renk-koyu: #1a1a2e;
  --renk-vurgu: #0f3460;
  --renk-aksan: #e94560;
  --renk-gri: #f4f6f9;
  --renk-yazi: #333344;
  --renk-yazi-aci: #7a7a9a;
  --kenar: 8px;
  --golge: 0 2px 12px rgba(0,0,0,0.08);
  --golge-hover: 0 6px 24px rgba(0,0,0,0.14);
  --gecis: all 0.2s ease;
  --font: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font); background: var(--renk-gri); color: var(--renk-yazi); font-size: 15px; line-height: 1.6; }
a { color: var(--renk-vurgu); text-decoration: none; }
a:hover { color: var(--renk-aksan); }

/* NAVBAR */
.navbar-custom { background: var(--renk-koyu); padding: 0 40px; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.navbar-logo { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -0.5px; display: flex; align-items: center; }
.navbar-logo span { color: var(--renk-aksan); }
.navbar-logo-img { height: 38px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.navbar-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.navbar-links a { color: #ccc; padding: 8px 14px; border-radius: var(--kenar); font-size: 14px; transition: var(--gecis); }
.navbar-links a:hover, .navbar-links a.aktif { background: rgba(255,255,255,0.1); color: #fff; }
.navbar-btn { background: var(--renk-aksan) !important; color: #fff !important; padding: 8px 20px !important; border-radius: 20px !important; }
.navbar-btn:hover { background: #c73652 !important; }
.dropdown-menu-custom { position: absolute; right: 0; top: 48px; background: #fff; border: 1px solid #e8e8f0; border-radius: var(--kenar); box-shadow: var(--golge-hover); min-width: 200px; z-index: 9999; overflow: hidden; }
.dropdown-menu-custom a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: var(--renk-yazi); font-size: 14px; transition: var(--gecis); }
.dropdown-menu-custom a:hover { background: var(--renk-gri); color: var(--renk-vurgu); }
/* Hamburger */
.navbar-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1100; }
.navbar-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--gecis); }
.navbar-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-hamburger.active span:nth-child(2) { opacity: 0; }
.navbar-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* LAYOUT */
.layout { display: flex; min-height: calc(100vh - 64px); }

/* SIDEBAR */
.sidebar { width: 240px; background: var(--renk-ana); border-right: 1px solid #e8e8f0; padding: 24px 0; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; flex-shrink: 0; }
.sidebar-baslik { font-size: 11px; font-weight: 600; color: var(--renk-yazi-aci); text-transform: uppercase; letter-spacing: 1px; padding: 0 20px 8px; margin-top: 16px; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: var(--renk-yazi); font-size: 14px; transition: var(--gecis); border-left: 3px solid transparent; }
.sidebar-link i { width: 18px; color: var(--renk-yazi-aci); }
.sidebar-link:hover { background: var(--renk-gri); color: var(--renk-vurgu); border-left-color: var(--renk-vurgu); }
.sidebar-link:hover i { color: var(--renk-vurgu); }
.sidebar-link.aktif { background: #eef2ff; color: var(--renk-vurgu); border-left-color: var(--renk-vurgu); font-weight: 600; }
.sidebar-link.aktif i { color: var(--renk-vurgu); }

/* ANA İÇERİK */
.icerik { flex: 1; padding: 32px 40px; max-width: 1100px; }
.sayfa-baslik { margin-bottom: 28px; }
.sayfa-baslik h1 { font-size: 24px; font-weight: 700; color: var(--renk-koyu); }
.sayfa-baslik p { color: var(--renk-yazi-aci); font-size: 14px; margin-top: 4px; }

/* KARTLAR */
.kart { background: var(--renk-ana); border-radius: var(--kenar); box-shadow: var(--golge); border: 1px solid #e8e8f0; transition: var(--gecis); }
.kart:hover { box-shadow: var(--golge-hover); }
.kart-govde { padding: 24px; }

/* ETKİNLİK KARTI */
.etkinlik-kart { display: flex; border-radius: var(--kenar); overflow: hidden; background: var(--renk-ana); box-shadow: var(--golge); border: 1px solid #e8e8f0; transition: var(--gecis); margin-bottom: 16px; }
.etkinlik-kart:hover { box-shadow: var(--golge-hover); transform: translateY(-2px); }
.etkinlik-gorsel { width: 220px; min-height: 150px; object-fit: cover; flex-shrink: 0; background: #dde1f0; }
.etkinlik-gorsel-placeholder { width: 220px; min-height: 150px; background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.etkinlik-gorsel-placeholder i { font-size: 48px; color: rgba(255,255,255,0.3); }
.etkinlik-icerik { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.etkinlik-tur-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.tur-fiziksel { background: #e8f5e9; color: #2e7d32; }
.tur-online { background: #e3f2fd; color: #1565c0; }
.tur-hibrit { background: #f3e5f5; color: #6a1b9a; }
.tur-parti { background: #fff3e0; color: #e65100; }
.tur-toplanti { background: #fce4ec; color: #880e4f; }
.tur-egitim { background: #e0f7fa; color: #006064; }
.tur-konser { background: #fdf3e7; color: #bf360c; }
.tur-festival { background: #f9fbe7; color: #558b2f; }
.tur-workshop { background: #ede7f6; color: #4527a0; }
.tur-diger { background: #f5f5f5; color: #555; }
.etkinlik-baslik { font-size: 17px; font-weight: 600; color: var(--renk-koyu); margin-bottom: 6px; }
.etkinlik-meta { display: flex; gap: 16px; font-size: 13px; color: var(--renk-yazi-aci); margin-bottom: 12px; flex-wrap: wrap; }
.etkinlik-meta i { color: var(--renk-aksan); margin-right: 4px; }
.etkinlik-alt { display: flex; align-items: center; justify-content: space-between; }
.fiyat-badge { font-size: 15px; font-weight: 700; color: var(--renk-vurgu); }
.fiyat-badge.ucretsiz { color: #2e7d32; }
.katilimci-sayisi { font-size: 12px; color: var(--renk-yazi-aci); }

/* BUTONLAR */
.btn-ana { background: var(--renk-vurgu); color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--gecis); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-ana:hover { background: #0a2a50; color: #fff; }
.btn-aksan { background: var(--renk-aksan); color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--gecis); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-aksan:hover { background: #c73652; color: #fff; }
.btn-outline { background: transparent; color: var(--renk-vurgu); border: 1px solid var(--renk-vurgu); padding: 9px 22px; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: var(--gecis); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-outline:hover { background: var(--renk-vurgu); color: #fff; }
.btn-tehlike { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; padding: 9px 22px; border-radius: 6px; font-size: 14px; cursor: pointer; transition: var(--gecis); display: inline-flex; align-items: center; gap: 8px; }
.btn-tehlike:hover { background: #c62828; color: #fff; }
.btn-sm { padding: 6px 14px !important; font-size: 13px !important; }

/* FORMLAR */
.form-grup { margin-bottom: 20px; }
.form-grup label { display: block; font-size: 13px; font-weight: 600; color: var(--renk-koyu); margin-bottom: 6px; }
.form-grup label span.zorunlu { color: var(--renk-aksan); }
.form-kontrol { width: 100%; padding: 10px 14px; border: 1px solid #d0d4e8; border-radius: 6px; font-size: 14px; font-family: var(--font); color: var(--renk-yazi); background: #fff; transition: var(--gecis); outline: none; }
.form-kontrol:focus { border-color: var(--renk-vurgu); box-shadow: 0 0 0 3px rgba(15,52,96,0.1); }
.form-hata-mesaj { font-size: 12px; color: var(--renk-aksan); margin-top: 4px; }
.form-aciklama { font-size: 12px; color: var(--renk-yazi-aci); margin-top: 4px; }
.field-validation-error { font-size: 12px; color: var(--renk-aksan); }

/* ADIM GÖSTERGESİ */
.adim-gostergesi { display: flex; align-items: center; margin-bottom: 36px; }
.adim { display: flex; align-items: center; gap: 10px; flex: 1; }
.adim-no { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; border: 2px solid #d0d4e8; background: #fff; color: #aaa; flex-shrink: 0; }
.adim.aktif .adim-no { background: var(--renk-vurgu); border-color: var(--renk-vurgu); color: #fff; }
.adim.tamamlandi .adim-no { background: #2e7d32; border-color: #2e7d32; color: #fff; }
.adim-yazi { font-size: 13px; font-weight: 500; color: #aaa; }
.adim.aktif .adim-yazi { color: var(--renk-vurgu); font-weight: 600; }
.adim.tamamlandi .adim-yazi { color: #2e7d32; }
.adim-cizgi { flex: 1; height: 2px; background: #d0d4e8; margin: 0 10px; }
.adim-cizgi.tamamlandi { background: #2e7d32; }

/* İSTATİSTİK KARTLARI */
.stat-kart { background: var(--renk-ana); border-radius: var(--kenar); padding: 24px; box-shadow: var(--golge); border: 1px solid #e8e8f0; display: flex; align-items: center; gap: 16px; }
.stat-ikon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.stat-ikon.mavi { background: #e3f2fd; color: #1565c0; }
.stat-ikon.yesil { background: #e8f5e9; color: #2e7d32; }
.stat-ikon.kirmizi { background: #ffebee; color: #c62828; }
.stat-ikon.mor { background: #f3e5f5; color: #6a1b9a; }
.stat-sayi { font-size: 28px; font-weight: 700; color: var(--renk-koyu); line-height: 1; }
.stat-etiket { font-size: 13px; color: var(--renk-yazi-aci); margin-top: 4px; }

/* TABLO */
.tablo { width: 100%; border-collapse: collapse; }
.tablo th { background: var(--renk-gri); padding: 12px 16px; font-size: 12px; font-weight: 600; color: var(--renk-yazi-aci); text-transform: uppercase; letter-spacing: 0.5px; text-align: left; border-bottom: 1px solid #e8e8f0; }
.tablo td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid #f0f0f8; vertical-align: middle; }
.tablo tr:last-child td { border-bottom: none; }
.tablo tr:hover td { background: #fafafa; }

/* BADGE / DURUM */
.durum-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.durum-aktif { background: #e8f5e9; color: #2e7d32; }
.durum-bekliyor { background: #fff3e0; color: #e65100; }
.durum-iptal { background: #ffebee; color: #c62828; }
.durum-odendi { background: #e3f2fd; color: #1565c0; }
.durum-ucretsiz { background: #e8f5e9; color: #2e7d32; }
.durum-tamamlandi { background: #f3e5f5; color: #6a1b9a; }

/* TOAST */
.toast-konteyner { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--renk-koyu); color: #fff; padding: 14px 20px; border-radius: var(--kenar); font-size: 14px; box-shadow: var(--golge-hover); display: flex; align-items: center; gap: 10px; min-width: 280px; animation: toast-gir 0.3s ease; }
.toast.basari { border-left: 4px solid #4caf50; }
.toast.hata { border-left: 4px solid var(--renk-aksan); }
.toast.bilgi { border-left: 4px solid #2196f3; }
@keyframes toast-gir { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-cik { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(40px); } }

/* PROFİL FOTOĞRAFI */
.profil-foto-alan { width: 100px; height: 100px; border-radius: 50%; background: #e8e8f0; border: 3px dashed #d0d4e8; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; transition: var(--gecis); position: relative; }
.profil-foto-alan:hover { border-color: var(--renk-vurgu); }
.profil-foto-alan img { width: 100%; height: 100%; object-fit: cover; }
.profil-foto-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--gecis); color: #fff; font-size: 20px; }
.profil-foto-alan:hover .profil-foto-overlay { opacity: 1; }

/* SOSYAL MEDYA */
.sosyal-link { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #e0e0f0; border-radius: 6px; margin-bottom: 10px; font-size: 14px; color: var(--renk-yazi); transition: var(--gecis); }
.sosyal-link:hover { border-color: var(--renk-vurgu); background: #f8f9ff; }
.sosyal-ikon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.sosyal-instagram { background: #fce4ec; color: #c2185b; }
.sosyal-youtube { background: #ffebee; color: #c62828; }
.sosyal-x { background: #e8eaf6; color: #1a237e; }
.sosyal-telegram { background: #e3f2fd; color: #1565c0; }
.sosyal-whatsapp { background: #e8f5e9; color: #2e7d32; }
.sosyal-bip { background: #f3e5f5; color: #6a1b9a; }
.sosyal-nsosyal { background: #fff3e0; color: #e65100; }

/* LOADING SPINNER */
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: don 0.7s linear infinite; display: inline-block; }
@keyframes don { to { transform: rotate(360deg); } }

/* SAYFALAMA */
.sayfalama { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.sayfa-btn { width: 36px; height: 36px; border-radius: 6px; border: 1px solid #d0d4e8; background: #fff; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--gecis); color: var(--renk-yazi); text-decoration: none; }
.sayfa-btn:hover { border-color: var(--renk-vurgu); color: var(--renk-vurgu); }
.sayfa-btn.aktif { background: var(--renk-vurgu); border-color: var(--renk-vurgu); color: #fff; }

/* AUTH SAYFALAR */
.auth-sayfa { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 50%, #16213e 100%); padding: 20px; }
.auth-kart { background: #fff; border-radius: 16px; padding: 48px 40px; width: 100%; max-width: 440px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.auth-logo { text-align: center; margin-bottom: 32px; font-size: 28px; font-weight: 800; color: var(--renk-koyu); }
.auth-logo span { color: var(--renk-aksan); }
.auth-baslik { font-size: 22px; font-weight: 700; color: var(--renk-koyu); margin-bottom: 8px; }
.auth-alt-baslik { color: var(--renk-yazi-aci); font-size: 14px; margin-bottom: 28px; }

/* HOME HERO */
.hero { background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 60%, #16213e 100%); padding: 80px 0 100px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 70%, rgba(233,69,96,0.1) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(15,52,96,0.3) 0%, transparent 50%); }
.hero-icerik { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; padding: 0 20px; }
.hero h1 { font-size: 52px; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: var(--renk-aksan); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 36px; line-height: 1.7; }
.hero-butonlar { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ETKİNLİK DETAY BANNER */
.etkinlik-banner { width: 100%; height: 320px; object-fit: cover; border-radius: var(--kenar); }
.etkinlik-banner-placeholder { width: 100%; height: 320px; background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%); border-radius: var(--kenar); display: flex; align-items: center; justify-content: center; }
.etkinlik-banner-placeholder i { font-size: 80px; color: rgba(255,255,255,0.2); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .icerik { padding: 20px 16px; }
  .etkinlik-gorsel, .etkinlik-gorsel-placeholder { width: 140px; }
  .navbar-custom { padding: 0 16px; }
  .navbar-hamburger { display: flex; }
  .navbar-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--renk-koyu);
    padding: 12px 0 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 999;
  }
  .navbar-links.mobile-open { display: flex; }
  .navbar-links li { width: 100%; }
  .navbar-links a { display: block; padding: 12px 20px; border-radius: 0; width: 100%; }
  .navbar-links a:hover, .navbar-links a.aktif { background: rgba(255,255,255,0.08); }
  .dropdown-menu-custom { position: static; box-shadow: none; border: none; background: rgba(255,255,255,0.05); border-radius: 0; }
  .dropdown-menu-custom a { color: #ccc; }
  .dropdown-menu-custom a:hover { background: rgba(255,255,255,0.1); color: #fff; }
}
@media (max-width: 600px) {
  .etkinlik-kart { flex-direction: column; }
  .etkinlik-gorsel, .etkinlik-gorsel-placeholder { width: 100%; height: 180px; }
  .stat-kart { padding: 16px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .auth-kart { padding: 28px 18px; }
  .kart-govde { padding: 16px; }
  .tablo { font-size: 13px; }
  .tablo th, .tablo td { padding: 10px 10px; }
  .toast-konteyner { left: 12px; right: 12px; bottom: 12px; }
  .toast { min-width: unset; }
  .sayfa-baslik h1 { font-size: 20px; }
  .navbar-logo-img { height: 30px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 22px; }
  .auth-kart { padding: 20px 12px; }
}

/* footer - tasarımcı imzası */
.site-footer {
  text-align: center;
  padding: 18px 0 12px;
  background: #f4f6f9;
  border-top: 1px solid #e8e8f0;
  margin-top: auto;
}
.footer-imza-link {
  display: inline-block;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.footer-imza-link:hover { opacity: 1; }
.footer-imza-img {
  height: 28px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .footer-imza-img { height: 22px; }
}