/* ===== Değişkenler ===== */
:root {
  --navy: #0e1a2b;
  --navy-2: #14263d;
  --steel: #1f3a5f;
  --accent: #f26522;      /* turuncu vurgu */
  --accent-dark: #d9531a;
  --ink: #1b2430;
  --muted: #5c6a7a;
  --line: #e6eaf0;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(14, 26, 43, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 26, 43, 0.18);
  --maxw: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Poppins', var(--font);
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--navy); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

/* ===== Butonlar ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  cursor: pointer; border: 2px solid transparent; transition: all .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242,101,34,.35); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(242,101,34,.35);
}
.logo-text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 800; color: var(--navy); letter-spacing: .5px; line-height: 1; font-size: 1.15rem; }
.logo-text small { font-size: .58rem; letter-spacing: 2px; color: var(--muted); font-weight: 600; margin-top: 3px; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.nav-link { padding: 10px 16px; border-radius: 999px; font-weight: 500; color: var(--ink); font-size: .96rem; transition: color .2s, background .2s; }
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); }
.nav-cta { background: var(--navy); color: #fff !important; padding: 10px 22px; }
.nav-cta:hover { background: var(--steel); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .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 {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/hero.jpg") center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,20,33,.94) 0%, rgba(11,20,33,.78) 38%, rgba(11,20,33,.42) 70%, rgba(11,20,33,.28) 100%),
    radial-gradient(circle at 82% 22%, rgba(242,101,34,.22), transparent 42%);
}
.hero-inner { position: relative; z-index: 2; padding: 92px 22px 96px; }
.hero-content { max-width: 720px; }
.eyebrow, .section-eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); background: rgba(242,101,34,.12); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); color: #fff; margin-bottom: 20px; }
.hero .hl { color: var(--accent); }
.lead { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.5rem; color: #fff; }
.hero-stats span { font-size: .88rem; color: rgba(255,255,255,.7); }

/* ===== Bölümler ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.narrow { max-width: 860px; }
.section-eyebrow { color: var(--accent); }
.section-head { margin-bottom: 46px; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 14px; }
.section-sub, .section-head p { color: var(--muted); font-size: 1.05rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: stretch; }
.text-block h2 { margin: 12px 0 18px; }
.text-block p { color: var(--muted); margin-bottom: 16px; }
.media {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  min-height: 340px; background: linear-gradient(135deg, var(--navy), var(--steel));
  display: grid; place-items: center;
}
.media img { position: relative; z-index: 2; border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.media img.img-failed { display: none; }
.media-fallback { position: absolute; z-index: 1; font-size: 4.5rem; opacity: .9; filter: drop-shadow(0 6px 14px rgba(0,0,0,.3)); }

/* ===== Kartlar ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 14px; background: rgba(242,101,34,.1); margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ===== Misyon / Vizyon ===== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  position: relative; border-radius: var(--radius); padding: 40px 34px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--steel)); box-shadow: var(--shadow);
}
.mv-card:last-child { background: linear-gradient(135deg, #2a1608, #7a3410); }
.mv-card h2 { color: #fff; margin: 16px 0 14px; font-size: 1.55rem; }
.mv-card p { color: rgba(255,255,255,.85); }
.mv-badge { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: rgba(242,101,34,.25); color: #ffd9c4; }
.mv-badge.alt { background: rgba(255,255,255,.18); color: #fff; }

/* ===== Prose ===== */
.prose p { color: var(--muted); margin-bottom: 18px; font-size: 1.04rem; }

/* ===== İletişim ===== */
.contact-grid { align-items: stretch; }
.contact-list { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci { font-size: 1.2rem; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--bg-soft); }
.contact-list strong { display: block; color: var(--navy); font-size: .92rem; }
.contact-list a:hover { color: var(--accent); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .96rem; color: var(--ink); background: #fafbfc; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,101,34,.14); background: #fff; }
.field textarea { resize: vertical; }
.field input.invalid, .field textarea.invalid { border-color: #e04343; box-shadow: 0 0 0 3px rgba(224,67,67,.12); }
.form-note { min-height: 0; font-size: .9rem; margin-bottom: 6px; }
.form-note.error { color: #d92d2d; }
.form-note.ok { color: #1a8f4a; }
.form-hint { display: block; margin-top: 12px; color: var(--muted); font-size: .82rem; text-align: center; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); }
.footer-map iframe { display: block; filter: grayscale(.2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 34px; padding: 56px 22px 40px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text, .footer-logo .logo-text small { color: #fff; }
.footer-about { font-size: .94rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .link-btn { color: rgba(255,255,255,.75); font-size: .94rem; transition: color .2s; }
.footer-links a:hover, .link-btn:hover { color: var(--accent); }
.footer-contact { font-style: normal; font-size: .94rem; line-height: 1.9; }
.footer-contact a:hover { color: var(--accent); }
.link-btn { background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0; text-align: left; }
.link-btn.inline { color: var(--accent); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .86rem; text-align: center; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal::before { content: ""; position: absolute; inset: 0; background: rgba(14,26,43,.6); backdrop-filter: blur(3px); animation: fade .25s ease; }
.modal-dialog {
  position: relative; background: #fff; border-radius: var(--radius); max-width: 640px; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: 38px 36px; box-shadow: var(--shadow-lg); animation: pop .28s ease;
}
.modal-dialog h3 { margin-bottom: 18px; padding-right: 30px; }
.modal-body p { color: var(--muted); margin-bottom: 14px; font-size: .97rem; }
.modal-body ul { margin: 0 0 14px 18px; list-style: disc; color: var(--muted); }
.modal-body li { margin-bottom: 8px; font-size: .97rem; }
.modal-close { position: absolute; top: 16px; right: 18px; background: var(--bg-soft); border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--navy); cursor: pointer; transition: background .2s; }
.modal-close:hover { background: #e6eaf0; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ===== Çerez Banner ===== */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 900; max-width: 720px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between;
  animation: pop .3s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: .92rem; color: var(--muted); flex: 1 1 260px; }

/* ===== To top ===== */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 800; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--shadow);
  transition: transform .2s, background .2s;
}
.to-top:hover { background: var(--accent-dark); transform: translateY(-3px); }
.to-top[hidden] { display: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; gap: 34px; }
  .mv-grid { grid-template-columns: 1fr; }
  .media { order: -1; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 74px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform .32s ease; box-shadow: var(--shadow); max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 16px 20px; }
  .main-nav li { width: 100%; }
  .nav-link { display: block; width: 100%; padding: 14px 16px; border-radius: 10px; font-size: 1rem; }
  .nav-cta { display: block; width: 100%; text-align: center; margin-top: 10px; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 70px 22px; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(11,20,33,.86) 0%, rgba(11,20,33,.72) 55%, rgba(11,20,33,.80) 100%),
      radial-gradient(circle at 82% 12%, rgba(242,101,34,.20), transparent 45%);
  }
  .hero-stats { gap: 22px; }
  .cookie-banner {
    left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; gap: 10px;
    flex-direction: row; align-items: center; text-align: left; flex-wrap: nowrap;
  }
  .cookie-banner p { font-size: .78rem; line-height: 1.45; flex: 1 1 auto; }
  .cookie-banner .btn { flex: none; padding: 9px 16px; font-size: .82rem; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .modal-dialog { padding: 30px 22px; }
  .logo-text { font-size: 1rem; }
}
