/* NextEge — site stilleri */
:root {
  --navy-950: #08112A;
  --navy-900: #0D1B3E;
  --navy-800: #13244D;
  --parliament: #1B2F5E;
  --ocean: #0B84D8;
  --ocean-dark: #0868AD;
  --sky: #38C6F4;
  --sky-soft: #8FE0FA;
  --silver: #E4E8EE;
  --gray: #A7B0BF;
  --muted: #4A5670;
  --muted-2: #5B667D;
  --line: #E1E6EE;
  --bg: #F3F6FA;
  --white: #FFFFFF;
  --radius: 20px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--navy-900); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--ocean-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; margin: 0; color: inherit; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--white); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 15px; font-family: var(--font-body); border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; text-align: center; }
.btn-primary { background: var(--ocean); color: var(--white); }
.btn-primary:hover { background: var(--ocean-dark); color: var(--white); }
.btn-ghost { border-color: rgba(228,232,238,.32); color: var(--silver); background: transparent; }
.btn-ghost:hover { border-color: var(--sky); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--silver); color: var(--navy-900); }
.btn-outline { border-color: #C9D1DD; color: var(--parliament); background: var(--white); }
.btn-outline:hover { border-color: var(--ocean); color: var(--ocean); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Üst menü */
.site-header { background: var(--navy-950); border-bottom: 1px solid rgba(167,176,191,.14); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 84px; }
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.main-nav a { color: var(--silver); padding: 8px 0; position: relative; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sky); border-radius: 2px; }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(167,176,191,.3); color: var(--white); width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav, .header-cta { display: none; }
  .site-header.open .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-950); padding: 8px 24px 16px; border-bottom: 1px solid rgba(167,176,191,.14); }
  .site-header.open .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(167,176,191,.1); }
  .site-header.open .main-nav a[aria-current="page"]::after { display: none; }
  .brand img { height: 44px; }
}
.mobile-cta { display: none; }
@media (max-width: 960px) {
  .site-header.open .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; }
  .site-header.open .main-nav .mobile-cta a { border-bottom: 0; padding: 0 12px; }
}

/* Hero */
.hero { background: var(--navy-950); position: relative; overflow: hidden; color: var(--white); }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; padding-top: 88px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(56,198,244,.35); border-radius: 999px; color: var(--sky-soft); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.06; font-weight: 700; margin-top: 22px; letter-spacing: -0.02em; }
.hero h1 .hl { color: var(--sky); }
.hero-lead { font-size: 19px; color: var(--gray); margin-top: 22px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 40px; }
.hero-stats div { font-size: 14px; color: var(--gray); }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 28px; color: var(--white); }

.panel-card { flex: 1 1 400px; min-width: 0; max-width: 480px; background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%); border: 1px solid rgba(167,176,191,.18); border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.panel-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.status { display: flex; align-items: center; gap: 6px; color: #7EE2B8; font-size: 13px; font-weight: 600; font-family: var(--font-body); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DD68C; box-shadow: 0 0 0 4px rgba(61,214,140,.18); }
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.panel-tile { background: rgba(8,17,42,.6); border-radius: 14px; padding: 16px; color: var(--sky); }
.panel-tile span { display: block; color: var(--gray); font-size: 13px; margin-top: 10px; }
.panel-tile strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-top: 2px; }
.panel-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(11,132,216,.14); border: 1px solid rgba(56,198,244,.25); border-radius: 14px; padding: 14px 16px; font-size: 14px; color: var(--silver); }
.panel-foot strong { color: var(--sky-soft); }

/* Bölümler */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-white { background: var(--white); }
.eyebrow { color: var(--ocean); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.section-dark .eyebrow { color: var(--sky); }
.section-title { font-size: clamp(30px, 3.6vw, 40px); margin-top: 12px; max-width: 760px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.section-head p { color: var(--muted); max-width: 440px; }
.section-dark .section-head p { color: var(--gray); }

/* Sayfa başlığı */
.page-hero { background: var(--navy-950); color: var(--white); padding: 64px 0 72px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); margin-top: 10px; max-width: 860px; }
.page-hero p { color: var(--gray); font-size: 18px; margin-top: 14px; max-width: 720px; }
.crumbs { font-size: 14px; color: var(--gray); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--sky-soft); }

/* Kartlar */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.service-card:hover { border-color: #B9D9F2; box-shadow: 0 18px 40px rgba(13,27,62,.08); transform: translateY(-2px); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--navy-900); color: var(--sky); display: flex; align-items: center; justify-content: center; }
.service-card h3 { font-size: 23px; }
.service-card p { color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--parliament); font-size: 15px; font-weight: 600; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li svg { flex: none; color: var(--ocean); margin-top: 3px; }
.card-link { margin-top: auto; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.step { border-top: 2px solid var(--ocean); padding-top: 20px; }
.step b { font-family: var(--font-display); color: var(--sky); font-size: 15px; }
.step h3 { font-size: 21px; font-weight: 600; margin-top: 8px; }
.step p { color: var(--gray); font-size: 15px; margin-top: 8px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #C9D1DD; background: var(--white); color: var(--parliament); font-weight: 600; font-size: 14px; }
.chip:hover { border-color: var(--ocean); color: var(--ocean); }
.chip.active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.project-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: box-shadow .2s, transform .2s; }
.project-card:hover { box-shadow: 0 18px 40px rgba(13,27,62,.1); transform: translateY(-2px); color: inherit; }
.project-media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--parliament) 0%, var(--ocean) 100%); position: relative; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-media img { transform: scale(1.04); }
.project-media .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); }
.badge-video { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 6px; background: rgba(8,17,42,.78); color: var(--white); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.project-body { padding: 20px 22px 24px; }
.tag { display: inline-block; background: #E6F4FD; color: var(--ocean-dark); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.project-body h3 { font-size: 19px; margin-top: 12px; }
.project-body p { margin-top: 6px; color: var(--muted-2); font-size: 14px; }
.empty { background: var(--white); border: 1px dashed #C9D1DD; border-radius: 18px; padding: 40px; text-align: center; color: var(--muted-2); }

/* Duyuru + bülten */
.split { display: flex; flex-wrap: wrap; gap: 24px; }
.split > .grow { flex: 999 1 560px; min-width: 0; }
.split > .side { flex: 1 1 360px; min-width: 0; }
.box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.ann-list { display: flex; flex-direction: column; margin-top: 12px; }
.ann-item { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid #E8ECF2; color: var(--navy-900); }
.ann-item:last-child { border-bottom: 0; }
.ann-item time { flex: 0 0 110px; color: var(--muted-2); font-size: 14px; font-weight: 600; }
.ann-item strong { font-size: 17px; }
.ann-item:hover strong { color: var(--ocean); }

.form-dark { background: var(--navy-900); border-radius: var(--radius); padding: 32px; color: var(--white); display: flex; flex-direction: column; gap: 14px; }
.form-dark h3 { font-size: 24px; }
.form-dark p { color: var(--gray); font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border-radius: 10px; border: 1px solid #C9D1DD; padding: 0 14px; font: 500 15px var(--font-body); color: var(--navy-900); background: var(--white); }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ocean); outline-offset: 1px; border-color: var(--ocean); }
.form-dark .field input { border-color: #2C4275; background: var(--navy-950); color: var(--white); }
.form-dark .field label { color: var(--silver); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted-2); }
.form-dark .consent { color: var(--gray); }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ocean); }
.consent a { text-decoration: underline; }
.form-dark .consent a { color: var(--sky-soft); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

.alert { border-radius: 12px; padding: 14px 18px; font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.alert-success { background: #E3F6EC; color: #1C6B43; border: 1px solid #ABEFC6; }
.alert-error { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }

/* B2B */
.b2b-band { border-radius: 24px; padding: 48px; background: linear-gradient(120deg, var(--parliament) 0%, #0B5FA8 100%); color: var(--white); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.b2b-band h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 14px; }
.b2b-band p { color: #D4E3F5; font-size: 17px; margin-top: 10px; max-width: 600px; }
.pill-light { display: inline-block; background: rgba(255,255,255,.14); color: var(--white); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .06em; }
@media (max-width: 600px) { .b2b-band { padding: 32px 24px; } .box, .form-dark { padding: 24px; } }

/* İçerik metni */
.prose { font-size: 17px; color: #26324D; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose img { border-radius: 14px; }
.prose blockquote { border-left: 3px solid var(--ocean); margin: 1.4em 0; padding: 4px 0 4px 18px; color: var(--muted); }
.prose a { text-decoration: underline; }
.prose iframe.embed, .video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; display: block; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

.detail { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.detail-main { flex: 999 1 600px; min-width: 0; }
.detail-side { flex: 1 1 300px; min-width: 0; position: sticky; top: 108px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 960px) { .detail-side { position: static; } }
.meta-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.meta-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #EEF1F5; padding-bottom: 12px; }
.meta-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.meta-list span { color: var(--muted-2); }
.cover { border-radius: 18px; overflow: hidden; margin-bottom: 32px; background: var(--navy-900); }
.cover img { width: 100%; max-height: 560px; object-fit: cover; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--silver); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }
.videos { display: grid; gap: 16px; margin-top: 16px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(5,10,25,.94); display: none; align-items: center; justify-content: center; z-index: 200; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; object-fit: contain; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 22px; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--gray); font-size: 14px; }

/* Sayfalama */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #C9D1DD; background: var(--white); font-weight: 700; color: var(--parliament); padding: 0 12px; }
.pager .current { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* İletişim */
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; color: var(--parliament); font-size: 16px; }
.contact-item .ci { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #E6F4FD; color: var(--ocean); display: flex; align-items: center; justify-content: center; }
.contact-item small { display: block; color: var(--muted-2); font-size: 13px; }
.contact-item a, .contact-item strong { color: var(--navy-900); font-weight: 700; }
.map { margin-top: 24px; border-radius: 16px; overflow: hidden; }
.map iframe { width: 100%; height: 300px; border: 0; display: block; }

/* Alt bilgi */
.site-footer { background: var(--navy-950); color: var(--gray); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; font-family: var(--font-body); font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-grid a { color: var(--gray); }
.footer-grid a:hover { color: var(--white); }
.footer-brand img { height: 64px; width: auto; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.socials a { min-height: 40px; padding: 0 14px; border: 1px solid rgba(167,176,191,.25); border-radius: 999px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(167,176,191,.15); margin-top: 48px; padding-top: 22px; font-size: 13px; color: #7C879B; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Sabit WhatsApp düğmesi */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 60; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
