/* WordPress iç sayfa ve içerik stilleri — tasarım sistemine uygun */

body:not(.home) .nav{ background:rgba(8,8,15,.92); backdrop-filter:blur(14px); }

.mm-page-hero{
  padding:calc(130px + 4vw) 0 clamp(36px,5vw,64px);
  background:radial-gradient(120% 80% at 80% 0%, rgba(192,98,58,.18), transparent 60%), var(--ink-2);
  border-bottom:1px solid var(--line);
}
.mm-page-hero .kicker{ margin-bottom:16px; }
.mm-page-hero .title{ max-width:22ch; }

.mm-main{ padding-block:clamp(48px,6vw,90px); }

/* İçerik tipografisi */
.mm-content{ max-width:780px; margin-inline:auto; color:var(--text); font-size:1.08rem; line-height:1.8; }
.mm-content > * + *{ margin-top:1.2em; }
.mm-content h2,.mm-content h3,.mm-content h4{ font-family:var(--ff-display); color:var(--cream); line-height:1.25; margin-top:1.8em; }
.mm-content h2{ font-size:clamp(1.6rem,2.6vw,2.1rem); }
.mm-content h3{ font-size:clamp(1.3rem,2vw,1.6rem); }
.mm-content a{ color:var(--mars-lite); text-decoration:underline; text-underline-offset:3px; }
.mm-content img{ border-radius:var(--radius-sm); height:auto; max-width:100%; }
.mm-content ul,.mm-content ol{ padding-left:1.3em; }
.mm-content blockquote{ border-left:3px solid var(--mars); padding:.4em 0 .4em 1.2em; color:var(--cream); font-family:var(--ff-display); font-style:italic; font-size:1.25rem; }
.mm-content figure{ margin-inline:0; }
.mm-content figcaption{ color:var(--muted); font-size:.9rem; margin-top:.5em; }
.mm-content table{ width:100%; border-collapse:collapse; }
.mm-content th,.mm-content td{ border:1px solid var(--line-soft); padding:.6em .8em; }
.mm-content .alignwide{ max-width:1100px; margin-inline:auto; }
.mm-content .aligncenter{ margin-inline:auto; display:block; }

.mm-thumb{ max-width:1100px; margin:0 auto clamp(32px,4vw,56px); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.mm-thumb img{ width:100%; height:auto; display:block; }

.mm-meta{ display:flex; gap:18px; flex-wrap:wrap; color:var(--muted); font-size:.95rem; margin-top:18px; }
.mm-meta i{ color:var(--mars); margin-right:6px; }

/* Blog listesi — tasarımdaki .blog-grid kullanılır */
.mm-pagination{ display:flex; justify-content:center; gap:8px; margin-top:48px; flex-wrap:wrap; }
.mm-pagination .page-numbers{ min-width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; padding:0 14px; border-radius:999px; border:1px solid var(--line); color:var(--cream); }
.mm-pagination .page-numbers.current,.mm-pagination .page-numbers:hover{ background:var(--mars); border-color:var(--mars); }

.mm-empty{ text-align:center; color:var(--muted); padding:40px 0; }

/* Yorumlar */
.mm-comments{ max-width:780px; margin:64px auto 0; }
.mm-comments .comment-list{ list-style:none; padding:0; }
.mm-comments input[type=text],.mm-comments input[type=email],.mm-comments input[type=url],.mm-comments textarea{
  width:100%; background:var(--surface); border:1px solid var(--line); color:var(--cream); border-radius:12px; padding:12px 14px; font:inherit;
}
.mm-comments .submit{ background:var(--mars); color:#fff; border:0; border-radius:999px; padding:12px 26px; font-weight:600; cursor:pointer; }

/* WP menü uyumu */
.nav-menu li{ list-style:none; }
.screen-reader-text{ position:absolute!important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }
.admin-bar .nav{ top:32px; }
@media (max-width:782px){ .admin-bar .nav{ top:46px; } }

/* MOBİL UYUM ================================================= */
@media (max-width:980px){
  .hero{ flex-direction:column; align-items:stretch; }
  .hero-content{ width:100%; }
}
@media (max-width:640px){
  .hero{ padding-block:110px 36px; }
  .hero-center{ max-width:100%; }
  .hero-title{ font-size:clamp(2.3rem,11vw,3.2rem); line-height:1.02; }
  .hero-desc{ font-size:1rem; margin-top:18px; }
  .kicker{ letter-spacing:.2em; }
  #heroText{ min-height:0; }
  .hero-cta{ margin-top:26px; flex-direction:column; align-items:stretch; }
  .hero-cta .btn{ justify-content:center; }
  .hero-dots{ margin-top:26px; }
  .hero-stats{ width:auto; margin:28px var(--gutter) 0; }
  .h-stat b{ font-size:1.6rem; }
  .h-stat span{ font-size:10px; letter-spacing:.12em; }

  .sec-head-row{ align-items:flex-start; }
  .cta-btns{ flex-direction:column; align-items:stretch; }
  .cta-btns .btn{ justify-content:center; }
  .cta-band{ padding:24px 18px; border-radius:22px; }
  .cta-band .title{ font-size:clamp(1.7rem,8vw,2.2rem); }
  .ci span{ word-break:break-word; }

  .footer-top{ flex-direction:column; align-items:flex-start; }
  .footer-contact{ flex-direction:column; align-items:flex-start; gap:14px; }
  .footer-links{ flex-wrap:wrap; gap:10px 18px; }
  .footer-bottom{ flex-direction:column; gap:6px; text-align:left; }

  .mm-page-hero{ padding-top:110px; }
  .mm-content{ font-size:1rem; }
  .mm-content table{ display:block; overflow-x:auto; white-space:nowrap; }
}
@media (max-width:600px){
  .blog-grid, .ba-grid{ grid-template-columns:1fr !important; gap:16px; }
  .ba-card{ aspect-ratio:4/5; }
  .blog-body p{ font-size:.9rem; }
}
@media (max-width:380px){
  .srv-grid, .ref-grid{ grid-template-columns:1fr !important; }
}

/* Site logosu */
.brand .mm-logo-img{ display:block; height:52px; width:auto; max-width:220px; object-fit:contain; }
.nav.scrolled .brand .mm-logo-img{ height:44px; }
.footer .brand .mm-logo-img{ height:64px; max-width:260px; }
@media (max-width:640px){ .brand .mm-logo-img{ height:42px; max-width:170px; } }

/* Tidio uyumu: yukarı çık butonu sohbet balonunun üstünde dursun */
.fab-wrap.fab-right{ bottom:clamp(96px,10vw,110px); right:clamp(22px,2.4vw,30px); }
@media (max-width:640px){ .fab-wrap.fab-right{ bottom:92px; } }

/* Referanslar: 3 kart */
.ref-grid.mm-ref-3{ grid-template-columns:repeat(4,1fr) !important; max-width:1300px; margin-inline:auto; }
@media (max-width:1080px){ .ref-grid.mm-ref-3{ grid-template-columns:repeat(2,1fr) !important; max-width:820px; } }
@media (max-width:820px){ .ref-grid.mm-ref-3{ grid-template-columns:1fr !important; max-width:520px; } }

/* ============================================================
   AÇIK MOD (data-theme="light")
   ============================================================ */
.mm-theme-toggle{
  width:40px; height:40px; border-radius:12px; display:grid; place-items:center;
  border:1px solid var(--line); color:var(--mars-lite); font-size:16px;
  background:rgba(255,255,255,.03); transition:.3s var(--ease);
}
.mm-theme-toggle:hover{ border-color:var(--mars); background:rgba(192,98,58,.1); }
.mm-theme-toggle .fa-sun{ display:none; }
html[data-theme="light"] .mm-theme-toggle .fa-sun{ display:inline-block; }
html[data-theme="light"] .mm-theme-toggle .fa-moon{ display:none; }

html[data-theme="light"]{
  --ink:#f6f2ec; --ink-2:#eee7de; --surface:#ffffff; --surface-2:#f4eee7;
  --line:rgba(192,98,58,.28); --line-soft:rgba(40,25,15,.10);
  --cream:#1e1813; --text:#4a4139; --muted:#6c6258; --muted-2:#8b8075;
  --mars-lite:#a64f2a;
  --shadow:0 24px 50px -24px rgba(60,35,20,.25);
  color-scheme:light;
}
html[data-theme="light"] body{ background:var(--ink); }

/* Hero fotoğraf üstünde: koyu modda kalsın */
html[data-theme="light"] .hero{
  --cream:#f5f0ea; --text:#d8d0c4; --muted:#8a8278; --muted-2:#a39a8f; --mars-lite:#e8a882;
  --line:rgba(192,98,58,.18); --line-soft:rgba(255,255,255,.08);
}

/* Menü */
html[data-theme="light"] .nav.scrolled,
html[data-theme="light"] body:not(.home) .nav{ background:rgba(246,242,236,.92); }
html[data-theme="light"] .nav:not(.scrolled){
  --cream:#f5f0ea; --text:#d8d0c4; --mars-lite:#e8a882; --line:rgba(192,98,58,.35);
}
html[data-theme="light"] body:not(.home) .nav{ --cream:#1e1813; --text:#4a4139; --mars-lite:#a64f2a; }
html[data-theme="light"] .nav-menu a:hover{ background:rgba(0,0,0,.05); }
html[data-theme="light"] .mob-bg{ background:rgba(246,242,236,.88); }
html[data-theme="light"] .mob-content{ background:linear-gradient(165deg,#ffffff,#f2ebe3); box-shadow:var(--shadow); }

/* Logo (beyaz yazılı): açık zeminde koyu plaka üzerinde */
html[data-theme="light"] .brand .mm-logo-img{ background:#0d0d16; padding:4px 10px; border-radius:10px; box-sizing:content-box; }

/* Kutular ve kartlar */
html[data-theme="light"] .blok{
  background:linear-gradient(165deg, rgba(192,98,58,.06), #fffdfa 45%, #fbf8f4);
  box-shadow:0 30px 70px -40px rgba(60,35,20,.28);
}
html[data-theme="light"] .srv-card,
html[data-theme="light"] .ref-card,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .proc-step{ background:#ffffff; box-shadow:0 14px 34px -22px rgba(60,35,20,.35); }
html[data-theme="light"] .btn-outline{ background:rgba(0,0,0,.03); }
html[data-theme="light"] .cta-band{ background:linear-gradient(165deg, rgba(192,98,58,.10), #fffdfa 55%); box-shadow:0 30px 70px -40px rgba(60,35,20,.3); }
html[data-theme="light"] .footer{ background:var(--ink-2); }
html[data-theme="light"] .fab-top{ background:rgba(255,255,255,.92); box-shadow:0 10px 26px -12px rgba(60,35,20,.4); }
html[data-theme="light"] .mm-comments input,
html[data-theme="light"] .mm-comments textarea{ background:#fff; }

/* Fotoğraf üstündeki yazılar beyaz kalsın */
html[data-theme="light"] .gal-cap,
html[data-theme="light"] .ba-title{ color:#fff; }

/* Yumuşak geçiş */
html.mm-theme-anim, html.mm-theme-anim *{ transition:background-color .35s ease, color .35s ease, border-color .35s ease !important; }

/* Açık mod: kayan yazı kutusu */
html[data-theme="light"] .marquee-box{
  background:linear-gradient(180deg,#fffdfa,#f3ece3 60%,#fffdfa);
  box-shadow:0 30px 70px -45px rgba(60,35,20,.3);
}
html[data-theme="light"] .mq--stroke{ -webkit-text-stroke:1.2px var(--mars); }

/* Öncesi/Sonrası: mobilde dikey kaydırmaya izin ver (ba-card dikey) */
.ba-card{ touch-action:pan-y; }
