/* ================================================================
   GÜÇLENMEK.COM — ORTAK STİL DOSYASI
   Navy / White / Red — Editorial Iron Aesthetic
   ================================================================ */

:root {
  --navy:        #0A1628;
  --navy-deep:   #050B17;
  --navy-mid:    #142540;
  --red:         #C8102E;
  --red-deep:    #8B0A1F;
  --red-bright:  #E8243E;
  --white:       #FAFAF7;
  --off-white:   #EDEAE0;
  --grey:        #8A8F99;
  --grey-dark:   #2A3447;
  --gold:        #C9A961;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--navy);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 22, 40, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo {
  font-family: 'Archivo Black', sans-serif;
  color: var(--white);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  transform: rotate(-3deg);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--red-bright); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 20px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--red-deep); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

/* ============ SECTION BASE ============ */
section { padding: 120px 40px; position: relative; }
.container { max-width: 1400px; margin: 0 auto; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--navy);
}
.section-title .italic {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--red);
}
.section-desc {
  font-size: 19px;
  line-height: 1.6;
  color: var(--grey-dark);
  max-width: 520px;
  font-weight: 300;
}

/* ============ BUTTONS ============ */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 18px 36px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .25s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200,16,46,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 18px 36px;
  border: 1px solid var(--navy);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .25s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
  padding: 18px 36px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .25s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.btn-dark:hover {
  background: var(--red);
  transform: translateY(-2px);
}

/* ============ PAGE HEAD (for inner pages) ============ */
.page-head {
  background: var(--navy);
  color: var(--white);
  padding: 160px 40px 100px;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.page-head::after {
  content: '';
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,16,46,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-head-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumb a { color: var(--off-white); text-decoration: none; opacity: 0.6; }
.breadcrumb a:hover { opacity: 1; color: var(--red-bright); }
.breadcrumb .sep { opacity: 0.4; }

.page-head h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.page-head h1 .red { color: var(--red); }
.page-head h1 .italic {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.03em;
}
.page-head .lead {
  font-family: 'Newsreader', serif;
  font-size: 20px;
  line-height: 1.5;
  color: var(--off-white);
  max-width: 720px;
  font-weight: 300;
}

/* ============ FOOTER (shared) ============ */
footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 80px 40px 40px;
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 32px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-brand p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
  max-width: 380px;
}
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--red-bright); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; animation: fadeUp 1s ease forwards; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .6s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 6px 0;
  }
  nav.nav-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 15px 24px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links a::after { display: none; }
}
@media (max-width: 640px) {
  nav { padding: 14px 20px; }
  section { padding: 80px 20px; }
  .page-head { padding: 120px 20px 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ============ MOBİL UYUMLULUK — DERİN OPTİMİZASYON ============ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, svg, video, iframe { max-width: 100%; height: auto; }

@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100vw; }

  /* 1) TABLOLAR: sayfayı yatayda patlatmasın — kendi içinde parmakla kaydırılsın */
  table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
  }
  table th, table td {
    font-size: 12.5px !important;
    padding: 10px 10px !important;
  }

  /* 2) BAŞLIKLAR: telefonda bir kademe küçük ve sıkı */
  h1 { font-size: clamp(28px, 8vw, 38px) !important; line-height: 1.03 !important; letter-spacing: -0.02em !important; }
  h2 { font-size: clamp(22px, 6.5vw, 30px) !important; line-height: 1.06 !important; }
  h3 { font-size: clamp(18px, 5.5vw, 22px) !important; }

  /* 3) GÖVDE METNİ: rahat okunur boyut ve satır aralığı */
  .article-body p, .body-text, .faq-a, .intro-text, .article-body li, .ul-clean li { font-size: 15.5px !important; line-height: 1.65 !important; }
  .article-lead, .lead { font-size: 16.5px !important; line-height: 1.55 !important; }
  .pullquote { font-size: 19px !important; padding-left: 18px !important; }

  /* 4) BOŞLUKLAR: dev padding'leri sıkılaştır (üst/alt korunur, yanlar daralır) */
  section { padding-left: 16px !important; padding-right: 16px !important; }
  .article-section, .faq-section, .prog-block, .timeline-section { padding-top: 56px !important; padding-bottom: 56px !important; }
  .page-head { padding-top: 104px !important; padding-bottom: 44px !important; }

  /* 5) DOKUNMA HEDEFLERİ: butonlar parmağa uygun */
  .btn-primary, .btn-secondary, .exp-btn, .gen-btn, .nav-cta, button { min-height: 44px; }

  /* 6) YAPIŞKAN ALT MENÜLER (nav-jump): kompakt */
  .nav-jump { padding: 10px 14px !important; top: 56px !important; }
  .nav-jump a { padding: 7px 12px !important; font-size: 10px !important; }
}

@media (max-width: 480px) {
  nav { padding: 12px 14px !important; }
  .logo { font-size: 17px !important; }
  .logo-mark { width: 26px !important; height: 26px !important; font-size: 12px !important; }
  .article-meta { display: none; } /* yan künye mobilde gereksiz yer kaplıyor */
  .footer-grid { gap: 28px !important; }
}
