/* ═══════════════════════════════════════════
   ALPER MAKİNA — Shared Design System
   ═══════════════════════════════════════════ */
:root {
  --navy:      #16305a;
  --navy-dk:   #0c1e3d;
  --navy-lt:   #1e4278;
  --orange:    #e8751a;
  --orange-lt: #f5821f;
  --white:     #ffffff;
  --off-white: #f4f2ee;
  --gray-lt:   #e8e4dd;
  --gray:      #ccc8c0;
  --gray-mid:  #8e8a85;
  --gray-dk:   #44423f;
  --text:      #252220;
  --green-wa:  #25d366;
  --trans:     0.3s cubic-bezier(0.4,0,0.2,1);
  --trans-fast:0.18s ease;
  --shadow-sm: 0 2px 12px rgba(12,30,61,0.10);
  --shadow-md: 0 10px 40px rgba(12,30,61,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.65; color: var(--text); background: var(--off-white); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; line-height: 1.05; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
section { scroll-margin-top: 72px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ── TOP BAR ── */
.topbar { background: var(--navy-dk); padding: 7px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar span, .topbar a { font-size: 0.76rem; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 6px; letter-spacing: 0.02em; transition: color var(--trans-fast); }
.topbar a:hover { color: var(--orange-lt); }
.topbar i { color: var(--orange); font-size: 0.72rem; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.12); }

/* ── HEADER ── */
header { background: var(--white); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--gray-lt); box-shadow: 0 1px 0 var(--gray-lt), 0 4px 24px rgba(12,30,61,0.06); }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-bar { width: 4px; height: 44px; background: var(--orange); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 900; color: var(--navy); letter-spacing: 0.03em; line-height: 1; }
.logo-sub { font-size: 0.65rem; color: var(--gray-mid); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 3px; }
nav ul { display: flex; gap: 0; align-items: center; }
nav ul li a { display: block; padding: 8px 16px; font-size: 0.82rem; font-weight: 600; color: var(--gray-dk); text-transform: uppercase; letter-spacing: 0.07em; position: relative; transition: color var(--trans-fast); }
nav ul li a::after { content: ''; position: absolute; bottom: 0; left: 16px; right: 16px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform var(--trans-fast); }
nav ul li a:hover { color: var(--navy); }
nav ul li a:hover::after, nav ul li a.active::after { transform: scaleX(1); }
nav ul li a.active { color: var(--navy); }
.header-ctas { display: flex; gap: 8px; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: all 0.3s; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 26px; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: all var(--trans); font-family: inherit; white-space: nowrap; }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: #c96415; border-color: #c96415; box-shadow: 0 8px 28px rgba(232,117,26,0.38); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-lt); border-color: var(--navy-lt); }
.btn-wa { background: var(--green-wa); color: var(--white); border-color: var(--green-wa); }
.btn-wa:hover { background: #1db954; border-color: #1db954; box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.btn-white { background: var(--white); color: var(--orange); border-color: var(--white); }
.btn-white:hover { background: var(--off-white); }
.btn-sm { padding: 8px 18px; font-size: 0.76rem; }

/* ── SECTION HEADER ── */
.sec-header { text-align: center; margin-bottom: 52px; }
.sec-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sec-eyebrow-line { width: 28px; height: 2px; background: var(--orange); flex-shrink: 0; }
.sec-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); }
.sec-header .sec-eyebrow { justify-content: center; }
.sec-header h2 { color: var(--navy); }
.sec-header p { color: var(--gray-mid); max-width: 480px; margin: 16px auto 0; font-size: 0.95rem; line-height: 1.75; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--navy-dk); padding: 56px 28px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--orange); }
.page-hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border: 52px solid rgba(232,117,26,0.05); border-radius: 50%; pointer-events: none; }
.page-hero-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero .page-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.page-hero .page-eyebrow .sec-eyebrow-line { background: var(--orange); opacity: 0.6; }
.page-hero h1 { color: var(--white); }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--trans-fast); }
.breadcrumb a:hover { color: var(--orange-lt); }
.breadcrumb i { font-size: 0.58rem; opacity: 0.6; }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--navy-dk); }
.trust-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; border-right: 1px solid rgba(255,255,255,0.06); transition: background var(--trans); }
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(255,255,255,0.03); }
.trust-icon { width: 48px; height: 48px; border: 1px solid rgba(232,117,26,0.28); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.trust-icon i { color: var(--orange); font-size: 1.1rem; }
.trust-num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.4rem; font-weight: 900; color: var(--white); line-height: 1; letter-spacing: 0.02em; }
.trust-lbl { font-size: 0.68rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.14em; }

/* ── FOOTER ── */
footer { background: var(--navy-dk); color: rgba(255,255,255,0.6); }
.footer-top { max-width: 1240px; margin: 0 auto; padding: 64px 28px 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo .logo-bar { height: 38px; }
.footer-logo .logo-name { font-size: 1.15rem; color: var(--white); }
.footer-logo .logo-sub { color: rgba(255,255,255,0.35); }
.footer-brand p { font-size: 0.84rem; line-height: 1.8; }
.footer-col h4 { color: var(--white); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(232,117,26,0.35); display: block; font-family: 'Source Sans 3', sans-serif; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.84rem; color: rgba(255,255,255,0.5); transition: color var(--trans-fast); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a::before { content: ''; width: 0; height: 1px; background: var(--orange); transition: width var(--trans-fast); flex-shrink: 0; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li a:hover::before { width: 12px; }
.footer-ci { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.84rem; align-items: flex-start; }
.footer-ci i { color: var(--orange); margin-top: 3px; flex-shrink: 0; width: 14px; }
.footer-ci a { color: rgba(255,255,255,0.55); transition: color var(--trans-fast); }
.footer-ci a:hover { color: var(--orange-lt); }
.footer-ci span { color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 28px; max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.76rem; color: rgba(255,255,255,0.28); }

/* ── WA FLOAT ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; display: flex; align-items: center; gap: 10px; background: var(--green-wa); color: var(--white); font-size: 0.82rem; font-weight: 700; padding: 12px 20px 12px 15px; border-radius: 50px; box-shadow: 0 8px 28px rgba(37,211,102,0.5); z-index: 9999; transition: transform var(--trans), box-shadow var(--trans); }
.wa-float i { font-size: 1.35rem; }
.wa-float:hover { transform: scale(1.04); box-shadow: 0 12px 36px rgba(37,211,102,0.55); }
.wa-pulse { position: absolute; inset: -5px; border-radius: 50px; border: 2px solid rgba(37,211,102,0.28); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{transform:scale(1);opacity:1} 100%{transform:scale(1.22);opacity:0} }
.scroll-top { position: fixed; bottom: 90px; right: 30px; width: 40px; height: 40px; background: var(--navy); color: var(--white); border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, visibility .25s, transform .25s, background .2s; z-index: 9998; font-size: 0.85rem; }
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--orange); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .trust-inner { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .header-ctas .btn-wa { display: none; }
}
@media (max-width: 700px) {
  .topbar { display: none; }
  .hamburger { display: flex; }
  nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--gray-lt); box-shadow: var(--shadow-md); padding: 8px 0; }
  nav.open { display: block; }
  nav ul { flex-direction: column; }
  nav ul li a { padding: 13px 24px; border-bottom: 1px solid var(--gray-lt); }
  nav ul li a::after { display: none; }
  .header-ctas { display: none; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; }
}
