/*
Theme Name: Narmin Blog
Theme URI: https://narminfarzali.online
Author: narmin
Description: "chaotic girl" temalı, filmler / diziler / kitaplar / makaleler ve haqqımda bölümleri olan kişisel blog teması. Pastel tonlar, Arial yazı tipi ve yumuşak 3D kart efektleriyle tasarlanmıştır.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: narmin-blog
*/

/* =========================================================
   Tasarım tokenları
   ========================================================= */
:root {
  --ivory: #FCF7F1;
  --paper: #F6EEE5;
  --paper-deep: #EFE3D6;
  --plum: #4A3540;
  --ink: #6B5A63;
  --rose: #D2A3AA;
  --rose-deep: #B97F87;
  --rose-pale: #F5E1DE;
  --sage: #9DAB8B;
  --sage-pale: #E7ECDD;
  --gold: #CBA95C;

  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --shadow-soft: 0 18px 34px -22px rgba(74, 53, 64, 0.4);
  --shadow-lift: 0 26px 44px -18px rgba(74, 53, 64, 0.3);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--plum);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 .4em;
  color: var(--plum);
}
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.hand { font-style: italic; color: var(--rose-deep); font-weight: 700; letter-spacing: .2px; }

:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.screen-reader-text { position: absolute; left: -9999px; }

/* =========================================================
   Üst menü
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74,53,64,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; max-width: 1180px; margin: 0 auto; gap: 24px; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; font-weight: 700; white-space: nowrap; }
.logo span { color: var(--rose-deep); }
.logo img { max-height: 40px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex: 1; justify-content: center; font-size: 0.95rem; }
.nav-links a { position: relative; padding: 4px 2px; color: var(--ink); transition: color .2s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--rose-deep); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a.active, .nav-links .current-menu-item a { color: var(--plum); }
.nav-links a:hover::after, .nav-links a.active::after, .nav-links .current-menu-item a::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(74,53,64,0.15); background: transparent; cursor: pointer; color: var(--plum); transition: background .2s var(--ease), transform .2s var(--ease); }
.icon-btn:hover { background: var(--rose-pale); transform: translateY(-1px); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 0.92rem; cursor: pointer; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); }
.btn-primary { background: var(--plum); color: var(--ivory); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-ghost { background: transparent; border-color: rgba(74,53,64,0.2); color: var(--plum); }
.btn-ghost:hover { background: var(--paper-deep); }
.search-pop { position: absolute; right: 32px; top: 68px; background: var(--ivory); border: 1px solid rgba(74,53,64,0.12); border-radius: var(--radius-m); box-shadow: var(--shadow-lift); padding: 10px; display: none; gap: 8px; }
.search-pop.open { display: flex; }
.search-pop input[type="search"], .search-pop input[type="text"] { border: none; background: var(--paper); border-radius: var(--radius-s); padding: 10px 14px; font-family: var(--font-body); width: 220px; }
.search-pop input:focus { outline: none; }
.search-pop button { border: none; background: var(--rose-deep); color: var(--ivory); border-radius: var(--radius-s); padding: 0 14px; cursor: pointer; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 64px 0 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-eyebrow { font-style: italic; color: var(--rose-deep); font-weight: 700; display: block; margin-bottom: 6px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-style: italic; line-height: 1.05; }
.hero p.lead { max-width: 46ch; color: var(--ink); font-size: 1.06rem; }
.hero-photo { position: relative; background: var(--paper); border-radius: var(--radius-l); padding: 18px 18px 46px; transform: rotate(2.2deg); box-shadow: var(--shadow-lift); }
.hero-photo img { border-radius: var(--radius-m); }
.hero-photo figcaption { font-style: italic; color: var(--rose-deep); text-align: center; margin-top: 10px; font-weight: 700; }
.hero-tape { position: absolute; top: -14px; left: 40px; width: 90px; height: 28px; background: rgba(157, 171, 139, 0.55); transform: rotate(-4deg); border-radius: 2px; }

.explore { text-align: center; padding: 40px 0 10px; }
.explore .hand { display: block; font-size: 1.35rem; margin-bottom: 22px; }
.explore-row { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.explore-item { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); font-size: 0.86rem; }
.explore-item .circle { width: 58px; height: 58px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--rose-deep); transition: transform .3s var(--ease), background .3s var(--ease); }
.explore-item:hover .circle { transform: translateY(-5px) rotate(-4deg); background: var(--rose-pale); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 60px 0 24px; }
.section-head h2 { font-size: 1.8rem; font-style: italic; }
.section-head a { font-size: 0.9rem; color: var(--rose-deep); font-weight: 700; }
.page-head { padding: 52px 0 20px; }
.page-head .hand { font-size: 1.2rem; display: block; margin-bottom: 4px; }
.page-head h1 { font-size: clamp(2.1rem, 4vw, 2.8rem); font-style: italic; }
.page-head p { color: var(--ink); max-width: 60ch; }

/* =========================================================
   Kart ızgarası + 3D tilt
   ========================================================= */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px; }
.grid.narrow { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tilt-card { perspective: 900px; }
.card { background: var(--paper); border-radius: var(--radius-m); overflow: hidden; transform: translateY(0) rotateX(0) rotateY(0); transition: transform .35s var(--ease), box-shadow .35s var(--ease); will-change: transform; box-shadow: 0 10px 18px -14px rgba(74,53,64,0.32); }
.card:hover, .card.tilting { box-shadow: var(--shadow-lift); }
.card a.card-link { display: block; color: inherit; }
.card .cover { aspect-ratio: 2/3; background-size: cover; background-position: center; position: relative; transition: transform .4s var(--ease); }
.card:hover .cover { transform: scale(1.045); }
.card .cover .rating { position: absolute; bottom: 8px; left: 8px; background: rgba(74,53,64,0.75); color: var(--ivory); font-size: 0.78rem; padding: 3px 9px; border-radius: 999px; }
.card .info { padding: 14px 16px 16px; }
.card .info .cat { font-size: 0.72rem; color: var(--rose-deep); font-weight: 700; }
.card .info h3 { font-size: 1.02rem; margin: 4px 0 2px; line-height: 1.3; }
.card .info .meta { font-size: 0.82rem; color: var(--ink); }

.article-card { background: var(--paper); border-radius: var(--radius-m); overflow: hidden; display: grid; grid-template-rows: 170px auto; box-shadow: 0 10px 18px -14px rgba(74,53,64,0.32); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.article-card .cover { background-size: cover; background-position: center; }
.article-card .info { padding: 18px 20px 20px; }
.article-card .cat { font-size: 0.72rem; color: var(--sage); font-weight: 700; }
.article-card h3 { font-size: 1.12rem; margin: 6px 0 8px; }
.article-card p { font-size: 0.92rem; color: var(--ink); margin-bottom: 10px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tag, .tags a { font-size: 0.74rem; padding: 4px 11px; border-radius: 999px; background: var(--sage-pale); color: #47553a; }

.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.tab { padding: 8px 18px; border-radius: 999px; background: var(--paper); font-size: 0.86rem; cursor: pointer; border: 1px solid transparent; transition: background .2s var(--ease), color .2s var(--ease); }
.tab.active, .tab:hover { background: var(--plum); color: var(--ivory); }

/* =========================================================
   Detay sayfası (tekil film / dizi / kitap)
   ========================================================= */
.detail { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 20px 0 70px; }
.detail .cover { border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-lift); }
.detail .cover img { width: 100%; }
.detail-body .cat { color: var(--rose-deep); font-weight: 700; font-size: 0.85rem; }
.detail-body h1 { font-style: italic; font-size: 2rem; margin: 6px 0 12px; }
.detail-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.92rem; color: var(--ink); margin-bottom: 16px; }
.detail-meta b { color: var(--plum); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; }
.detail-body .review { margin-top: 16px; font-size: 1.02rem; }
@media (max-width: 700px) { .detail { grid-template-columns: 1fr; } }

/* =========================================================
   Hakkımda — görsel referanstaki düzen
   ========================================================= */
:root {
  --about-bg: #F2EEE2;
  --about-card: #FBF9F2;
  --about-ink: #2E2C27;
  --about-ink-soft: #6B6355;
  --about-sage: #A7AE8E;
  --about-sage-deep: #838C68;
  --about-sage-pale: #E4E6D6;
  --about-line: rgba(46,44,39,0.28);
}

body.page-template-page-hakkimda {
  background: var(--about-bg);
  color: var(--about-ink);
}
body.page-template-page-hakkimda .site-footer { margin-top: 0; }

.about-page-main {
  min-height: calc(100vh - 78px);
  background: var(--about-bg);
}
.about-page-main .about-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 40px 70px;
}
.about-topbar {
  border: 1.5px solid var(--about-ink);
  border-radius: 999px;
  height: 39px;
  padding: 8px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--about-ink);
  margin-bottom: 39px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
  align-items: start;
  position: relative;
}
.about-left { position: relative; min-width: 0; }
.about-hi {
  font-style: italic;
  font-size: 1.18rem;
  color: var(--about-ink);
  margin-bottom: 5px;
}
.about-title {
  font-size: clamp(2.6rem, 6.2vw, 3.55rem);
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--about-ink);
  line-height: .98;
  margin: 0 0 5px;
  text-transform: uppercase;
}
.about-title-underline {
  display: block;
  width: 88%;
  height: 12px;
  margin-bottom: 28px;
}
.about-label {
  display: inline-block;
  background: var(--about-sage);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: .3px;
  padding: 3px 13px 4px;
  border-radius: 3px;
  margin-bottom: 9px;
}
.about-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.about-list li {
  padding: 4px 0 5px;
  color: var(--about-ink);
  font-size: .96rem;
  line-height: 1.2;
  border-bottom: 1px solid var(--about-line);
  display: flex;
  gap: 8px;
}
.about-list li::before {
  content: "♡";
  color: var(--about-ink-soft);
  flex-shrink: 0;
}
.about-interests-label {
  display: inline-block;
  font-weight: 700;
  color: var(--about-ink);
  font-size: 1rem;
  border-bottom: 2px solid var(--about-ink);
  padding-bottom: 1px;
  margin-bottom: 20px;
}
.about-icons {
  display: flex;
  gap: 25px;
  flex-wrap: nowrap;
}
.about-icons > div {
  text-align: center;
  font-size: .72rem;
  line-height: 1.25;
  color: var(--about-ink-soft);
  width: 64px;
}
.about-icons .circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--about-ink);
  display: grid;
  place-items: center;
  margin: 0 auto 6px;
  color: transparent;
}

.about-right { position: relative; min-width: 0; }
.about-tape-note {
  position: absolute;
  top: -20px;
  right: 0;
  background: #fff;
  border: 1px solid var(--about-ink);
  padding: 15px 10px 10px;
  font-size: .73rem;
  line-height: 1.2;
  text-align: center;
  color: var(--about-ink);
  transform: rotate(0deg);
  width: 111px;
  height: 61px;
  z-index: 4;
}
.about-tape-note .about-tape-strip {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 51px;
  height: 21px;
  background: rgba(167,174,142,.78);
}
.about-photo-main {
  position: relative;
  background: #fff;
  padding: 13px 13px 40px;
  box-shadow: none;
  width: 84%;
  margin: 20px 0 0 auto;
  transform: none;
  z-index: 2;
}
.about-photo-main .about-tape-strip {
  position: absolute;
  top: -16px;
  left: 40px;
  width: 61px;
  height: 19px;
  background: rgba(167,174,142,.82);
  transform: none;
}
.about-photo-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.about-photo-main figcaption {
  font-style: italic;
  font-size: .94rem;
  text-align: center;
  margin-top: 10px;
  color: var(--about-ink-soft);
}
.about-obsessions {
  background: rgba(251,249,242,.55);
  border: 1px solid var(--about-ink);
  border-radius: 0;
  padding: 11px 13px;
  margin: 59px 0 0;
  width: 84%;
}
.about-obsessions-label {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--about-ink);
  margin-bottom: 1px;
  display: block;
}
.about-obsessions ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-obsessions li {
  font-size: .82rem;
  line-height: 1.45;
  color: var(--about-ink-soft);
  padding: 0;
}
.about-obsessions li::before {
  content: "✦ ";
  color: var(--about-ink-soft);
}
.about-badge {
  position: absolute;
  right: -6px;
  top: 360px;
  width: 81px;
  height: 81px;
  border-radius: 50%;
  background: var(--about-sage-pale);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: .72rem;
  color: var(--about-ink);
  line-height: 1.15;
  box-shadow: none;
  z-index: 5;
}
.about-photo-second {
  position: relative;
  background: #fff;
  padding: 8px;
  box-shadow: none;
  width: 46%;
  margin-left: auto;
  margin-top: 20px;
  transform: none;
}
.about-photo-second .about-tape-strip {
  position: absolute;
  top: -12px;
  right: 0;
  width: 51px;
  height: 18px;
  background: rgba(167,174,142,.78);
}
.about-photo-second img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

@media (max-width: 800px) {
  .about-page-main .about-wrap { padding: 24px 20px 50px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-tape-note {
    position: absolute;
    top: -18px;
    right: 0;
  }
  .about-photo-main { width: 86%; margin-left: auto; }
  .about-obsessions { width: 86%; margin-left: auto; margin-top: 45px; }
  .about-badge { top: 350px; right: -2px; }
  .about-photo-second { width: 48%; }
  .about-icons { gap: 16px; flex-wrap: wrap; }
}

/* =========================================================
   Üye ol / giriş
   ========================================================= */
.auth-wrap { min-height: calc(100vh - 78px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual { position: relative; background: var(--paper-deep); overflow: hidden; display: flex; align-items: flex-end; }
.auth-visual svg { width: 100%; height: auto; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 60px; }
.auth-box { max-width: 380px; width: 100%; }
.auth-box .hand { font-size: 1.3rem; display: block; margin-bottom: 4px; }
.auth-box h1 { font-size: 2rem; font-style: italic; margin-bottom: 8px; }
.auth-box p.lead { color: var(--ink); margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border-radius: var(--radius-s); border: 1px solid rgba(74,53,64,0.2); background: var(--paper); font-family: var(--font-body); font-size: 0.96rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rose-deep); background: #fff; }
.auth-box .btn { width: 100%; justify-content: center; padding: 13px; margin-top: 6px; border:none; }
.auth-switch { margin-top: 18px; font-size: 0.88rem; color: var(--ink); text-align: center; }
.auth-switch a { color: var(--rose-deep); font-weight: 700; }
.form-notice { padding: 12px 16px; border-radius: var(--radius-s); margin-bottom: 18px; font-size: .9rem; }
.form-notice.error { background: #F6DEDD; color: #8A3A3A; }
.form-notice.success { background: var(--sage-pale); color: #3d4d31; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-visual { display: none; } }

/* =========================================================
   Yorumlar
   ========================================================= */
.comments-area { margin-top: 60px; border-top: 1px solid rgba(74,53,64,.12); padding-top: 30px; }
.comments-area h3 { font-style: italic; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list li { background: var(--paper); border-radius: var(--radius-m); padding: 16px 18px; margin-bottom: 14px; }
.comment-login-note { background: var(--rose-pale); border-radius: var(--radius-m); padding: 16px 18px; font-size: .92rem; }
.comment-login-note a { color: var(--rose-deep); font-weight: 700; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--plum); color: var(--ivory); margin-top: 90px; padding: 56px 0 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 34px; border-bottom: 1px solid rgba(252,247,241,0.15); }
.footer-top .hand { font-size: 1.2rem; color: var(--rose-pale); }
.newsletter { display: flex; gap: 10px; }
.newsletter input { padding: 12px 16px; border-radius: 999px; border: none; width: 230px; font-family: var(--font-body); }
.newsletter button { padding: 12px 22px; border-radius: 999px; border: none; background: var(--rose-deep); color: var(--ivory); font-weight: 700; cursor: pointer; transition: background .2s var(--ease); }
.newsletter button:hover { background: var(--rose); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 0.82rem; color: rgba(252,247,241,0.6); flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 340px; margin: 0 auto; }
  .nav-links { display: none; }
  .moodboard { grid-template-columns: 1fr; }
  .mood-photos { min-height: 320px; }
}
