/*
Theme Name: Sakin Zihin Psikolog
Theme URI: https://example.com/
Author: OpenAI
Description: Klinik psikologlar için sade, güven veren, mobil uyumlu ve WhatsApp odaklı WordPress teması.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sakin-zihin
*/

:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #eef3ef;
  --ink: #17231f;
  --muted: #5d6b65;
  --brand: #23483d;
  --brand-2: #3f6f60;
  --accent: #b78c55;
  --line: #dfe6e1;
  --shadow: 0 22px 70px rgba(23, 35, 31, .10);
  --radius: 26px;
  --radius-sm: 16px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(183, 140, 85, .55); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.section { padding: 100px 0; }
.section--tight { padding: 70px 0; }
.section--surface { background: var(--surface); }
.section--soft { background: var(--surface-soft); }
.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  margin: 0 0 .55em;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.13;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2.05rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
p { margin: 0 0 1.15em; }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--muted); max-width: 720px; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head p:last-child { margin-bottom: 0; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(247, 244, 238, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(35, 72, 61, .08);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 210px; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: var(--brand); color: #fff; font-family: Georgia, serif; font-size: 1.2rem;
}
.brand-text strong { display: block; font-family: Georgia, serif; font-size: 1.08rem; line-height: 1.1; }
.brand-text span { display: block; color: var(--muted); font-size: .75rem; margin-top: 4px; }
.custom-logo-link img { max-height: 54px; width: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { text-decoration: none; font-size: .92rem; font-weight: 700; }
.primary-nav a:hover { color: var(--brand-2); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--ink); margin: 5px 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 22px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 800;
  border: 1px solid var(--brand); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(35, 72, 61, .2); background: #193a31; }
.button--ghost { background: transparent; color: var(--brand); }
.button--ghost:hover { background: var(--surface-soft); box-shadow: none; }
.button--light { background: #fff; color: var(--brand); border-color: #fff; }
.button--small { min-height: 42px; padding: 9px 16px; font-size: .88rem; }
.text-link { color: var(--brand); font-weight: 800; text-underline-offset: 4px; }

.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero:before {
  content: ""; position: absolute; width: 540px; height: 540px; border-radius: 50%;
  right: -230px; top: -250px; background: rgba(185, 203, 191, .35); filter: blur(2px);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 span { color: var(--brand-2); }
.hero-copy .lead { margin: 24px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; display: flex; gap: 10px; color: var(--muted); font-size: .9rem; }
.hero-note svg { flex: 0 0 auto; margin-top: 3px; }
.hero-visual { position: relative; min-height: 560px; }
.hero-photo {
  position: absolute; inset: 0 22px 20px 0; border-radius: 180px 180px 30px 30px;
  overflow: hidden; background: linear-gradient(145deg, #dce9e2, #b7cbbf); box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 50px; text-align: center; color: var(--brand); }
.hero-placeholder svg { width: 74%; max-width: 330px; opacity: .94; }
.hero-placeholder p { max-width: 280px; margin: 22px auto 0; font-weight: 700; }
.hero-badge {
  position: absolute; z-index: 2; left: -25px; bottom: 0; max-width: 260px;
  background: var(--surface); border: 1px solid rgba(35, 72, 61, .1); border-radius: 20px;
  padding: 20px 22px; box-shadow: 0 18px 50px rgba(23, 35, 31, .13);
}
.hero-badge strong { display: block; font-family: Georgia, serif; font-size: 1.1rem; }
.hero-badge span { color: var(--muted); font-size: .86rem; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.44); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: .96rem; }
.trust-item span { color: var(--muted); font-size: .83rem; }

.split { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(40px, 8vw, 100px); align-items: center; }
.quote-card { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 44px; position: relative; overflow: hidden; }
.quote-card:after { content: "“"; position: absolute; right: 18px; top: -50px; font-family: Georgia, serif; font-size: 13rem; color: rgba(255,255,255,.08); }
.quote-card p { position: relative; z-index: 1; font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.35; }
.quote-card small { display: block; color: rgba(255,255,255,.72); }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li:before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid rgba(35,72,61,.1); border-radius: var(--radius-sm);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(23,35,31,.09); border-color: rgba(35,72,61,.25); }
.card-number { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--brand); font-weight: 900; margin-bottom: 22px; }
.card p:last-child { margin-bottom: 0; color: var(--muted); }
.area-card { min-height: 240px; display: flex; flex-direction: column; }
.area-card .area-icon { font-size: 1.5rem; margin-bottom: 40px; }
.area-card p { margin-top: auto; }

.process { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-item { position: relative; padding: 34px; background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.process-item:before { counter-increment: step; content: "0" counter(step); display: block; color: var(--accent); font-weight: 900; letter-spacing: .08em; margin-bottom: 32px; }

.approach-panel { background: var(--brand); color: #fff; border-radius: var(--radius); padding: clamp(36px, 6vw, 72px); }
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.approach-items { display: grid; gap: 16px; }
.approach-item { padding: 22px; border-radius: 15px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.approach-item p { color: rgba(255,255,255,.74); margin-bottom: 0; }

.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.media-card { overflow: hidden; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.media-thumb { display: block; aspect-ratio: 16/9; background: #d8e3dc; overflow: hidden; position: relative; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-thumb {
  display: block;
  aspect-ratio: 4/5;
  background: #f7f4ee;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.93); color: var(--brand); box-shadow: 0 12px 35px rgba(23,35,31,.16); }
.media-body { padding: 24px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: .8rem; margin-bottom: 10px; }
.media-body h3 a { text-decoration: none; }
.media-body h3 a:hover { color: var(--brand-2); }
.empty-state { grid-column: 1/-1; padding: 38px; border: 1px dashed rgba(35,72,61,.25); border-radius: var(--radius-sm); text-align: center; color: var(--muted); }

.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 0; background: transparent; text-align: left; color: var(--ink); font-weight: 800; cursor: pointer; }
.faq-question span:last-child { font-size: 1.35rem; transition: transform .2s ease; }
.faq-answer { display: none; padding: 0 24px 22px; color: var(--muted); }
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-question span:last-child { transform: rotate(45deg); }

.cta { background: var(--brand); color: #fff; border-radius: var(--radius); padding: clamp(36px, 7vw, 78px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.cta p { color: rgba(255,255,255,.76); max-width: 650px; }
.cta-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.contact-note { margin-top: 18px; color: rgba(255,255,255,.66); font-size: .83rem; }

.content-wrap { width: min(calc(100% - 40px), 820px); margin: 0 auto; }
.page-hero { padding: 90px 0 55px; }
.entry-content { background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 5vw, 60px); box-shadow: 0 16px 50px rgba(23,35,31,.06); }
.entry-content h2, .entry-content h3 { margin-top: 1.5em; }
.entry-content a { color: var(--brand-2); }
.entry-content blockquote { margin: 32px 0; padding: 22px 26px; border-left: 4px solid var(--accent); background: var(--surface-soft); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; }
.pagination { margin-top: 40px; }

.site-footer { background: #142b24; color: #fff; padding: 68px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .8fr; gap: 60px; }
.footer-brand p { color: rgba(255,255,255,.67); max-width: 480px; }
.site-footer h3, .site-footer h4 { font-family: inherit; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.emergency { margin-top: 42px; padding: 18px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; color: rgba(255,255,255,.7); font-size: .82rem; }
.footer-bottom { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.55); font-size: .8rem; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 850; display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 999px; background: #1f7a54; color: #fff; text-decoration: none; font-weight: 900; box-shadow: 0 16px 40px rgba(20,43,36,.28); }
.whatsapp-float:hover { transform: translateY(-2px); }

.notice { padding: 18px 22px; border-radius: 14px; background: #fff7e9; border: 1px solid #ead6b4; color: #684d26; }

@media (max-width: 1024px) {
  .primary-nav { position: fixed; inset: 84px 20px auto; background: var(--surface); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .primary-nav a { display: block; padding: 11px 8px; }
  .menu-toggle { display: block; }
  .header-actions .button { display: none; }
  .hero-grid, .split, .approach-grid, .cta { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; max-width: 620px; width: 100%; margin: 10px auto 0; }
  .split { gap: 44px; }
  .cards, .media-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  body.admin-bar .site-header { top: 46px; }
  .container, .content-wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .section { padding: 72px 0; }
  .hero { padding-top: 52px; }
  .hero-visual { min-height: 430px; }
  .hero-photo { inset: 0 0 34px 0; border-radius: 120px 120px 24px 24px; }
  .hero-badge { left: 12px; right: 12px; bottom: 0; max-width: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards, .media-grid, .process { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .area-card { min-height: auto; }
  .area-card .area-icon { margin-bottom: 22px; }
  .quote-card { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
}
/* Hakkımda sayfası sosyal medya düğmeleri */
.social-instagram .wp-block-button__link,
.social-youtube .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 1px solid rgba(35, 72, 61, 0.2);
  border-radius: 999px;
  background: #fffaf2;
  color: #23483d;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(35, 72, 61, 0.09);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.social-instagram .wp-block-button__link::before,
.social-youtube .wp-block-button__link::before {
  content: "";
  display: inline-block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Instagram ikonu */
.social-instagram .wp-block-button__link::before {
  background: linear-gradient(
    135deg,
    #833ab4 0%,
    #e1306c 48%,
    #f77737 75%,
    #fcaf45 100%
  );
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iYmxhY2siIGQ9Ik03IDJoMTBhNSA1IDAgMCAxIDUgNXYxMGE1IDUgMCAwIDEtNSA1SDdhNSA1IDAgMCAxLTUtNVY3YTUgNSAwIDAgMSA1LTVabTAgMmEzIDMgMCAwIDAtMyAzdjEwYTMgMyAwIDAgMCAzIDNoMTBhMyAzIDAgMCAwIDMtM1Y3YTMgMyAwIDAgMC0zLTNIN1ptNSAzLjVBNC41IDQuNSAwIDEgMSA3LjUgMTIgNC41IDQuNSAwIDAgMSAxMiA3LjVabTAgMkEyLjUgMi41IDAgMSAwIDE0LjUgMTIgMi41IDIuNSAwIDAgMCAxMiA5LjVabTUuMjUtMy4yNUExLjI1IDEuMjUgMCAxIDEgMTYgNy41YTEuMjUgMS4yNSAwIDAgMSAxLjI1LTEuMjVaIi8+PC9zdmc+");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iYmxhY2siIGQ9Ik03IDJoMTBhNSA1IDAgMCAxIDUgNXYxMGE1IDUgMCAwIDEtNSA1SDdhNSA1IDAgMCAxLTUtNVY3YTUgNSAwIDAgMSA1LTVabTAgMmEzIDMgMCAwIDAtMyAzdjEwYTMgMyAwIDAgMCAzIDNoMTBhMyAzIDAgMCAwIDMtM1Y3YTMgMyAwIDAgMC0zLTNIN1ptNSAzLjVBNC41IDQuNSAwIDEgMSA3LjUgMTIgNC41IDQuNSAwIDAgMSAxMiA3LjVabTAgMkEyLjUgMi41IDAgMSAwIDE0LjUgMTIgMi41IDIuNSAwIDAgMCAxMiA5LjVabTUuMjUtMy4yNUExLjI1IDEuMjUgMCAxIDEgMTYgNy41YTEuMjUgMS4yNSAwIDAgMSAxLjI1LTEuMjVaIi8+PC9zdmc+");
}

/* YouTube ikonu */
.social-youtube .wp-block-button__link::before {
  background: #ff0033;
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iYmxhY2siIGQ9Ik0yMyA3LjJBMy4xIDMuMSAwIDAgMCAyMC44MiA1QzE4LjkgNC41IDEyIDQuNSAxMiA0LjVTNS4xIDQuNSAzLjE4IDVBMy4xIDMuMSAwIDAgMCAxIDcuMiAzMiAzMiAwIDAgMCAuNSAxMiAzMiAzMiAwIDAgMCAxIDE2LjggMy4xIDMuMSAwIDAgMCAzLjE4IDE5YzEuOTIuNSA4LjgyLjUgOC44Mi41czYuOSAwIDguODItLjVBMy4xIDMuMSAwIDAgMCAyMyAxNi44YTMyIDMyIDAgMCAwIC41LTQuOCAzMiAzMiAwIDAgMC0uNS00LjhaTTkuNzUgMTUuMjV2LTYuNUwxNS41IDEybC01Ljc1IDMuMjVaIi8+PC9zdmc+");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iYmxhY2siIGQ9Ik0yMyA3LjJBMy4xIDMuMSAwIDAgMCAyMC44MiA1QzE4LjkgNC41IDEyIDQuNSAxMiA0LjVTNS4xIDQuNSAzLjE4IDVBMy4xIDMuMSAwIDAgMCAxIDcuMiAzMiAzMiAwIDAgMCAuNSAxMiAzMiAzMiAwIDAgMCAxIDE2LjggMy4xIDMuMSAwIDAgMCAzLjE4IDE5YzEuOTIuNSA4LjgyLjUgOC44Mi41czYuOSAwIDguODItLjVBMy4xIDMuMSAwIDAgMCAyMyAxNi44YTMyIDMyIDAgMCAwIC41LTQuOCAzMiAzMiAwIDAgMC0uNS00LjhaTTkuNzUgMTUuMjV2LTYuNUwxNS41IDEybC01Ljc1IDMuMjVaIi8+PC9zdmc+");
}

/* Fareyle üzerine gelindiğinde */
.social-instagram .wp-block-button__link:hover,
.social-youtube .wp-block-button__link:hover {
  transform: translateY(-2px);
  background: #23483d;
  color: #ffffff;
  border-color: #23483d;
  box-shadow: 0 13px 30px rgba(35, 72, 61, 0.18);
}
/* Üst menü sosyal medya ikonları */
.header-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fffaf2;
  border: 1px solid rgba(35, 72, 61, 0.16);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(35, 72, 61, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.header-social svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.header-social--instagram {
  color: #d62976;
}

.header-social--youtube {
  color: #ff0000;
}

.header-social--youtube svg {
  fill: currentColor;
  stroke: none;
}

.header-social--youtube .youtube-play {
  fill: #ffffff;
}

.header-social:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(35, 72, 61, 0.14);
}

/* Tablet ve telefonda üst alanın sıkışmasını önler */
@media (max-width: 1024px) {
  .header-socials {
    display: none;
  }
}
/* Hakkımda sayfası profil fotoğrafı */
.hakkimda-portre {
  width: min(100%, 560px);
  margin: 0 auto 42px;
}

.hakkimda-portre img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(35, 72, 61, 0.14);
}

@media (max-width: 600px) {
  .hakkimda-portre {
    width: 100%;
    margin-bottom: 30px;
  }

  .hakkimda-portre img {
    border-radius: 18px;
  }
}
/* Sayfa içindeki WhatsApp randevu düğmesi */
.randevu-whatsapp .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid #23483d;
  border-radius: 999px;
  background: #23483d;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(35, 72, 61, 0.16);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

/* WhatsApp ikonu */
.randevu-whatsapp .wp-block-button__link::before {
  content: "";
  display: inline-block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.84 9.84 0 0 0-8.45 14.88L2 22l5.25-1.54A9.96 9.96 0 1 0 12.04 2Zm0 17.78a7.8 7.8 0 0 1-3.98-1.09l-.28-.17-3.12.92.94-3.04-.19-.3a7.77 7.77 0 1 1 6.63 3.68Zm4.27-5.84c-.23-.12-1.39-.68-1.6-.76-.22-.08-.38-.12-.54.12-.16.23-.62.76-.76.92-.14.16-.28.18-.51.06-.24-.12-1-.37-1.9-1.17-.7-.63-1.18-1.4-1.32-1.64-.14-.23-.02-.36.1-.48.11-.1.24-.28.36-.42.12-.14.16-.23.24-.39.08-.15.04-.29-.02-.41-.06-.12-.54-1.3-.74-1.78-.19-.47-.39-.4-.54-.41h-.46c-.16 0-.42.06-.64.29-.22.23-.84.82-.84 2 0 1.18.86 2.32.98 2.48.12.16 1.69 2.58 4.1 3.62.57.25 1.02.4 1.37.51.58.18 1.1.16 1.51.1.46-.07 1.39-.57 1.59-1.12.2-.55.2-1.02.14-1.12-.06-.1-.22-.16-.46-.28Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.84 9.84 0 0 0-8.45 14.88L2 22l5.25-1.54A9.96 9.96 0 1 0 12.04 2Zm0 17.78a7.8 7.8 0 0 1-3.98-1.09l-.28-.17-3.12.92.94-3.04-.19-.3a7.77 7.77 0 1 1 6.63 3.68Zm4.27-5.84c-.23-.12-1.39-.68-1.6-.76-.22-.08-.38-.12-.54.12-.16.23-.62.76-.76.92-.14.16-.28.18-.51.06-.24-.12-1-.37-1.9-1.17-.7-.63-1.18-1.4-1.32-1.64-.14-.23-.02-.36.1-.48.11-.1.24-.28.36-.42.12-.14.16-.23.24-.39.08-.15.04-.29-.02-.41-.06-.12-.54-1.3-.74-1.78-.19-.47-.39-.4-.54-.41h-.46c-.16 0-.42.06-.64.29-.22.23-.84.82-.84 2 0 1.18.86 2.32.98 2.48.12.16 1.69 2.58 4.1 3.62.57.25 1.02.4 1.37.51.58.18 1.1.16 1.51.1.46-.07 1.39-.57 1.59-1.12.2-.55.2-1.02.14-1.12-.06-.1-.22-.16-.46-.28Z'/%3E%3C/svg%3E");
}

/* Fareyle üzerine gelince */
.randevu-whatsapp .wp-block-button__link:hover {
  background: #1b5e4b;
  color: #ffffff;
  border-color: #1b5e4b;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(35, 72, 61, 0.23);
}

/* Klavyeyle kullanım */
.randevu-whatsapp .wp-block-button__link:focus-visible {
  outline: 3px solid rgba(35, 72, 61, 0.3);
  outline-offset: 3px;
}
/* İletişim sayfası telefon düğmesi */
.iletisim-telefon .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid #23483d;
  border-radius: 999px;
  background: #23483d;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(35, 72, 61, 0.16);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

/* Telefon ikonu */
.iletisim-telefon .wp-block-button__link::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E");
}

.iletisim-telefon .wp-block-button__link:hover {
  background: #1b5e4b;
  color: #ffffff;
  border-color: #1b5e4b;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(35, 72, 61, 0.23);
}

.iletisim-telefon .wp-block-button__link:focus-visible {
  outline: 3px solid rgba(35, 72, 61, 0.3);
  outline-offset: 3px;
}
/* İletişim sayfası e-posta düğmesi */
.iletisim-eposta .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid #23483d;
  border-radius: 999px;
  background: #23483d;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(35, 72, 61, 0.16);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

/* E-posta ikonu */
.iletisim-eposta .wp-block-button__link::before {
  content: "";
  display: inline-block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm8 9L4.5 7.8V18h15V7.8L12 13Zm0-2.4L19.4 6H4.6L12 10.6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm8 9L4.5 7.8V18h15V7.8L12 13Zm0-2.4L19.4 6H4.6L12 10.6Z'/%3E%3C/svg%3E");
}

.iletisim-eposta .wp-block-button__link:hover {
  background: #1b5e4b;
  color: #ffffff;
  border-color: #1b5e4b;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(35, 72, 61, 0.23);
}

.iletisim-eposta .wp-block-button__link:focus-visible {
  outline: 3px solid rgba(35, 72, 61, 0.3);
  outline-offset: 3px;
}
/* Telefon ve e-posta butonlarını sosyal medya butonlarıyla uyumlu yap */
.social-phone .wp-block-button__link,
.social-email .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #f6f1e7;
  border: 1px solid rgba(35, 72, 61, 0.18);
  color: #23483d;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(35, 72, 61, 0.05);
  transition: all 0.2s ease;
}

/* Hover */
.social-phone .wp-block-button__link:hover,
.social-email .wp-block-button__link:hover {
  background: #efe7d8;
  border-color: rgba(35, 72, 61, 0.28);
  color: #1c3a31;
  transform: translateY(-1px);
}

/* Telefon ikonu */
.social-phone .wp-block-button__link::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.89.33 1.76.63 2.6a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.48-1.2a2 2 0 0 1 2.11-.45c.84.3 1.71.51 2.6.63A2 2 0 0 1 22 16.92z'/>\
</svg>");
}

/* E-posta ikonu */
.social-email .wp-block-button__link::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path fill='%23EA4335' d='M2 6.5v11A2.5 2.5 0 0 0 4.5 20H7V9.8L2 6.5z'/>\
<path fill='%2334A853' d='M17 20h2.5A2.5 2.5 0 0 0 22 17.5v-11l-5 3.3V20z'/>\
<path fill='%234285F4' d='M17 4H7l5 4.1L17 4z'/>\
<path fill='%23FBBC05' d='M2 6.5 7 9.8V20h10V9.8l5-3.3V6.2A2.2 2.2 0 0 0 19.8 4H17l-5 4.1L7 4H4.2A2.2 2.2 0 0 0 2 6.2v.3z'/>\
</svg>");
}
/* Sosyal medya ve iletişim düğmelerini eşit boyuta getir */
.social-instagram .wp-block-button__link,
.social-youtube .wp-block-button__link,
.social-phone .wp-block-button__link,
.social-email .wp-block-button__link {
  width: 275px;
  min-height: 52px;
  box-sizing: border-box;
  justify-content: flex-start;
  padding: 14px 22px;
  white-space: nowrap;
}

/* Telefon ekranında taşmayı önle */
@media (max-width: 600px) {
  .social-instagram,
  .social-youtube,
  .social-phone,
  .social-email {
    width: 100%;
  }

  .social-instagram .wp-block-button__link,
  .social-youtube .wp-block-button__link,
  .social-phone .wp-block-button__link,
  .social-email .wp-block-button__link {
    width: 100%;
    max-width: 300px;
  }
}
/* İletişim sayfası son bölümdeki dört düğme */
.iletisim-son-butonlar {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 275px));
  gap: 16px 18px;
  justify-content: start;
  align-items: stretch;
  margin-top: 22px;
}

.iletisim-son-butonlar .wp-block-button {
  width: 100%;
  margin: 0 !important;
}

.iletisim-son-butonlar .wp-block-button__link {
  width: 100% !important;
  min-height: 54px;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 22px !important;
  white-space: nowrap;
}

/* WhatsApp düğmesinin de diğerleriyle aynı genişlikte olması */
.iletisim-son-butonlar .randevu-whatsapp .wp-block-button__link {
  width: 100% !important;
}

/* Telefonda tek sütun */
@media (max-width: 700px) {
  .iletisim-son-butonlar {
    grid-template-columns: minmax(0, 300px);
    gap: 13px;
  }

  .iletisim-son-butonlar .wp-block-button__link {
    width: 100% !important;
  }
}
.header-social--phone {
  color: #3b82f6;
}

.header-social--phone:hover {
  color: #2563eb;
}
/* Masaüstü üst menü düzeni */
@media (min-width: 1025px) {

  /* Yalnızca üst menünün kullanılabilir alanını genişlet */
  .site-header .container {
    width: min(calc(100% - 32px), 1320px);
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 18px;
  }

  /* İsim ve unvan satır atlamasın */
  .brand {
    min-width: 250px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .brand-text strong,
  .brand-text span {
    white-space: nowrap;
  }

  /* Menü bağlantıları tek satırda kalsın */
  .primary-nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  .primary-nav ul {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 18px;
  }

  .primary-nav a {
    white-space: nowrap;
    font-size: 0.88rem;
  }

  /* Sosyal ikonlar ve WhatsApp düğmesi sıkışmasın */
  .header-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .header-social {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .header-actions .button--small {
    white-space: nowrap;
    min-width: max-content;
    padding: 9px 15px;
  }
}/* Mobil sabit telefon butonu */
.phone-float {
  display: none;
}

@media (max-width: 700px) {
  .phone-float {
    position: fixed;
    right: 90px;
    bottom: 22px;
    z-index: 851;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.32);
  }

  .phone-float svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .phone-float:hover,
  .phone-float:active {
    background: #1d4ed8;
    color: #ffffff;
  }
}