/* ═══════════════════════════════════════════════════════════
   site.css'e EKLEMELER — mevcut temayı değiştirmez.
   (menüye Blog, iletişim takvimi, blog sayfaları)
   ═══════════════════════════════════════════════════════════ */

/* ─── Menü: 6. öğe için gecikme + dar masaüstü ince ayarı ─── */
@media (max-width: 900px) {
  .nav-links.open li:nth-child(6) { transition-delay: .5s; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { letter-spacing: .06em; font-size: .74rem; }
  .nav-cta { padding: 10px 16px; letter-spacing: .08em; }
}

/* ─── Form: bot tuzağı + hata kutusu ─── */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-group label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(255, 255, 255, .45); }
.form-error {
  margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; font-size: .88rem; line-height: 1.6;
  background: rgba(214, 104, 84, .14); border: 1px solid rgba(240, 150, 130, .45); color: #ffd9d0;
}
.form-error[hidden], .form-group[hidden] { display: none; }

/* ─── Randevu takvimi (iletişim formu içinde) ─── */
.cal {
  border-radius: 18px; padding: 16px 14px 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cal-title {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: #fff; text-transform: capitalize; letter-spacing: .01em;
}
.cal-nav {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: var(--gold-soft);
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.cal-nav:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--olive-950); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span {
  text-align: center; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(230, 214, 168, .65); font-weight: 600; padding: 4px 0 6px;
}
.cal-day {
  aspect-ratio: 1; min-height: 34px; border-radius: 50%; border: 1px solid transparent; position: relative;
  display: grid; place-items: center; font-family: var(--sans); font-size: .86rem; font-weight: 500; line-height: 1;
  background: transparent; color: rgba(255, 255, 255, .85);
  transition: background .3s var(--ease), color .3s, transform .3s var(--ease), border-color .3s;
}
.cal-day.bos { cursor: pointer; background: rgba(143, 157, 115, .22); border-color: rgba(205, 213, 184, .35); color: #fff; }
.cal-day.bos:hover { background: var(--olive-400); color: var(--olive-950); transform: scale(1.08); }
.cal-day.sel, .cal-day.sel:hover { background: var(--gold); border-color: var(--gold); color: var(--olive-950); font-weight: 600; transform: scale(1.06); }
.cal-day.dolu { color: rgba(255, 255, 255, .38); background: rgba(214, 104, 84, .12); text-decoration: line-through; text-decoration-color: rgba(240, 150, 130, .7); }
.cal-day.kapali, .cal-day.past { color: rgba(255, 255, 255, .24); cursor: default; }
.cal-day.today::after {
  content: ''; position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold-soft);
}
.cal-day:disabled { cursor: default; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: .72rem; color: rgba(255, 255, 255, .6); }
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-legend .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cal-legend .dot.bos { background: var(--olive-400); }
.cal-legend .dot.dolu { background: rgba(240, 150, 130, .8); }
.cal-legend .dot.kapali { background: rgba(255, 255, 255, .25); }
.cal-picked { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .14); font-size: .86rem; color: rgba(255, 255, 255, .55); }
.cal-picked.has { color: #fff; }
.cal-picked strong { color: var(--gold-soft); font-weight: 600; }
@media (max-width: 380px) {
  .cal { padding: 14px 10px 12px; }
  .cal-dow, .cal-grid { gap: 2px; }
  .cal-day { font-size: .8rem; min-height: 30px; }
}

/* ═══════════ BLOG ═══════════ */
.page-blog { position: relative; background: var(--paper); padding-top: clamp(130px, 14vw, 180px); min-height: 70vh; }
.page-blog::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 520px; pointer-events: none;
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(205, 213, 184, .45), transparent 62%),
    radial-gradient(700px 380px at 0% 20%, rgba(230, 214, 168, .32), transparent 62%);
}
.page-blog .container { position: relative; z-index: 1; }
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.post-card:hover { transform: translateY(-8px); border-color: rgba(184, 154, 84, .45); box-shadow: 0 30px 60px -34px rgba(31, 40, 27, .65); }
.post-cover {
  position: relative; aspect-ratio: 16/10; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(165deg, #6c7a52 0%, var(--olive-800) 70%, var(--olive-900) 100%);
}
.post-cover img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-cover img.cover { transform: scale(1.06); }
.post-cover .ph { width: 38%; opacity: .9; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); }
.post-cover::after {
  content: ''; position: absolute; inset: 10px; border-radius: 14px; border: 1px solid rgba(230, 214, 168, .3); pointer-events: none;
}
.post-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.post-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.28rem, 1.7vw, 1.5rem); line-height: 1.25; color: var(--ink); margin-bottom: 12px; }
.post-excerpt { font-size: .93rem; color: var(--muted); line-height: 1.75; margin-bottom: 22px; flex: 1; }
.post-more { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; color: var(--olive-700); }
.post-more .svc-arrow { width: 38px; height: 38px; }
.post-card:hover .post-more .svc-arrow { background: var(--gold); border-color: var(--gold); color: var(--olive-900); transform: rotate(-45deg); }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 44px; height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 100px; border: 1px solid var(--line); background: #fff; color: var(--olive-800);
  font-size: .86rem; font-weight: 600; text-decoration: none; transition: background .3s, color .3s, border-color .3s;
}
.pager a:hover { background: var(--olive-800); color: #fff; border-color: var(--olive-800); }
.pager .cur { background: var(--olive-800); color: #fff; border-color: var(--olive-800); }
.pager .off { opacity: .4; }

.blog-empty {
  text-align: center; padding: 70px 24px; border-radius: var(--radius); background: var(--parchment); border: 1px dashed var(--line);
}
.blog-empty h3 { font-family: var(--serif); font-weight: 300; font-size: 1.8rem; margin-bottom: 10px; }
.blog-empty p { color: var(--muted); }

/* ─── Yazı sayfası ─── */
.post-page .container { max-width: 820px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--olive-600); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--bronze); }
.post-h1 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 22px;
}
.post-lead { font-size: 1.14rem; line-height: 1.8; color: var(--muted); margin-bottom: 26px; }
.post-byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); margin-bottom: 38px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.post-byline img { width: 40px; height: 40px; }
.post-byline strong { color: var(--ink); font-weight: 600; display: block; line-height: 1.2; }
.post-byline .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.post-hero-img { margin: 0 0 44px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -46px rgba(31, 40, 27, .7); }
.post-hero-img img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }

.prose { font-size: 1.07rem; line-height: 1.95; color: var(--ink-soft); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.25em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; margin-top: 2em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); }
.prose h3 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); }
.prose h4 { font-size: 1.2rem; }
.prose a { color: var(--olive-600); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; transition: color .3s; }
.prose a:hover { color: var(--bronze); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.5em; display: grid; gap: .5em; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  position: relative; padding: 28px 30px; border-radius: var(--radius); border: 1px solid rgba(184, 154, 84, .35);
  background: linear-gradient(150deg, var(--parchment), #fff); font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 1.3rem; line-height: 1.55; color: var(--olive-800);
}
.prose blockquote::before { content: '“'; position: absolute; top: -18px; left: 22px; font-size: 4.4rem; line-height: 1; color: var(--gold); }
.prose img { border-radius: 18px; margin-inline: auto; height: auto; }
.prose figure figcaption { text-align: center; font-size: .84rem; color: var(--muted); margin-top: .6em; }
.prose hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 2.4em 0; }

.post-cta {
  margin-top: 64px; border-radius: 28px; padding: clamp(28px, 4vw, 46px); color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--olive-800), var(--olive-900)); box-shadow: 0 40px 80px -46px rgba(31, 40, 27, .8);
}
.post-cta::before {
  content: ''; position: absolute; width: 360px; aspect-ratio: 1; right: -130px; top: -130px; border-radius: 50%;
  background: url('../logo.webp') center/contain no-repeat; opacity: .07; animation: spin 80s linear infinite; pointer-events: none;
}
.post-cta > * { position: relative; }
.post-cta h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 10px; }
.post-cta p { color: rgba(255, 255, 255, .7); max-width: 520px; margin-bottom: 24px; line-height: 1.75; }
.post-cta .btn-submit { width: auto; display: inline-flex; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post-nav a {
  display: block; padding: 20px 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff; text-decoration: none;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.post-nav a:hover { transform: translateY(-3px); border-color: rgba(184, 154, 84, .5); box-shadow: 0 18px 34px -26px rgba(31, 40, 27, .5); }
.post-nav small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: 6px; }
.post-nav span { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); line-height: 1.3; }
.post-nav .next { text-align: right; grid-column: 2; }
.post-nav .prev { grid-column: 1; }

.more-posts { margin-top: 84px; }
.more-posts h2 { font-family: var(--serif); font-weight: 300; font-size: 2rem; margin-bottom: 26px; }
.page-blog.post-page .more-posts .post-grid { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1100px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .post-grid, .page-blog.post-page .more-posts .post-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next, .post-nav .prev { grid-column: auto; text-align: left; }
  .blog-head { margin-bottom: 40px; }
}
