/* ===========================================================================
   RENK DİSİPLİNİ — 60 / 30 / 10
   %60 ana: sıcak kağıt beyazı · %30 koyu lacivert · %10 bronz vurgu
   =========================================================================== */
:root {
  --main: #f6f5f2;
  --main-2: #fbfaf8;
  --ink: #16263a;
  --ink-2: #1d3047;
  --ink-soft: #46566a;
  --accent: #b0894f;
  --accent-dark: #8c6a39;
  --accent-soft: rgba(176, 137, 79, .12);
  --line: #e4e0d8;
  --golge: 0 1px 2px rgba(22, 38, 58, .05), 0 8px 24px rgba(22, 38, 58, .06);
  --kap: 1080px;
  --yuvarlak: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .logo { font-family: "Fraunces", Georgia, serif; font-weight: 500; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
.kap { width: 100%; max-width: var(--kap); margin: 0 auto; padding: 0 24px; }

/* SCROLL-REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.gorunur { opacity: 1; transform: none; }

/* ÜST BAR */
.ustbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 245, 242, .82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.ustbar-ic { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-size: 1.15rem; color: var(--ink); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: .9rem; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.nav a:hover::after { width: 100%; }
.dil-btn {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: 600 .8rem "Inter", sans-serif; letter-spacing: .04em;
  padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.dil-btn:hover { border-color: var(--accent); color: var(--accent-dark); }

/* HERO */
.hero { position: relative; padding: 100px 0 84px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-arka {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 85% 0%, rgba(176,137,79,.10), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(22,38,58,.06), transparent 70%);
}
.hero-ic { position: relative; z-index: 1; display: flex; align-items: center; gap: 52px; }
.hero-metin { flex: 1; min-width: 0; max-width: 720px; }
.hero-foto { flex: none; position: relative; }
.hero-foto::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: .55;
}
.hero-foto img {
  display: block; width: clamp(210px, 25vw, 310px); height: clamp(210px, 25vw, 310px);
  object-fit: cover; border-radius: 50%;
  border: 6px solid var(--main-2);
  box-shadow: 0 22px 55px rgba(22,38,58,.22);
}
.musaitlik {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--main-2); border: 1px solid var(--line);
  color: var(--ink-soft); font-size: .82rem; font-weight: 500;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; box-shadow: var(--golge);
}
.musaitlik .nokta { width: 8px; height: 8px; border-radius: 50%; background: #3fae6a; box-shadow: 0 0 0 0 rgba(63,174,106,.5); animation: nabiz 2.4s infinite; }
@keyframes nabiz { 0% { box-shadow: 0 0 0 0 rgba(63,174,106,.5); } 70% { box-shadow: 0 0 0 7px rgba(63,174,106,0); } 100% { box-shadow: 0 0 0 0 rgba(63,174,106,0); } }
.hero-ust { color: var(--accent-dark); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.hero-ad { font-size: clamp(2.7rem, 6.5vw, 4.4rem); line-height: 1.04; margin: 10px 0 6px; }
.hero-unvan { color: var(--ink-soft); font-size: 1.05rem; font-weight: 500; }
.hero-slogan { font-family: "Fraunces", serif; font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--ink); margin: 26px 0 14px; line-height: 1.38; }
.hero-ozet { color: var(--ink-soft); max-width: 640px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* ÖNE ÇIKANLAR ŞERİDİ */
.hero-vurgu { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.vurgu-oge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--main-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 14px; font-size: .86rem; color: var(--ink); font-weight: 500; box-shadow: var(--golge);
  transition: transform .2s, border-color .2s;
}
.vurgu-oge:hover { transform: translateY(-2px); border-color: var(--accent); }
.vurgu-oge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* BUTONLAR */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .2s; border: 1px solid transparent; font-family: inherit; }
.btn-dolu { background: var(--ink); color: var(--main); }
.btn-dolu:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-cizgi { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-cizgi:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-sohbet { background: var(--accent); color: #fff; }
.btn-sohbet:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* BÖLÜMLER */
.bolum { padding: 76px 0; }
.bolum-koyu { background: var(--ink); color: var(--main); }
.bolum-koyu .bolum-baslik { color: var(--main); }
.bolum-baslik { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 36px; position: relative; padding-left: 18px; }
.bolum-baslik::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; border-radius: 2px; background: var(--accent); }
.hakkimda-metin { font-size: 1.14rem; max-width: 760px; color: var(--ink-soft); }

/* DENEYİM */
.zaman { display: grid; gap: 4px; }
.zaman-oge { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(246,245,242,.15); transition: background .2s; }
.zaman-oge:first-child { border-top: none; }
.zaman-oge:hover { background: rgba(246,245,242,.03); }
.zaman-tarih { color: var(--accent); font-weight: 600; font-size: .9rem; }
.zaman-rol { font-family: "Fraunces", serif; font-size: 1.2rem; }
.zaman-yer { color: rgba(246,245,242,.7); font-size: .92rem; margin-bottom: 8px; }
.zaman-metin { color: rgba(246,245,242,.82); }

/* PROJELER */
.kart-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.kart { background: var(--main-2); border: 1px solid var(--line); border-radius: var(--yuvarlak); padding: 26px; box-shadow: var(--golge); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.kart::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), transparent); opacity: 0; transition: opacity .25s; }
.kart:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(22,38,58,.12); border-color: #d9d3c6; }
.kart:hover::before { opacity: 1; }
.kart h3 { font-size: 1.25rem; margin-bottom: 10px; }
.kart p { color: var(--ink-soft); font-size: .96rem; }
.etiketler { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.etiket { font-size: .72rem; font-weight: 600; letter-spacing: .03em; color: var(--accent-dark); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }

/* YETENEKLER */
.yetenek-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.yetenek-grup h3 { color: var(--accent); font-size: 1.05rem; margin-bottom: 14px; }
.yetenek-liste { display: flex; flex-wrap: wrap; gap: 9px; }
.yetenek-liste span { border: 1px solid rgba(246,245,242,.25); color: var(--main); padding: 7px 14px; border-radius: 8px; font-size: .9rem; transition: background .2s, border-color .2s; }
.yetenek-liste span:hover { background: rgba(176,137,79,.18); border-color: var(--accent); }

/* İLETİŞİM */
.iletisim-ic { text-align: center; max-width: 560px; }
.iletisim-ic .bolum-baslik { padding-left: 0; }
.iletisim-ic .bolum-baslik::before { display: none; }
.iletisim-metin { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 26px; }
.sosyal { display: flex; justify-content: center; gap: 22px; margin-top: 28px; }
.sosyal a { color: var(--ink-soft); font-size: .92rem; font-weight: 500; transition: color .2s; }
.sosyal a:hover { color: var(--accent-dark); }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-ic { display: flex; justify-content: space-between; align-items: center; color: var(--ink-soft); font-size: .85rem; flex-wrap: wrap; gap: 10px; }
.footer [data-ad] { font-family: "Fraunces", serif; color: var(--ink); }

/* SOHBET BUTONU + DAVET */
.sohbet-kose { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.sohbet-ac {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: none;
  background: var(--ink); color: var(--main); font: 600 .95rem "Inter", sans-serif;
  padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 30px rgba(22,38,58,.3);
  position: relative; transition: transform .2s, background .2s;
}
.sohbet-ac:hover { transform: translateY(-2px); background: var(--accent-dark); }
.sohbet-ac::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px; z-index: -1;
  box-shadow: 0 0 0 0 rgba(176,137,79,.55); animation: sohbetNabiz 2.6s infinite;
}
@keyframes sohbetNabiz { 0% { box-shadow: 0 0 0 0 rgba(176,137,79,.5); } 70% { box-shadow: 0 0 0 16px rgba(176,137,79,0); } 100% { box-shadow: 0 0 0 0 rgba(176,137,79,0); } }
.sohbet-ac-yazi { white-space: nowrap; }

/* davet balonu */
.sohbet-davet {
  position: relative; max-width: 260px; background: var(--main-2); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px; border-bottom-right-radius: 4px;
  padding: 14px 32px 14px 16px; font-size: .9rem; line-height: 1.5; box-shadow: 0 12px 30px rgba(22,38,58,.16);
  animation: davetGir .4s ease;
}
@keyframes davetGir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.davet-kapat { position: absolute; top: 6px; right: 8px; background: none; border: none; font-size: 1.2rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.davet-kapat:hover { color: var(--ink); }

/* SOHBET PENCERESİ */
.sohbet {
  position: fixed; right: 24px; bottom: 24px; z-index: 51;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 48px));
  background: var(--main); border: 1px solid var(--line); border-radius: 16px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 60px rgba(22,38,58,.25); animation: davetGir .25s ease;
}
.sohbet[hidden], .sohbet-davet[hidden] { display: none; }
.sohbet-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; background: var(--ink); color: var(--main); }
.sohbet-ust strong { font-family: "Fraunces", serif; font-size: 1.05rem; display: block; }
.sohbet-ust small { color: rgba(246,245,242,.7); font-size: .78rem; }
.sohbet-kapat { background: none; border: none; color: var(--main); font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: .8; }
.sohbet-kapat:hover { opacity: 1; }
.sohbet-govde { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.balon { max-width: 85%; padding: 11px 15px; border-radius: 14px; font-size: .92rem; line-height: 1.5; white-space: pre-wrap; }
.balon-bot { background: var(--main-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.balon-ben { background: var(--ink); color: var(--main); border-bottom-right-radius: 4px; align-self: flex-end; }
.balon-yaziyor { color: var(--ink-soft); font-style: italic; }
.sohbet-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.sohbet-form input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font: inherit; font-size: .92rem; outline: none; }
.sohbet-form input:focus { border-color: var(--accent); }
.sohbet-form button { border: none; background: var(--ink); color: var(--main); border-radius: 999px; padding: 0 18px; font-weight: 600; font-size: .88rem; cursor: pointer; transition: background .2s; }
.sohbet-form button:hover { background: var(--accent-dark); }
.sohbet-form button:disabled { opacity: .5; cursor: default; }

/* MOBİL */
@media (max-width: 860px) {
  .hero-ic { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-foto { order: -1; align-self: center; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .zaman-oge { grid-template-columns: 1fr; gap: 6px; }
  .hero { padding: 60px 0 56px; }
  .bolum { padding: 58px 0; }
  .sohbet-ac-yazi { display: none; }
  .sohbet-ac { padding: 15px; }
  .sohbet-davet { max-width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
