/* kopegiminasilegitirim.com — statik prototip stil sayfası */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --color-bg: #FDF8F0;
  --color-bg-alt: #F5EAD9;
  --color-text: #3A2E2A;
  --color-text-muted: #6B5D53;
  --color-primary: #4A6B4D;
  --color-primary-dark: #37502F;
  --color-cta: #C1694F;
  --color-cta-dark: #A3553E;
  --color-border: #E8DCC8;

  /* Irka özel vurgu rengi — her ırk sayfasında body sınıfı ile override edilir */
  --breed-accent: var(--color-primary);
  --breed-accent-dark: var(--color-primary-dark);
  --breed-accent-tint: #EAF0E7;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px rgba(58, 46, 42, 0.08);
  --shadow-hover: 0 16px 40px rgba(58, 46, 42, 0.14);
}

/* Irk temaları */
body.breed-golden {
  --breed-accent: #C98A2E;
  --breed-accent-dark: #A06E22;
  --breed-accent-tint: #FBEFDA;
}

body.breed-alman {
  --breed-accent: #3D5940;
  --breed-accent-dark: #2B4030;
  --breed-accent-tint: #E7EFE6;
}

body.breed-malinois {
  --breed-accent: #6B6F3F;
  --breed-accent-dark: #52552F;
  --breed-accent-tint: #EEEEDF;
}

body.breed-doberman {
  --breed-accent: #2A2320;
  --breed-accent-dark: #171210;
  --breed-accent-tint: #EAE3DD;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, .brand {
  font-family: 'Fredoka', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}

.brand {
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.main-nav a:hover { color: var(--color-primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-cta {
  background: var(--color-cta);
  color: #FFF8F0;
  box-shadow: var(--shadow-soft);
}

.btn-cta:hover { background: var(--color-cta-dark); box-shadow: var(--shadow-hover); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--breed-accent);
  color: var(--breed-accent-dark);
}

.btn-outline:hover { background: var(--breed-accent-tint); }

.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* Hero (genel/index) */
.hero {
  padding: 72px 0 56px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--breed-accent-dark);
  background: var(--breed-accent-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--color-text);
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Breed hero (ırk sayfası) — vurgu rengiyle boyalı şerit */
.breed-hero {
  background: linear-gradient(135deg, var(--breed-accent-tint), var(--color-bg) 70%);
  padding: 56px 0 64px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.breadcrumb a { text-decoration: none; color: var(--breed-accent-dark); font-weight: 700; }
.breadcrumb span { margin: 0 6px; }

.breed-traits {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.breed-traits li {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--breed-accent-dark);
}

/* Bölüm başlıkları */
.section { padding: 56px 0; }
.section-head { max-width: 60ch; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-head p { color: var(--color-text-muted); }

/* Irk kartları (index) */
.breed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.breed-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.breed-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.breed-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.breed-card-body { padding: 18px 20px 22px; }
.breed-card-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.breed-card-body p { font-size: 0.92rem; color: var(--color-text-muted); margin-bottom: 14px; }
.breed-card-link { font-weight: 800; font-size: 0.88rem; color: var(--breed-accent-dark); }

/* Konu kartları (ırk sayfası) */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.topic-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--breed-accent);
}

.topic-card .topic-icon {
  font-size: 1.6rem;
  display: inline-block;
  margin-bottom: 12px;
}

.topic-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.topic-card p { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 0; }

.topic-card.is-breed-specific {
  border-style: dashed;
  border-color: var(--breed-accent);
  background: var(--breed-accent-tint);
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--breed-accent-dark);
  margin-bottom: 8px;
}

/* Güven / özellik şeridi */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.trust-item { text-align: left; }
.trust-item .trust-icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.trust-item h3 { font-size: 1.05rem; }
.trust-item p { font-size: 0.9rem; color: var(--color-text-muted); }

/* CTA kutusu — [cta] shortcode önizlemesi */
.cta-box {
  background: var(--color-primary-dark);
  color: #FCF6EA;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-box h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.cta-box p { color: #E4E0D2; margin-bottom: 0; }
.cta-box .btn-cta { background: #FCF6EA; color: var(--color-primary-dark); }
.cta-box .btn-cta:hover { background: #fff; }

/* SSS accordion — [sss] shortcode önizlemesi */
.faq-accordion { display: grid; gap: 12px; }

.faq-accordion details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}

.faq-accordion summary {
  font-weight: 700;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after { content: "+"; font-size: 1.3rem; color: var(--breed-accent); }
.faq-accordion details[open] summary::after { content: "–"; }
.faq-accordion .faq-answer { padding-bottom: 16px; color: var(--color-text-muted); margin: 0; }

/* İlgili konular — [ilgili_konular] shortcode önizlemesi */
.related-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-topics a {
  display: inline-block;
  text-decoration: none;
  background: var(--breed-accent-tint);
  color: var(--breed-accent-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.88rem;
}

.related-topics a:hover { background: var(--breed-accent); color: #fff; }

/* Konu içerik gövdesi (standart şablon önizlemesi) */
.article-body h2 { font-size: 1.3rem; margin-top: 1.6em; }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: 0.4em; }

.content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
}

.sidebar-card h4 { font-size: 0.95rem; margin-bottom: 12px; }

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: #E4E0D2;
  padding: 48px 0 28px;
  margin-top: 40px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer .brand { color: #fff; }
.site-footer p { color: #C9C4B4; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 24px;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #B3AE9F;
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .content-layout { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}
