/* ==========================================================
   Kişisel Web Sitesi - Genel Stil (Modern & Minimalist)
   ========================================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text-dark: #111827;
  --text-body: #4b5563;
  --text-muted: #9ca3af;
  --bg-white: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(17, 24, 39, 0.12);
  --shadow-sm: 0 2px 10px rgba(17, 24, 39, 0.06);
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 { color: var(--text-dark); margin: 0 0 16px; line-height: 1.25; font-weight: 700; }

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head p { color: var(--text-muted); font-size: 16px; margin: 0; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.navbar .logo { font-weight: 800; font-size: 19px; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.navbar .logo span { color: var(--primary); }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-body);
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.nav-cta {
  background: var(--primary); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-weight: 600; font-size: 14px; transition: background .2s;
}
.nav-links a.nav-cta:hover { background: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--text-dark); }

/* 1180px'in altında (çoğu tablet ve küçük laptop ekranı dahil) menü, arama kutusu
   ve dil/tema düğmeleriyle birlikte tek bir hamburger menüye toplanır — geniş
   ekranlarda bile kalabalık/taşan bir görünüm oluşmaması için. */
@media (max-width: 1180px) {
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    box-shadow: var(--shadow-sm);
  }
  .nav-links.open { max-height: 480px; overflow-y: auto; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links a { display: block; padding: 16px 24px; }
  .nav-cta { display: inline-block; margin: 16px 24px; }
  .nav-toggle { display: block; }
  .nav-search { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 90px 0 70px; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-greeting { color: var(--primary); font-weight: 600; font-size: 16px; margin-bottom: 10px; display: block; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 14px; }
.hero h1 .highlight { color: var(--primary); }
.hero-subtitle { font-size: 18px; color: var(--text-body); margin-bottom: 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px;
  border-radius: 999px; font-weight: 600; font-size: 15px; border: 2px solid transparent;
  cursor: pointer; transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--border); color: var(--text-dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.hero-photo-wrap { position: relative; display: flex; justify-content: center; }
.hero-photo {
  width: 340px; height: 340px; border-radius: 32px; object-fit: cover;
  box-shadow: var(--shadow); background: var(--bg-soft);
}
.hero-stats { display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 28px; color: var(--text-dark); }
.hero-stat span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-photo { width: 260px; height: 260px; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.about-photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 420px; object-fit: cover; background: var(--bg-soft); }
.about-text h2 { font-size: 32px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { height: 320px; } }

/* ---------- Skills ---------- */
.skills-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.skill-item .skill-top { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 600; color: var(--text-dark); }
.skill-bar { height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; }
.skill-bar-fill { height: 100%; border-radius: 999px; background: var(--primary); }
@media (max-width: 700px) { .skills-list { grid-template-columns: 1fr; } }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-thumb { width: 100%; height: 190px; object-fit: cover; background: var(--bg-soft); }
.project-body { padding: 22px; }
.project-body h3 { font-size: 19px; margin-bottom: 8px; }
.project-body p { font-size: 14px; margin: 0 0 16px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.project-tags span { background: var(--bg-soft); color: var(--text-body); font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.project-links { display: flex; gap: 16px; }
.project-links a { font-size: 14px; font-weight: 600; color: var(--primary); }
@media (max-width: 960px) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .project-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline (CV) ---------- */
.timeline-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.timeline-col h3 { font-size: 20px; margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
.timeline-col h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.timeline-item { position: relative; padding-left: 26px; border-left: 2px solid var(--border); padding-bottom: 30px; margin-left: 5px; }
.timeline-item:last-child { border-color: transparent; padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); }
.timeline-date { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.timeline-item h4 { font-size: 16px; margin: 6px 0 2px; }
.timeline-org { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; display: block; }
.timeline-item p { font-size: 14px; margin: 0; }
@media (max-width: 860px) { .timeline-columns { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.testimonial-stars { color: #f59e0b; font-size: 14px; margin-bottom: 12px; }
.testimonial-msg { font-size: 15px; font-style: italic; color: var(--text-body); margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); }
.testimonial-person strong { display: block; font-size: 14px; color: var(--text-dark); }
.testimonial-person span { font-size: 12px; color: var(--text-muted); }
@media (max-width: 960px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-thumb { width: 100%; height: 180px; object-fit: cover; background: var(--bg-soft); }
.blog-body { padding: 22px; }
.blog-date { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.blog-body h3 { font-size: 18px; margin: 10px 0; }
.blog-body p { font-size: 14px; margin: 0 0 14px; }
.blog-readmore { font-size: 14px; font-weight: 600; color: var(--primary); }
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-detail { max-width: 760px; margin: 0 auto; }
.blog-detail-cover { width: 100%; border-radius: var(--radius); margin-bottom: 32px; max-height: 420px; object-fit: cover; }
.blog-detail-meta { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.blog-detail h1 { font-size: 32px; }
.blog-content { font-size: 16px; color: var(--text-body); }
.blog-content p { margin-bottom: 18px; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--primary); font-weight: 600; font-size: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 12%, white);
  color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px;
}
.contact-info-item strong { display: block; color: var(--text-dark); margin-bottom: 2px; font-size: 15px; }
.contact-info-item span, .contact-info-item a { font-size: 14px; color: var(--text-muted); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 15px; transition: all .2s;
}
.social-row a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 14px; background: var(--bg-soft); transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 140px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

.alert { padding: 14px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Footer ---------- */
.site-footer { background: var(--text-dark); color: #d1d5db; padding: 56px 0 26px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 32px; }
.footer-logo { font-size: 20px; font-weight: 800; color: #fff; }
.footer-logo span { color: var(--primary); }
.footer-nav { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: #d1d5db; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; text-align: center; font-size: 13px; color: #9ca3af; }

.empty-note { text-align: center; color: var(--text-muted); font-size: 14px; padding: 20px 0; }

/* ========================================================
   Karanlık Mod
   ======================================================== */
:root[data-theme="dark"] {
  --text-dark: #f1f5f9;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --bg-white: #0f172a;
  --bg-soft: #1e293b;
  --border: #334155;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}
:root[data-theme="dark"] .navbar { background: rgba(15, 23, 42, 0.85); }
:root[data-theme="dark"] .nav-links { background: #0f172a; }
:root[data-theme="dark"] .contact-form input, :root[data-theme="dark"] .contact-form textarea,
:root[data-theme="dark"] .comment-form input, :root[data-theme="dark"] .comment-form textarea { color: #e2e8f0; }
:root[data-theme="dark"] .hero-photo, :root[data-theme="dark"] .about-photo,
:root[data-theme="dark"] .project-thumb, :root[data-theme="dark"] .blog-thumb,
:root[data-theme="dark"] .testimonial-avatar, :root[data-theme="dark"] .gallery-thumb img { background: #1e293b; }
:root[data-theme="dark"] .whatsapp-float svg { color: #fff; }

/* ---------- Nav tools (dil / tema / menü) ---------- */
.nav-tools { display: flex; align-items: center; gap: 14px; }
.nav-search { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.nav-search input { border: none; background: transparent; padding: 7px 4px 7px 14px; font-size: 13px; width: 130px; color: var(--text-dark); }
.nav-search input:focus { outline: none; }
.nav-search button { border: none; background: transparent; cursor: pointer; padding: 6px 12px; font-size: 13px; }
.nav-search input { width: 110px; }

/* ---------- Hizmetler / Fiyatlandırma ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.pricing-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 30px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--primary) 40%, transparent); }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.pricing-card h3 { font-size: 20px; margin-bottom: 10px; }
.pricing-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; min-height: 40px; }
.pricing-price { margin-bottom: 22px; }
.pricing-price .amount { font-size: 32px; font-weight: 800; color: var(--text-dark); }
.pricing-price .note { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.pricing-features li { font-size: 14px; color: var(--text-body); padding: 7px 0; border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ---------- SSS Akordeon ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-size: 15px; font-weight: 600;
  color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-icon { font-size: 20px; color: var(--primary); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 22px 18px; margin: 0; font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* ---------- Sertifikalar ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.cert-badge-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--bg-soft); flex-shrink: 0; }
.cert-card h4 { font-size: 15px; margin: 0 0 4px; }
.cert-card .cert-issuer { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.cert-card .cert-date { font-size: 12px; color: var(--text-muted); }
.cert-card a.cert-verify { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--primary); }
@media (max-width: 960px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cert-grid { grid-template-columns: 1fr; } }

/* ---------- GitHub katkı grafiği ---------- */
.github-chart-wrap { margin-top: 28px; text-align: center; }
.github-chart-wrap img { max-width: 100%; border-radius: 10px; border: 1px solid var(--border); background: #fff; padding: 6px; }

/* ---------- Blog beğeni ---------- */
.like-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: #fff;
  border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--text-dark); transition: all .2s;
}
.like-btn:hover { border-color: #ef4444; color: #ef4444; }
.like-btn.liked { background: #fef2f2; border-color: #ef4444; color: #ef4444; }
.like-btn .heart { font-size: 16px; }

/* ---------- Proje vaka analizi ---------- */
.case-study { margin-top: 40px; display: grid; gap: 20px; }
.case-study-item { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 28px; }
.case-study-item h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); margin: 0 0 10px; }
.case-study-item p { margin: 0; font-size: 15px; color: var(--text-body); line-height: 1.7; }

/* ---------- Randevu slotları ---------- */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 10px; }
.slot-btn { padding: 10px 6px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 13px; cursor: pointer; text-align: center; color: var(--text-dark); }
.slot-btn:hover { border-color: var(--primary); color: var(--primary); }
.slot-btn.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.slot-btn:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.slot-hint { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* ---------- Arama sonuçları ---------- */
.search-result-item { padding: 22px 0; border-bottom: 1px solid var(--border); }
.search-result-item .badge-inline { margin-bottom: 8px; display: inline-block; }
.search-result-item h3 { font-size: 18px; margin: 4px 0 8px; }
.search-result-item p { font-size: 14px; color: var(--text-body); margin: 0; }

/* ---------- Hero / Referans videosu ---------- */
.hero-photo-wrap { position: relative; display: inline-block; }
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px;
  border-radius: 50%; background: rgba(255,255,255,.92); color: var(--primary); border: none; font-size: 22px;
  cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s;
}
.video-play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-play-btn-inline {
  position: static; transform: none; width: auto; height: auto; border-radius: 999px; padding: 8px 18px;
  font-size: 13px; font-weight: 600; margin-top: 14px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft); box-shadow: none; border: 1px solid var(--border);
}
.video-play-btn-inline:hover { transform: none; border-color: var(--primary); }
.video-modal {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 300;
  align-items: center; justify-content: center; padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal-inner { width: 100%; max-width: 900px; position: relative; }
.video-modal-frame { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 10px; overflow: hidden; }
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-modal-close {
  position: absolute; top: -44px; right: 0; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer;
}

/* ---------- Müşteri takip portalı ---------- */
.track-status { display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 24px; }
.track-status.pending { background: #fef3c7; color: #92400e; }
.track-status.confirmed { background: #dcfce7; color: #166534; }
.track-status.cancelled { background: #fee2e2; color: #991b1b; }
.track-update-item { border-left: 2px solid var(--border); padding: 0 0 20px 20px; position: relative; margin-left: 4px; }
.track-update-item::before { content:''; position:absolute; left:-6px; top:4px; width:10px; height:10px; border-radius:50%; background: var(--primary); }
.track-update-date { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.lang-switch { display: flex; gap: 4px; font-size: 12px; font-weight: 700; }
.lang-switch a { padding: 5px 9px; border-radius: 6px; color: var(--text-muted); }
.lang-switch a.active { background: var(--primary); color: #fff; }
.theme-toggle {
  background: none; border: 1px solid var(--border); border-radius: 999px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 15px; color: var(--text-dark);
}
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: inline; }

/* ---------- Scroll Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ---------- Yukarı çık butonu ---------- */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; font-size: 20px; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transition: all .25s; z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); }

/* ---------- WhatsApp yüzen buton ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; left: 26px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 90;
}

/* ---------- Blog araç çubuğu (arama / kategori) ---------- */
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.blog-search { display: flex; gap: 8px; }
.blog-search input { padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; min-width: 220px; background: var(--bg-soft); color: var(--text-dark); }
.blog-search button { padding: 10px 18px; border-radius: 999px; border: none; background: var(--primary); color: #fff; font-weight: 600; cursor: pointer; }
.blog-categories { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-categories a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; color: var(--text-body); }
.blog-categories a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Paylaşım / etiket rozetleri ---------- */
.badge-inline { background: var(--bg-soft); padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.share-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 32px 0; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.share-row span { font-weight: 600; color: var(--text-dark); font-size: 14px; }
.share-row a, .share-row button {
  font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-soft);
  color: var(--text-body); cursor: pointer; font-family: inherit;
}
.share-row a:hover, .share-row button:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Yorumlar ---------- */
.comments-section { margin-top: 48px; }
.comment-item { display: flex; gap: 14px; margin-bottom: 24px; }
.comment-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.comment-date { font-size: 12px; color: var(--text-muted); margin-left: 8px; }
.comment-item p { margin: 4px 0 0; font-size: 14px; }
.comment-form { display: grid; gap: 14px; margin-top: 24px; }
.comment-form input, .comment-form textarea {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 14px; background: var(--bg-soft);
}
.comment-form textarea { min-height: 100px; resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.captcha-row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.captcha-row label { font-weight: 600; color: var(--text-dark); }
.captcha-row input { padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-soft); }

/* ---------- Bülten ---------- */
.newsletter-section { padding: 56px 0; }
.newsletter-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: var(--radius);
  padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.newsletter-box h3 { color: #fff; margin-bottom: 6px; }
.newsletter-box p { color: rgba(255,255,255,.85); margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input { padding: 12px 16px; border-radius: 999px; border: none; min-width: 240px; font-size: 14px; }
.newsletter-form button { border-radius: 999px; }
@media (max-width: 700px) { .newsletter-box { flex-direction: column; text-align: center; } .newsletter-form { justify-content: center; } }

/* ---------- Proje galerisi / lightbox ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.gallery-thumb img { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: opacity .2s; }
.gallery-thumb:hover img { opacity: .85; }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 20px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }

/* ---------- Çerez onay bandı ---------- */
.cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: #17181c; color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.25);
}
.cookie-consent-inner {
  max-width: 1100px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-consent-inner p { margin: 0; font-size: 14px; color: rgba(255,255,255,.85); flex: 1; min-width: 240px; }
.cookie-consent-inner p a { color: #fff; text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-consent .btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.cookie-consent .btn-outline:hover { background: rgba(255,255,255,.1); }
@media (max-width: 640px) { .cookie-consent-inner { flex-direction: column; align-items: flex-start; } .cookie-consent-actions { width: 100%; } .cookie-consent-actions .btn { flex: 1; } }

/* ---------- Referans gönderim kutusu ---------- */
.testimonial-submit-box { margin-top: 40px; text-align: center; }
.testimonial-submit-box #testimonialFormWrap { text-align: left; max-width: 560px; margin: 24px auto 0; }

/* ---------- Öne çıkan proje carousel ---------- */
.featured-carousel { position: relative; margin-bottom: 48px; }
.featured-carousel-viewport { overflow: hidden; border-radius: var(--radius); }
.featured-carousel-track { display: flex; transition: transform .5s ease; }
.featured-carousel-slide {
  flex: 0 0 100%; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
  background: var(--bg-soft); border-radius: var(--radius); overflow: hidden;
}
.featured-carousel-img img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; display: block; }
.featured-carousel-body { padding: 32px 36px 32px 0; }
.featured-carousel-body h3 { font-size: 26px; margin: 12px 0; }
.featured-carousel-body p { color: var(--text-body); margin-bottom: 18px; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--text-dark); z-index: 5;
}
.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.carousel-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; padding: 0; }
.carousel-dot.active { background: var(--primary); }
@media (max-width: 800px) {
  .featured-carousel-slide { grid-template-columns: 1fr; }
  .featured-carousel-body { padding: 24px; }
  .carousel-prev { left: 6px; }
  .carousel-next { right: 6px; }
}
:root[data-theme="dark"] .featured-carousel-slide { background: #1e293b; }
:root[data-theme="dark"] .carousel-btn { background: #1e293b; color: #e2e8f0; border-color: #334155; }

/* ---------- CV / Özgeçmiş sayfası (yazdırmaya hazır) ---------- */
.cv-toolbar { display: flex; gap: 12px; justify-content: flex-end; margin-bottom: 20px; }
.cv-sheet {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 44px; max-width: 860px; margin: 0 auto; box-shadow: var(--shadow-sm);
}
.cv-header { display: flex; align-items: center; gap: 24px; border-bottom: 2px solid var(--border); padding-bottom: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.cv-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cv-header-text { flex: 1; min-width: 200px; }
.cv-header-text h1 { margin: 0 0 4px; font-size: 26px; }
.cv-title { color: var(--primary); font-weight: 600; margin: 0 0 10px; }
.cv-contact-row { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--text-body); }
.cv-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); margin-left: auto; }
.cv-block { margin-bottom: 26px; }
.cv-block h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 16px; }
.cv-block p { color: var(--text-body); font-size: 14px; margin: 6px 0 0; }
.cv-item { margin-bottom: 16px; }
.cv-item-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.cv-item-head span { color: var(--text-muted); font-size: 13px; }
.cv-item-org { color: var(--text-body); font-size: 13px; margin-top: 2px; }
.cv-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-skill-pill { background: var(--bg-soft); border-radius: 999px; padding: 5px 14px; font-size: 12px; color: var(--text-dark); }

@media print {
  .navbar, .site-footer, .back-to-top, .whatsapp-float, .cookie-consent, .no-print { display: none !important; }
  body { background: #fff !important; }
  .cv-sheet { box-shadow: none; border: none; padding: 0; max-width: 100%; }
  .section { padding: 0 !important; }
  .cv-page .container { max-width: 100%; padding: 0; }
}
:root[data-theme="dark"] .cv-sheet { background: #1e293b; }
:root[data-theme="dark"] .cv-skill-pill { background: #0f172a; color: #e2e8f0; }
