/* ============================================
   PUSLOG - Ortak stiller
   Açık ve modern tema
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Light theme - açık renkler */
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --bg-3: #fafbfd;
  --bg-soft: #eef2f8;
  --surface: #ffffff;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  
  /* Brand */
  --brand: #00b86b;
  --brand-2: #00a560;
  --brand-soft: #e6f7ee;
  --brand-glow: rgba(0, 184, 107, 0.15);
  
  /* Accent (lacivert) */
  --accent: #1e40af;
  --accent-2: #1e3a8a;
  --accent-soft: #eff4ff;
  
  --warn: #f59e0b;
  --danger: #ef4444;
  
  --maxw: 1240px;
  
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px -8px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 60px -12px rgba(15, 23, 42, 0.18);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ============ NAV ============ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}
.logo-mark {
  width: 32px;
  height: 32px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark::before, .logo-mark::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
}
.logo-mark::before { inset: 0; opacity: 0.4; }
.logo-mark::after { inset: 6px; opacity: 0.7; }
.logo-mark > span {
  width: 10px;
  height: 10px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-glow);
}

.nav-links {
  display: flex;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  padding: 8px 14px;
  color: var(--text-2);
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}
.nav-links a.active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--text);
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-2);
  color: #ffffff;
  border-color: var(--brand-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 13px 26px; font-size: 15px; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn:not(.btn-primary) { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 200;
  backdrop-filter: blur(4px);
}
.mobile-menu.open { display: block; }
.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background: var(--bg-2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu-panel a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}
.mobile-menu-panel a:hover, .mobile-menu-panel a.active {
  background: var(--brand-soft);
  color: var(--brand);
}
.mobile-menu-close {
  position: absolute;
  top: 16px; right: 16px;
  background: transparent;
  border: 0;
  font-size: 24px;
  color: var(--text-2);
  cursor: pointer;
}

/* ============ Common Section ============ */
section { padding: 80px 0; position: relative; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 700;
  padding: 6px 14px;
  background: var(--brand-soft);
  border-radius: 100px;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
}
h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
h4 { font-size: 17px; font-weight: 700; }

h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand) 0%, #00d987 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-head p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============ Hero (small variant for sub-pages) ============ */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 18px;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }

/* ============ Cards ============ */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ============ Footer ============ */
footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  color: var(--text-3);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-3);
}

/* ============ Reveal Animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Utility ============ */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 36px; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner.show {
  display: flex;
  animation: cookieIn 0.4s ease;
}
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-text {
  flex: 1;
  min-width: 240px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}
.cookie-text strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
.cookie-text a {
  color: var(--brand);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-actions .btn {
  padding: 9px 18px;
  font-size: 13px;
}
@media (max-width: 600px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 16px 18px;
  }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
