/* ============================================================
   ZARİF YAŞAM — Dijital Dergi Tasarım Sistemi
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root{
  --navy: #101f3d;
  --navy-deep: #0a1628;
  --gold: #9c7a3c;
  --gold-light: #c7a463;
  --cream: #f7f2e7;
  --paper: #fffdf8;
  --ink: #2a2a28;
  --ink-soft: #5c584f;
  --line: #ddd0ab;
  --max: 700px;
  --max-wide: 1040px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display{
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .4em;
}

a{ color: var(--gold); text-decoration: none; }
a:hover{ color: var(--navy); }

img{ max-width: 100%; height: auto; display: block; }

.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-wide{ max-width: var(--max-wide); margin: 0 auto; padding: 0 24px; }

/* ---------- Top navigation ---------- */
.topnav{
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,31,61,0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(199,164,99,0.25);
}
.topnav-inner{
  max-width: var(--max-wide); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.topnav .brand{
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--cream); letter-spacing: .02em;
  white-space: nowrap;
}
.topnav .brand span{ color: var(--gold-light); }
.topnav-links{ display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topnav-links > a{ margin-right: 18px; }
.topnav-links > a:last-of-type{ margin-right: 0; }
.topnav-links a{
  font-family: 'EB Garamond', serif;
  font-size: 15px; color: #e7ddc4; letter-spacing: .02em;
}
.topnav-links a:hover{ color: var(--gold-light); }
.lang-pick{ display:flex; gap:6px; }
.lang-pick span, .lang-pick a{
  font-family: 'EB Garamond', serif; font-size: 13px;
  padding: 2px 7px; border: 1px solid rgba(199,164,99,0.4); border-radius: 3px;
  color: #cfc4a5;
}
.lang-pick .active{ background: var(--gold); color: var(--navy-deep); border-color: var(--gold); font-weight: 600; }

/* ---------- Article header / hero ---------- */
.article-kicker{
  text-align: center; padding: 46px 24px 10px;
}
.article-kicker .section-name{
  font-family: 'EB Garamond', serif; font-style: italic;
  color: var(--gold); font-size: 16px; margin-bottom: 10px;
}
.article-kicker h1{ font-size: 38px; max-width: 780px; margin: 0 auto .3em; }
.article-kicker .tagline{
  font-family: 'EB Garamond', serif; font-style: italic;
  color: var(--ink-soft); font-size: 18px; max-width: 620px; margin: 0 auto;
}
.hero-img{
  max-width: var(--max-wide); margin: 30px auto 0; padding: 0 24px;
}
.hero-img img{ border-radius: 2px; }

/* ---------- Article body ---------- */
.article-body{ padding: 40px 0 20px; }
.article-body h3{ font-size: 27px; margin-top: 2.2em; }
.article-body h4{ font-size: 21px; margin-top: 1.8em; color: var(--gold); font-style: italic; font-family: 'EB Garamond', serif; font-weight: 600;}
.article-body h5{ font-size: 18px; margin-top: 1.4em; color: var(--ink); }
.article-body p{ margin: 0 0 1.15em; }
.article-body em{ color: var(--ink-soft); }
.article-body .cap{
  font-family: 'EB Garamond', serif; font-style: italic; color: var(--ink-soft);
  font-size: 16px; text-align: center; margin: 10px 0 28px;
}
.article-body figure{ margin: 34px 0; }
.article-body figure img{ border-radius: 2px; }
.article-body blockquote{
  margin: 2em 0; padding: 0 0 0 22px; border-left: 3px solid var(--gold);
  font-style: italic; color: var(--navy); font-size: 21px; font-family: 'Playfair Display', serif; font-weight: 500;
}
.article-body ol, .article-body ul{ padding-left: 1.4em; margin: 0 0 1.15em; }
.article-body li{ margin-bottom: .5em; }

.pull{
  font-family: 'Playfair Display', serif; font-weight: 500; font-style: italic;
  color: var(--navy); font-size: 26px; line-height: 1.35;
  text-align: center; margin: 2.4em auto; max-width: 560px;
  padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* image gallery grid used for reference/collage sections */
.imggrid{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.6em 0; }
.imggrid img{ border-radius: 2px; }
@media (max-width: 560px){ .imggrid{ grid-template-columns: 1fr; } }

/* ---------- Section transition footer nav ---------- */
.article-nav{
  max-width: var(--max); margin: 50px auto 10px; padding: 26px 24px 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.article-nav a{
  font-family: 'EB Garamond', serif; font-size: 15px;
  display: flex; flex-direction: column;
}
.article-nav .lbl{ font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; }
.article-nav .prev{ text-align: left; }
.article-nav .next{ text-align: right; margin-left: auto; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-deep); color: #cfc4a5; padding: 40px 24px 30px;
  text-align: center; margin-top: 60px;
}
.site-footer .brand{ font-family: 'Playfair Display', serif; color: var(--cream); font-size: 18px; margin-bottom: 6px;}
.site-footer .tag{ font-family: 'EB Garamond', serif; font-style: italic; font-size: 14px; opacity: .8; }
.site-footer .links{ margin-top: 14px; font-size: 14px; }
.site-footer .links a{ color: #cfc4a5; margin: 0 8px; }

/* ---------- İçindekiler ---------- */
.toc-hero{ text-align: center; padding: 56px 24px 30px; }
.toc-hero h1{ font-size: 42px; }
.toc-hero p{ font-style: italic; color: var(--ink-soft); }
.toc-grid{
  max-width: var(--max-wide); margin: 0 auto 60px; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 900px){ .toc-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .toc-grid{ grid-template-columns: 1fr; } }
.toc-card{
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  overflow: hidden; display: flex; flex-direction: column;
}
.toc-card .thumb{ aspect-ratio: 4/3; overflow: hidden; background: var(--line); }
.toc-card .thumb img{ width: 100%; height: 100%; object-fit: cover; }
.toc-card .body{ padding: 16px 18px 20px; flex: 1; display:flex; flex-direction:column; }
.toc-card .num{ font-family: 'EB Garamond', serif; font-size: 13px; color: var(--gold); margin-bottom: 4px; }
.toc-card h3{ font-size: 20px; margin-bottom: 6px; }
.toc-card .article-title{ font-style: italic; color: var(--ink-soft); font-size: 15px; flex: 1; }

/* ---------- Homepage ---------- */
.home-cover{ max-width: 720px; margin: 0 auto; position: relative; }
.home-cover img{ width: 100%; display: block; }
.home-hot{ position: absolute; cursor: pointer; }
.home-prev{
  position: absolute; top: 8.7%; right: 3.2%;
  font-family: 'Playfair Display', serif; font-weight: 600; font-size: 12px;
  letter-spacing: .08em; color: #d9b978; text-shadow: 0 1px 3px rgba(0,0,0,.4);
  z-index: 3;
}
.home-below{ max-width: var(--max); margin: 40px auto 10px; padding: 0 24px 40px; text-align: center; }
.home-below a.btn{
  display: inline-block; margin-top: 10px; padding: 12px 26px;
  border: 1px solid var(--gold); border-radius: 2px; color: var(--navy);
  font-family: 'EB Garamond', serif; letter-spacing: .03em;
}
.home-below a.btn:hover{ background: var(--navy); color: var(--cream); border-color: var(--navy); }

@media (max-width: 640px){
  body{ font-size: 17px; }
  .article-kicker h1{ font-size: 29px; }
  .pull{ font-size: 22px; }
}
