/* ============ Dr. Murat Kemaloğlu — Site Teması ============ */
:root {
  --ink: #1d3540;
  --ink-soft: #33505c;
  --gold: #b8922e;
  --gold-soft: #d8b95c;
  --cream: #faf7f2;
  --white: #ffffff;
  --line: #e6ded1;
  --text: #2c3a41;
  --muted: #6b7a82;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 53, 64, .1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--cream); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 800px; }
.center-text { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.pt-1 { padding-top: 1rem !important; }

/* ---------- Butonlar ---------- */
.btn { display: inline-block; padding: 13px 28px; border-radius: 40px; font-weight: 600; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: all .25s; font-family: var(--sans); }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold-soft); }

/* ---------- Üst iletişim çubuğu ---------- */
.topbar-strip { background: var(--ink); color: #c8d4da; font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-strip a { color: #c8d4da; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar-strip a:hover { color: var(--gold-soft); }
.topbar-wa { background: #25d366; color: #fff !important; padding: 5px 14px; border-radius: 30px; font-weight: 600; white-space: nowrap; transition: filter .2s; }
.topbar-wa:hover { filter: brightness(1.08); color: #fff !important; }

/* ---------- Header ---------- */
.site-header { background: rgba(250, 247, 242, .95); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { max-height: 54px; width: auto; }
.brand-text { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 26px; list-style: none; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.main-nav a:hover { color: var(--gold); }
.header-cta { padding: 10px 22px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 60px; background: linear-gradient(160deg, var(--cream) 55%, #f0e9dc 100%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.hero-kicker { text-transform: uppercase; letter-spacing: 3px; font-size: 13px; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.hero-title { font-family: var(--serif); font-size: clamp(34px, 5vw, 54px); line-height: 1.15; color: var(--ink); margin-bottom: 18px; }
.hero-text { font-size: 17px; color: var(--muted); max-width: 560px; }
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; width: 100%; }

/* ---------- Bölümler ---------- */
.section { padding: 70px 0; }
.section-alt { background: #f3eee4; }
.section-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 38px); color: var(--ink); margin-bottom: 14px; }
.section-sub { color: var(--muted); margin-bottom: 34px; max-width: 640px; }
.center-text.section-sub { margin-left: auto; margin-right: auto; }

/* ---------- CTA bandı ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(26px, 3.5vw, 34px); margin-bottom: 8px; }
.cta-text { color: #c8d4da; max-width: 620px; }

/* ---------- İçerik tipografisi ---------- */
.prose { font-size: 17px; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--serif); color: var(--ink); margin: 1.6em 0 .6em; line-height: 1.25; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 24px; }
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.4em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.4em auto; }
.prose blockquote { border-left: 4px solid var(--gold); padding: .6em 1.2em; margin: 1.4em 0; background: #fff; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--ink-soft); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; background: #fff; border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--ink); color: #fff; font-family: var(--sans); }
.prose a { color: var(--gold); }

/* ---------- Sayfa hero ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 60px 0 50px; text-align: center; }
.page-title { font-family: var(--serif); font-size: clamp(30px, 5vw, 46px); line-height: 1.2; }
.page-hero .lead { color: #b9c8cf; max-width: 640px; margin: 12px auto 0; }
.post-hero .post-meta { color: #b9c8cf; margin-top: 12px; font-size: 15px; }
.post-featured { border-radius: var(--radius); box-shadow: var(--shadow); margin: -36px auto 30px; position: relative; width: 100%; object-fit: cover; max-height: 480px; }

/* ---------- Blog kartları ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-grid { grid-template-columns: repeat(2, 1fr); }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(29,53,64,.07); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #e8e0d2; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%); }
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.post-card-cats a { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); text-decoration: none; }
.post-card h3 { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.post-card-meta { display: flex; gap: 8px; font-size: 13px; color: var(--muted); }

/* ---------- Blog düzeni ---------- */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.blog-sidebar .widget { background: #fff; border-radius: var(--radius); padding: 24px; margin-bottom: 24px; box-shadow: 0 4px 16px rgba(29,53,64,.06); }
.widget h3 { font-family: var(--serif); font-size: 21px; color: var(--ink); margin-bottom: 14px; }
.widget ul { list-style: none; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; color: var(--ink-soft); font-size: 15px; }
.widget a:hover { color: var(--gold); }
.widget li span { color: var(--muted); font-size: 13px; }
.widget-posts small { display: block; color: var(--muted); font-size: 12.5px; }

.pagination { display: flex; gap: 8px; margin-top: 36px; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px rgba(29,53,64,.08); }
.pagination a.active, .pagination a:hover { background: var(--gold); color: #fff; }

/* ---------- İletişim ---------- */
.contact-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 40px; margin-top: 30px; }
.contact-info p { margin-bottom: 18px; }
.contact-info strong { color: var(--ink); }
.contact-form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: 0 4px 16px rgba(29,53,64,.07); }
.contact-form h2 { font-family: var(--serif); color: var(--ink); margin-bottom: 18px; }
.contact-form label { display: block; margin-bottom: 16px; font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--sans); font-size: 15px; background: var(--cream); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
.hp { position: absolute !important; left: -9999px !important; }
.alert { padding: 13px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14.5px; }
.alert-success { background: #e5f3e5; color: #22622a; }
.alert-error { background: #fbe6e6; color: #8f2222; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c8cf; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding: 56px 22px 40px; }
.footer-title { font-family: var(--serif); color: #fff; font-size: 21px; margin-bottom: 14px; }
.footer-menu, .footer-contact { list-style: none; }
.footer-menu li, .footer-contact li { margin-bottom: 8px; }
.site-footer a { color: #b9c8cf; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.social-links { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.social-links a { font-weight: 600; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 14px; }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; min-height: 56px; padding: 0 22px 0 16px; border-radius: 40px; background: #25d366; color: #fff; display: flex; align-items: center; gap: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.3); z-index: 60; transition: transform .2s; text-decoration: none; font-weight: 700; font-size: 15.5px; animation: wa-pulse 2.4s infinite; }
.wa-float:hover { transform: scale(1.05); }
@keyframes wa-pulse {
  0% { box-shadow: 0 6px 20px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 6px 20px rgba(0,0,0,.3), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- İletişim kartları ---------- */
.contact-card { background: #fff; border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(29,53,64,.07); }
.contact-card strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.contact-card p { color: var(--muted); margin-bottom: 12px; font-size: 14.5px; }
.contact-card-wa { border: 2px solid #25d366; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb85a; }
.btn-sm2 { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 380px; margin: 0 auto; order: -1; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav { position: fixed; inset: 0; top: 70px; background: var(--cream); transform: translateX(100%); transition: transform .3s; margin-left: 0; z-index: 40; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; padding: 30px 26px; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 15px 0; font-size: 18px; }
  .header-cta { display: none; }
  .post-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 48px 0; }
  .hero { padding: 44px 0; }
  .cta-inner { flex-direction: column; text-align: center; }
  .topbar-mail { display: none; }
  .topbar-inner { justify-content: center; }
  .wa-float { right: 14px; bottom: 14px; }
}
