/* ─────────────────────────────────────────────────────────────────
   Patilerim.tr — Shared Styles
   ───────────────────────────────────────────────────────────────── */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #FFFEFC;
  color: #0A0A0A;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 1200px 600px at 50% -100px, rgba(244,51,72,0.08), transparent 60%),
    radial-gradient(ellipse 800px 400px at 100% 30%, rgba(255,140,90,0.10), transparent 60%),
    radial-gradient(ellipse 800px 400px at 0% 60%, rgba(255,200,170,0.10), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 600px) { .container { padding: 0 24px; } }

a { color: inherit; }

/* ─── Logo ─── */
.logo-img {
  width: 36px; height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(244,51,72,0.18);
}
@media (max-width: 600px) { .logo-img { width: 32px; height: 32px; border-radius: 8px; } }

/* ─── Navigation ─── */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,254,252,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; text-decoration: none; color: inherit;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: #525252; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: #0A0A0A; }
.nav-links a.active { color: #F43348; }
.btn-primary {
  background: #0A0A0A; color: white;
  padding: 9px 18px; border-radius: 100px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: transform 0.15s;
}
.btn-primary:hover { transform: translateY(-1px); }

.mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 8px;
  color: #0A0A0A;
}
.mobile-toggle svg { width: 24px; height: 24px; }
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0;
    background: white; flex-direction: column;
    padding: 24px; gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-150%);
    transition: transform 0.3s;
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 8px 0; font-size: 16px; text-align: center; }
  .mobile-toggle { display: block; }
}

/* ─── Sektör sayfaları nav (uses .nav class wrapper) ─── */
nav.nav > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px;
  text-decoration: none; color: inherit;
  letter-spacing: -0.02em;
}
.nav-brand img {
  border-radius: 9px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(244,51,72,0.18);
}
.nav-cta {
  background: #0A0A0A; color: white !important;
  padding: 9px 18px; border-radius: 100px;
  font-weight: 600;
  transition: transform 0.15s, background 0.15s;
}
.nav-cta:hover {
  background: #F43348;
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  nav.nav > .container {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  nav.nav .nav-links {
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
    justify-content: center;
    padding: 0;
    position: static;
    background: none;
    box-shadow: none;
    transform: none;
    flex-direction: row;
  }
  nav.nav .nav-links a { padding: 4px 0; font-size: 14px; }
  nav.nav .nav-cta { padding: 7px 14px; font-size: 13px; }
}

/* ─── Page hero (subpages) ─── */
.page-hero {
  text-align: center;
  padding: 60px 0 40px;
}
@media (min-width: 768px) { .page-hero { padding: 100px 0 60px; } }

.page-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  color: #F43348;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(244,51,72,0.08);
  padding: 6px 12px; border-radius: 100px;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 17px;
  color: #525252;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .page-hero p { font-size: 19px; } }

/* ─── Prose content (Yasal/Destek için) ─── */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.prose h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  line-height: 1.2;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: #18181B;
}
.prose p {
  font-size: 15px;
  line-height: 1.7;
  color: #3F3F46;
  margin-bottom: 14px;
}
.prose ul, .prose ol {
  margin: 14px 0 18px 24px;
  color: #3F3F46;
}
.prose li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.prose strong { color: #18181B; font-weight: 700; }
.prose a { color: #F43348; text-decoration: underline; }
.prose a:hover { color: #C72A3D; }
.prose .meta {
  font-size: 13px;
  color: #71717A;
  padding: 14px 16px;
  background: rgba(244,51,72,0.04);
  border-left: 3px solid #F43348;
  border-radius: 6px;
  margin-bottom: 32px;
}

/* ─── Cards (info / value) ─── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}
@media (min-width: 600px) { .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 900px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.info-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.2s;
}
.info-card:hover { transform: translateY(-2px); border-color: rgba(0,0,0,0.2); background: white; }
.info-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFE5DC, #FFD0BD);
  display: grid; place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.info-card h3 {
  font-size: 17px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.info-card p {
  font-size: 14px;
  color: #525252;
  line-height: 1.55;
}
.info-card a {
  color: #F43348; text-decoration: none; font-weight: 600;
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
}
.info-card a:hover { text-decoration: underline; }

/* ─── FAQ accordion ─── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px;
}
.faq-item {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  color: #18181B;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 24px; font-weight: 300;
  color: #71717A;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] .faq-q::after { content: '−'; }
.faq-item[open] { background: white; border-color: rgba(244,51,72,0.2); }
.faq-a {
  padding: 0 22px 20px;
  font-size: 14px;
  color: #525252;
  line-height: 1.65;
}
.faq-a p { margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ─── CTA Strip (kullanılırsa) ─── */
.cta-strip {
  background: linear-gradient(135deg, #F43348 0%, #FF8C5A 100%);
  border-radius: 24px;
  padding: 48px 24px;
  text-align: center;
  color: white;
  margin: 60px auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-strip { border-radius: 32px; padding: 60px 48px; margin: 80px auto; } }
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.25), transparent 50%);
}
.cta-strip > * { position: relative; }
.cta-strip h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.1;
}
.cta-strip p { font-size: 16px; opacity: 0.92; margin-bottom: 24px; max-width: 520px; margin-inline: auto; }
.cta-strip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0A0A0A; color: white;
  padding: 12px 24px; border-radius: 100px;
  text-decoration: none;
  font-size: 14px; font-weight: 700;
  transition: all 0.2s;
}
.cta-strip-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }

/* ─── Footer (tüm sayfalarda ortak) ─── */
footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 40px 0 24px;
  background: rgba(255,255,255,0.5);
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px; margin-bottom: 28px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 32px; }
}
.footer-col:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-col:first-child { grid-column: auto; } }
.footer-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
@media (min-width: 768px) { .footer-col h4 { margin-bottom: 16px; } }
.footer-col a { display: block; color: #525252; text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: #0A0A0A; }

.footer-col.business-col h4 { color: #F43348; }
.footer-biz-link {
  display: inline-flex !important;
  align-items: center; gap: 8px;
  background: #0A0A0A;
  color: white !important;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 13px !important;
  font-weight: 700;
  margin-bottom: 10px !important;
  transition: all 0.2s;
}
.footer-biz-link:hover { background: #F43348; color: white !important; transform: translateY(-2px); }
.footer-biz-link svg { width: 14px; height: 14px; }
.footer-biz-sub {
  font-size: 12px !important;
  color: #71717A !important;
  line-height: 1.5;
  max-width: 220px;
}
.footer-biz-sub:hover { color: #71717A !important; }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 20px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: #71717A;
}
@media (min-width: 768px) { .footer-bottom { padding-top: 24px; gap: 16px; font-size: 13px; } }
