/* ══════════════════════════════════════
   BAŞARI EXPORT — style.css
   Ortak stiller, tüm sayfalarda kullanılır
══════════════════════════════════════ */

/* ── RESET & ROOT ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white: #ffffff;
  --off-white: #f8f8f6;
  --bg: #f2f2ef;
  --dark: #0f0f0e;
  --dark2: #1e1e1c;
  --mid: #5a5a57;
  --light: #adadaa;
  --border: rgba(0,0,0,0.08);
  --accent: #1e4d8c;
  --accent2: #2d6bbf;
  --accent-soft: rgba(30,77,140,0.07);
  --gold: #c8a96e;
  --sh-xs: 0 2px 12px rgba(0,0,0,0.04);
  --sh-sm: 0 4px 24px rgba(0,0,0,0.07);
  --sh-md: 0 8px 48px rgba(0,0,0,0.10);
  --sh-lg: 0 24px 80px rgba(0,0,0,0.13);
  --ease: cubic-bezier(.4,0,.2,1);
  --nav-h: 76px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .35s var(--ease);
}
header.scrolled {
  height: 64px;
  background: rgba(255,255,255,0.97);
  box-shadow: var(--sh-sm);
}

/* Logo */
.logo {
  display: flex; align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity .25s var(--ease);
}
.logo:hover .logo-img { opacity: .82; }

/* Footer logo — slightly taller since dark bg gives more contrast */
.logo-img-footer {
  height: 32px;
  opacity: .85;
}
.logo:hover .logo-img-footer { opacity: 1; }

/* Desktop nav */
nav.desktop {
  display: flex; align-items: center; gap: 2px;
}
nav.desktop a {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--mid); text-decoration: none;
  padding: 9px 15px; border-radius: 7px;
  transition: all .22s var(--ease);
}
nav.desktop a:hover { color: var(--dark); background: var(--bg); }
nav.desktop a.active { color: var(--dark); background: var(--bg); }

.btn-nav {
  margin-left: 14px;
  padding: 11px 22px !important;
  background: var(--accent) !important;
  color: white !important;
  border-radius: 9px !important;
  box-shadow: 0 4px 18px rgba(30,77,140,.28);
}
.btn-nav:hover {
  background: var(--accent2) !important;
  transform: translateY(-1px);
  box-shadow: 0 7px 28px rgba(30,77,140,.38) !important;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all .3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 800;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-md);
  padding: 24px 28px 32px;
  transform: translateY(-110%);
  transition: transform .35s var(--ease);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  display: block;
  font-size: 14px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--mid); text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--accent); }
.mobile-nav .btn-mobile {
  display: block; margin-top: 20px;
  padding: 16px; text-align: center;
  background: var(--accent); color: white !important;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(30,77,140,.3);
  letter-spacing: 1.5px;
  text-decoration: none;
  font-size: 12px; font-weight: 700;
}

/* ── UTILITIES ── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.section-tag::before {
  content: '';
  display: block; width: 28px; height: 2px;
  background: var(--accent); border-radius: 1px;
}
.section-tag span {
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent);
}
.section-tag.center { justify-content: center; }
.section-tag.center::before { display: none; }
.section-tag.center::after {
  content: '';
  display: block; width: 28px; height: 2px;
  background: var(--accent); border-radius: 1px;
}
h2.sec-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; letter-spacing: -1.5px;
  line-height: 1.07; color: var(--dark);
  margin-bottom: 14px;
}
p.sec-sub {
  font-size: 15px; font-weight: 400;
  line-height: 1.75; color: var(--mid);
  max-width: 480px;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  background: var(--accent); color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(30,77,140,.32);
  transition: all .28s var(--ease);
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(30,77,140,.42);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: transparent; color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid rgba(30,77,140,.3);
  border-radius: 10px;
  transition: all .28s var(--ease);
}
.btn-outline:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-white {
  display: block; padding: 15px 26px;
  background: white; color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  border-radius: 10px; text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.14);
  transition: all .28s var(--ease);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.btn-ghost-w {
  display: block; padding: 13px 26px;
  background: transparent; color: rgba(255,255,255,.75);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 10px; text-align: center;
  transition: all .28s var(--ease);
}
.btn-ghost-w:hover { border-color: rgba(255,255,255,.5); color: white; }

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }

/* ── PAGE HERO (iç sayfalar) ── */
.page-hero {
  background: linear-gradient(140deg, #080f1f 0%, #0d1a35 60%, #162848 100%);
  padding: calc(var(--nav-h) + 64px) 60px 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,77,140,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,77,140,.06) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero-inner {
  max-width: 1320px; margin: 0 auto;
  position: relative; z-index: 1;
}
.breadcrumb {
  display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
}
.breadcrumb span, .breadcrumb a {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.38); text-decoration: none;
}
.breadcrumb a:hover { color: rgba(255,255,255,.7); }
.breadcrumb .sep { color: rgba(255,255,255,.2); }
.page-hero h1 {
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 800; color: white;
  letter-spacing: -2px; line-height: 1.06; margin-bottom: 16px;
}
.page-hero p {
  font-size: 16px; font-weight: 400;
  color: rgba(255,255,255,.48); line-height: 1.7; max-width: 520px;
}

/* ── CTA BAND ── */
.cta-wrap { padding: 100px 60px; max-width: 1320px; margin: 0 auto; }
.cta-box {
  background: linear-gradient(130deg, var(--accent) 0%, var(--accent2) 100%);
  border-radius: 26px; padding: 76px 76px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 56px; align-items: center;
  box-shadow: 0 20px 72px rgba(30,77,140,.32);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent);
}
.cta-box h2 {
  font-size: clamp(26px, 3vw, 42px); font-weight: 800;
  color: white; letter-spacing: -1px; line-height: 1.1;
  margin-bottom: 10px; position: relative;
}
.cta-box > div:first-child p {
  font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,.65); line-height: 1.6; position: relative;
}
.cta-btns { display: flex; flex-direction: column; gap: 12px; position: relative; min-width: 210px; }

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  color: white;
  padding: 80px 60px 36px;
}
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 56px; margin-bottom: 56px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand p {
  margin-top: 18px;
  font-size: 12px; font-weight: 400; line-height: 1.75;
  color: rgba(255,255,255,.32); max-width: 260px;
}
.footer-soc { display: flex; gap: 10px; margin-top: 26px; }
.fsoc {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all .25s;
}
.fsoc svg { stroke: rgba(255,255,255,.45); fill: none; transition: stroke .25s; }
.fsoc:hover { background: var(--accent); border-color: var(--accent); }
.fsoc:hover svg { stroke: white; }
.footer-col h4 {
  font-size: 9px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,.48); text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: white; }
.fci { display: flex; gap: 14px; margin-bottom: 18px; }
.fci-icon { opacity: .4; margin-top: 2px; flex-shrink: 0; }
.fci-icon svg { stroke: white; fill: none; }
.fci-body {
  font-size: 12px; font-weight: 400;
  line-height: 1.65; color: rgba(255,255,255,.42);
}
.fci-body strong {
  display: block; font-weight: 600;
  color: rgba(255,255,255,.68); margin-bottom: 2px;
}
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.footer-bot p { font-size: 11px; color: rgba(255,255,255,.22); }
.footer-bot a { color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.footer-bot a:hover { color: rgba(255,255,255,.7); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  header { padding: 0 32px; }
  .container { padding: 0 32px; }
  .cta-wrap { padding: 80px 32px; }
  .page-hero { padding: calc(var(--nav-h) + 48px) 32px 64px; }
  footer { padding: 64px 32px 32px; }
}
@media (max-width: 960px) {
  nav.desktop { display: none; }
  .hamburger { display: flex; }
  .cta-box { grid-template-columns: 1fr; padding: 52px 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .cta-box { padding: 44px 28px; }
  .cta-btns { min-width: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; text-align: center; }
  header { padding: 0 24px; }
  .container { padding: 0 24px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 24px 56px; }
}

@keyframes fadeUp { from { opacity:0; transform:translateY(26px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
