/* =========================================================================
   Zümrüt Yılmaz Akademi — Sade & Kurumsal tasarım sistemi
   Lacivert + altın, beyaz/gri zemin, sans-serif, ince çerçeve kartlar.
   ========================================================================= */

:root {
  --navy:      #212438;
  --navy-2:    #2c3050;
  --gold:      #dfb951;
  --gold-dark: #c39e3c;
  --ink:       #1d2030;
  --body:      #4c5163;
  --muted:     #888ea0;
  --bg:        #ffffff;
  --bg-soft:   #f6f7f9;
  --bg-soft-2: #eef0f4;
  --line:      #e6e8ef;
  --line-2:    #d6d9e4;

  --radius:    10px;
  --radius-sm: 7px;
  --container: 1200px;
  --shadow:    0 1px 2px rgba(20,24,40,.04);
  --shadow-md: 0 12px 32px -12px rgba(20,24,40,.18);
  --ease:      .25s cubic-bezier(.4,0,.2,1);

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #c8ccdd; }
.section--tight { padding: 56px 0; }

/* ---------- Section heading ---------- */
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.sec-head.center .kicker::before { display: none; }
.sec-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--ink); }
.sec-desc { margin-top: 16px; color: var(--body); font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; transition: all var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }

/* =========================================================================
   Top bar
   ========================================================================= */
.topbar {
  background: var(--navy); color: #aeb3c7;
  font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.topbar a { color: #c2c6d8; transition: color var(--ease); }
.topbar a:hover { color: var(--gold); }
.topbar-info { display: flex; gap: 24px; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info svg { width: 15px; height: 15px; color: var(--gold); }
.topbar-social { display: flex; gap: 14px; align-items: center; }
.topbar-social a { display: inline-flex; }
.topbar-social svg { width: 16px; height: 16px; }

/* =========================================================================
   Header / nav
   ========================================================================= */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 24px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: 12px 16px; border-radius: 6px; transition: color var(--ease);
}
.nav > li > a:hover, .nav > li.active > a { color: var(--gold-dark); }
.nav .caret { width: 14px; height: 14px; transition: transform var(--ease); }
.nav > li:hover .caret { transform: rotate(180deg); }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 248px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--ease); z-index: 110;
  border-top: 3px solid var(--gold);
}
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 10px 14px; border-radius: 6px; font-size: .92rem;
  color: var(--body); font-weight: 500; transition: all var(--ease);
}
.dropdown li a:hover { background: var(--bg-soft); color: var(--navy); padding-left: 18px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 7px; padding: 9px 11px; }
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); display: block; }

/* =========================================================================
   Hero slider
   ========================================================================= */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-slide {
  position: relative; min-height: 580px; display: none;
  background-size: cover; background-position: center;
}
.hero-slide.is-active { display: block; animation: fade .8s var(--ease); }
@keyframes fade { from { opacity: .4; } to { opacity: 1; } }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(25,28,46,.72);   /* tek renk örtü — gradient yok */
}
.hero-inner { position: relative; z-index: 2; min-height: 580px; display: flex; align-items: center; }
.hero-content { max-width: 700px; padding: 60px 0; }
.hero-content .kicker { color: var(--gold); }
.hero-content .kicker::before { background: var(--gold); }
.hero-title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; }
.hero-text { color: #d4d8e6; font-size: 1.12rem; margin-top: 22px; max-width: 620px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-nav { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 3; }
.hero-nav .container { display: flex; gap: 10px; }
.hero-dot {
  width: 40px; height: 4px; border-radius: 2px; border: none;
  background: rgba(255,255,255,.3); transition: background var(--ease);
}
.hero-dot.is-active { background: var(--gold); }

/* =========================================================================
   About (anasayfa)
   ========================================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-media .badge {
  position: absolute; bottom: -22px; right: -22px; background: var(--navy); color: #fff;
  padding: 22px 26px; border-radius: var(--radius); border-bottom: 4px solid var(--gold);
  max-width: 230px; box-shadow: var(--shadow-md);
}
.about-media .badge strong { font-family: var(--font-head); font-size: 1.05rem; display: block; }
.about-media .badge span { color: #aeb3c7; font-size: .85rem; }
.about-body p { margin-bottom: 16px; color: var(--body); }
.about-body .btn { margin-top: 14px; }

/* =========================================================================
   Cards grid (services, blog)
   ========================================================================= */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all var(--ease); display: flex; flex-direction: column;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.22rem; color: var(--ink); margin-bottom: 10px; }
.card-title a:hover { color: var(--gold-dark); }
.card-text { color: var(--body); font-size: .95rem; flex: 1; }
.card-link {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy);
  transition: gap var(--ease);
}
.card-link svg { width: 16px; height: 16px; color: var(--gold-dark); }
.card-link:hover { gap: 12px; color: var(--gold-dark); }

/* service card — placeholder ikon (görsel yoksa) */
.card-media--icon { display: flex; align-items: center; justify-content: center; background: var(--navy); aspect-ratio: 16/10; }
.card-media--icon svg { width: 56px; height: 56px; color: var(--gold); }

/* blog meta */
.card-meta { display: flex; gap: 16px; font-size: .82rem; color: var(--muted); margin-bottom: 12px; font-family: var(--font-head); }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta svg { width: 14px; height: 14px; color: var(--gold-dark); }

/* =========================================================================
   Testimonials
   ========================================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 30px; position: relative;
}
.testi-quote { color: var(--gold); font-size: 2.6rem; line-height: 1; font-family: Georgia, serif; opacity: .55; }
.testi-text { color: #d6dae8; font-size: .98rem; margin: 6px 0 22px; }
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head);
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.testi-author strong { color: #fff; font-family: var(--font-head); font-size: .98rem; display: block; }
.testi-author span { color: var(--gold); font-size: .85rem; }

/* =========================================================================
   CTA strip
   ========================================================================= */
.cta {
  background: var(--gold); border-radius: var(--radius); padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta h3 { color: var(--navy); font-size: 1.7rem; }
.cta p { color: #6a5a24; margin-top: 6px; }

/* =========================================================================
   Page header / breadcrumb
   ========================================================================= */
.page-head { background: var(--navy); color: #fff; padding: 56px 0; position: relative; }
.page-head h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: #9aa0b6; margin-top: 12px; font-family: var(--font-head); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold); }

/* =========================================================================
   Detail (page content) + sidebar
   ========================================================================= */
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.prose { color: var(--body); font-size: 1.03rem; }
.prose img { border-radius: var(--radius); margin: 22px 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 28px 0 14px; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.3rem; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gold-dark); text-decoration: underline; }
.prose strong { color: var(--ink); }
.prose blockquote {
  border-left: 3px solid var(--gold); background: var(--bg-soft);
  padding: 16px 22px; margin: 20px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink);
}
.detail-hero { width: 100%; border-radius: var(--radius); margin-bottom: 30px; aspect-ratio: 16/8; object-fit: cover; }

.sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 26px; }
.widget { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.widget-title { font-size: 1.05rem; color: var(--ink); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.widget-list li { border-bottom: 1px solid var(--line); }
.widget-list li:last-child { border-bottom: none; }
.widget-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 0; color: var(--body); font-weight: 500; font-size: .94rem; transition: all var(--ease);
}
.widget-list a svg { width: 15px; height: 15px; color: var(--line-2); transition: color var(--ease); }
.widget-list a:hover, .widget-list a.active { color: var(--navy); }
.widget-list a:hover svg, .widget-list a.active svg { color: var(--gold-dark); }
.widget-list a.active { color: var(--gold-dark); font-weight: 600; }
.widget-cta { background: var(--navy); border: none; color: #fff; text-align: center; }
.widget-cta h4 { color: #fff; margin-bottom: 8px; }
.widget-cta p { color: #aeb3c7; font-size: .9rem; margin-bottom: 18px; }

/* =========================================================================
   FAQ accordion
   ========================================================================= */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color var(--ease); }
.faq-item.open { border-color: var(--gold); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--gold-dark); transition: transform var(--ease); }
.faq-icon::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq-icon::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--body); }

/* =========================================================================
   Contact
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin: 24px 0 30px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .ic {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--line);
}
.contact-info-item .ic svg { width: 20px; height: 20px; color: var(--gold-dark); }
.contact-info-item strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .98rem; }
.contact-info-item a, .contact-info-item span { color: var(--body); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .96rem; color: var(--ink); background: #fff; transition: border-color var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; border: 0; display: block; }

/* Honeypot — ekran dışı, erişilebilirlik dostu */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .94rem; }
.alert-success { background: #e9f7ef; color: #1c7a47; border: 1px solid #b8e6cb; }
.alert-error { background: #fdecec; color: #b3261e; border: 1px solid #f5c2c0; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--navy); color: #9aa0b6; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { height: 64px; margin-bottom: 18px; }
.footer-brand p { font-size: .94rem; color: #9aa0b6; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { color: #9aa0b6; font-size: .94rem; transition: all var(--ease); }
.footer-col ul a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .94rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; transition: all var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .86rem; color: #777d92;
}
.footer-bottom a:hover { color: var(--gold); }

/* =========================================================================
   Pagination / misc
   ========================================================================= */
.empty-state { text-align: center; padding: 70px 0; color: var(--muted); }
.error-page { text-align: center; padding: 110px 0; }
.error-page .code { font-family: var(--font-head); font-size: clamp(5rem,14vw,9rem); color: var(--navy); line-height: 1; }
.error-page .code span { color: var(--gold); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-media .badge { right: 22px; }
  .detail-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .topbar { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 0; right: 0; width: 300px; max-width: 85vw; height: 100vh;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 80px 16px 30px;
    box-shadow: -10px 0 40px rgba(0,0,0,.15); overflow-y: auto; z-index: 200;
    transform: translateX(100%); visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), visibility .3s var(--ease);
  }
  .nav.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
  .nav > li > a { padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .nav .caret { margin-left: auto; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-top: none; padding: 0 0 8px 12px; min-width: 0; max-height: 0; overflow: hidden;
    transition: max-height var(--ease);
  }
  .nav > li.open-sub .dropdown { max-height: 500px; }
  .nav > li:hover .dropdown { opacity: 1; }
  /* Backdrop, header'ın stacking context'inin (z-index:100) ALTINDA kalmalı ki
     header içindeki off-canvas menü (nav) backdrop'un üstünde ve tıklanabilir olsun. */
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90; opacity: 0; visibility: hidden; transition: opacity var(--ease); }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  .grid-3, .grid-2, .testi-grid, .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 34px 28px; }
  .hero-slide, .hero-inner { min-height: 480px; }
}
.no-scroll { overflow: hidden; }
