/*
Theme Name: Yunus Emre Şenel
Theme URI: https://yunusemresenel.com
Author: Yunus Emre Şenel
Description: Kişisel marka, girişimcilik ve proje sunumu için özgün WordPress teması.
Version: 1.0.3
Text Domain: yunus-senel
*/

:root {
  --ink: #0b1728;
  --ink-soft: #24344a;
  --paper: #f6f3ec;
  --paper-2: #ede8de;
  --white: #fff;
  --accent: #10a37f;
  --accent-2: #79e0c3;
  --line: rgba(11, 23, 40, .13);
  --shadow: 0 28px 80px rgba(11, 23, 40, .12);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 236, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-row { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 44px; height: 44px; }
.brand span { font-size: 1.02rem; }
.menu { list-style: none; display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; }
.menu a { font-size: .93rem; font-weight: 650; color: var(--ink-soft); }
.menu a:hover, .menu .current-menu-item > a { color: var(--accent); }
.nav-cta { padding: 11px 17px; border-radius: 999px; background: var(--ink); color: var(--white) !important; }
.menu-toggle { display: none; border: 0; background: none; font: inherit; font-weight: 700; }

.hero { position: relative; overflow: hidden; padding: 104px 0 76px; }
.hero::before {
  content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(16,163,127,.28), transparent 68%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 72px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--accent); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.045em; }
h1 { max-width: 850px; font-size: clamp(3.2rem, 7.4vw, 6.9rem); }
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: 660px; font-size: clamp(3rem, 5.1vw, 5.2rem); overflow-wrap: normal; }
.hero-line { display: block; overflow: hidden; padding: 0 .05em .06em 0; }
.hero-line > span, .hero-line > em {
  display: block;
  transform-origin: left bottom;
  animation: headline-reveal .9s cubic-bezier(.16,1,.3,1) both;
}
.hero-line:nth-child(2) > em { animation-delay: .1s; }
.hero-line:nth-child(3) > span { animation-delay: .2s; }
.hero-copy .eyebrow { animation: detail-reveal .65s .28s cubic-bezier(.16,1,.3,1) both; }
.hero-copy .lead { animation: detail-reveal .7s .38s cubic-bezier(.16,1,.3,1) both; }
.hero-copy .actions { animation: detail-reveal .7s .48s cubic-bezier(.16,1,.3,1) both; }
h1 em { color: var(--accent); font-family: Georgia, serif; font-weight: 500; }
.lead { max-width: 720px; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(1.08rem, 1.8vw, 1.32rem); }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; border-radius: 999px; font-weight: 760; transition: .2s ease; }
.button-primary { color: var(--white); background: var(--ink); box-shadow: 0 14px 30px rgba(11,23,40,.19); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.45); }
.button:hover { transform: translateY(-2px); }
.signature-card {
  --tilt-x: 0deg; --tilt-y: 0deg; --shift-x: 0px; --shift-y: 0px; --name-x: 0px; --name-y: 0px;
  padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 34px; background: var(--ink); box-shadow: var(--shadow); color: var(--white);
  animation: card-arrival 1.05s .15s cubic-bezier(.16,1,.3,1) both;
  perspective: 1100px;
}
.portrait-placeholder {
  position: relative; min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px;
  border-radius: 22px; overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(121,224,195,.35), transparent 35%), linear-gradient(145deg, #162b40, #07111f);
  transform: translate3d(var(--shift-x),var(--shift-y),0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform .18s ease-out, box-shadow .35s ease;
}
.portrait-placeholder::after {
  content: ""; position: absolute; inset: -45%; pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, rgba(255,255,255,.14) 49%, transparent 60%);
  transform: translateX(-42%) rotate(8deg); transition: transform .75s cubic-bezier(.16,1,.3,1);
}
.signature-card:hover .portrait-placeholder { box-shadow: inset 0 0 0 1px rgba(121,224,195,.2), 0 28px 70px rgba(4,13,24,.32); }
.signature-card:hover .portrait-placeholder::after { transform: translateX(42%) rotate(8deg); }
.monogram {
  max-width: 360px; font-family: Georgia, serif; font-size: clamp(3rem, 4.2vw, 4.4rem); font-weight: 600;
  line-height: .9; color: var(--accent-2); letter-spacing: -.065em;
  position: relative; z-index: 1; transform: translateZ(48px); transition: transform .25s ease-out;
}
.monogram span { display: block; }
.signature-card:hover .monogram { transform: translate3d(var(--name-x),var(--name-y),48px); }
.card-note { position: relative; z-index: 1; max-width: 300px; font-size: .95rem; color: rgba(255,255,255,.72); transform: translateZ(30px); }

.results-strip { position: relative; z-index: 2; padding: 0 0 24px; }
.results-grid { display: grid; grid-template-columns: .85fr 1fr 1fr; gap: 16px; }
.results-intro, .result-card { min-height: 168px; padding: 25px 27px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.58); }
.results-intro { display: flex; flex-direction: column; justify-content: center; }
.results-intro span, .result-card span { color: var(--accent); font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.results-intro strong { margin-top: 8px; font-size: 1.42rem; line-height: 1.2; }
.result-card strong { display: block; margin-top: 12px; font-size: clamp(2rem,3.2vw,3.15rem); line-height: 1; letter-spacing: -.055em; }
.result-card p { margin: 12px 0 0; color: var(--ink-soft); font-size: .9rem; }

@keyframes headline-reveal {
  from { opacity: 0; filter: blur(8px); transform: translate3d(0,115%,0) rotate(3deg); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) rotate(0); }
}
@keyframes detail-reveal {
  from { opacity: 0; transform: translate3d(-28px,0,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}
@keyframes card-arrival {
  0% { opacity: 0; filter: blur(12px); transform: translate3d(110px,24px,0) rotate(7deg) scale(.9); }
  72% { opacity: 1; filter: blur(0); transform: translate3d(-8px,-3px,0) rotate(-1deg) scale(1.012); }
  100% { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) rotate(0) scale(1); }
}

.section { padding: 88px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 36px; align-items: end; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(2.3rem, 4.5vw, 4.5rem); }
.section-head p { max-width: 620px; margin: 0; color: var(--ink-soft); }
.section-dark .section-head p { color: rgba(255,255,255,.66); }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.expertise-card { min-height: 270px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.54); }
.expertise-card span { display: block; margin-bottom: 38px; color: var(--accent); font: 500 2rem/1 Georgia, serif; }
.expertise-card h3 { font-size: 1.55rem; }
.expertise-card p { color: var(--ink-soft); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project-card { position: relative; min-height: 340px; padding: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.055); overflow: hidden; }
.project-card::after { content: "↗"; position: absolute; right: 30px; bottom: 24px; color: var(--accent-2); font-size: 1.6rem; }
.project-card small { color: var(--accent-2); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.project-card h3 { max-width: 420px; margin-top: 22px; font-size: 2.25rem; }
.project-card p { max-width: 480px; color: rgba(255,255,255,.65); }
.project-result { display: inline-flex; margin-top: 18px; padding: 8px 12px; border: 1px solid rgba(121,224,195,.28); border-radius: 999px; background: rgba(121,224,195,.09); color: var(--accent-2); font-size: .82rem; font-weight: 800; }
.consultation-section { padding-top: 72px; }
.consultation-box { display: grid; grid-template-columns: .88fr 1.12fr; gap: 48px; padding: clamp(32px,5vw,68px); border-radius: 34px; background: linear-gradient(135deg,#fff 0%,#ecf8f3 100%); box-shadow: var(--shadow); }
.consultation-copy h2 { max-width: 530px; font-size: clamp(2.5rem,4.5vw,4.5rem); }
.consultation-copy > p:last-child { max-width: 540px; color: var(--ink-soft); }
.consultation-options { display: grid; gap: 12px; }
.consultation-options a { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.consultation-options a:hover { transform: translateX(8px); border-color: rgba(16,163,127,.46); box-shadow: 0 14px 34px rgba(11,23,40,.08); }
.consultation-options span { grid-row: 1 / 3; color: var(--accent); font: 500 1.45rem/1 Georgia,serif; }
.consultation-options strong { font-size: 1.05rem; }
.consultation-options small { color: var(--ink-soft); line-height: 1.45; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.5); }
.post-card time { color: var(--accent); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.post-card h3 { margin-top: 15px; font-size: 1.35rem; }
.post-card p { color: var(--ink-soft); }
.empty-note { padding: 38px; border: 1px dashed var(--line); border-radius: 22px; color: var(--ink-soft); }

.page-hero { padding: 90px 0 54px; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.6rem); }
.content-card { max-width: 900px; padding: clamp(28px, 5vw, 64px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.content-card h2 { margin: 38px 0 14px; font-size: 2rem; }
.content-card h2:first-child { margin-top: 0; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; }
.contact-panel { padding: 34px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.contact-panel p { color: rgba(255,255,255,.68); }
.contact-form { display: grid; gap: 15px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-form label { font-size: .86rem; font-weight: 750; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf7; font: inherit; }
.contact-form select { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf7; color: var(--ink); font: inherit; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-points { margin: 26px 0; padding: 0; list-style: none; }
.contact-points li { position: relative; margin: 10px 0; padding-left: 24px; color: rgba(255,255,255,.78); }
.contact-points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 900; }
.notice { padding: 12px 15px; border-radius: 12px; background: rgba(16,163,127,.12); color: #07634f; }

.site-footer { padding: 54px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.footer-title { font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 850; letter-spacing: -.05em; line-height: 1; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; color: var(--ink-soft); font-weight: 650; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: #657184; font-size: .85rem; }

@media (max-width: 860px) {
  .hero-grid, .section-head, .contact-grid, .footer-grid, .consultation-box { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .results-intro { grid-column: 1 / -1; min-height: auto; }
  .expertise-grid, .insight-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 82px; left: 20px; right: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .menu { flex-direction: column; align-items: stretch; gap: 16px; }
  .footer-links { justify-content: flex-start; }
  .hero-copy h1 { max-width: 760px; font-size: clamp(3rem, 10vw, 5.4rem); }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 72px; }
  .expertise-grid, .insight-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .results-intro { grid-column: auto; }
  .portrait-placeholder { min-height: 340px; }
  .monogram { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-line > span, .hero-line > em, .hero-copy .eyebrow, .hero-copy .lead, .hero-copy .actions, .signature-card { animation: none; }
  .portrait-placeholder, .monogram, .portrait-placeholder::after { transition: none; }
}

