/* Sirinler.net — şirin köy / orman teması */
:root {
  --smurf: #1b6fd4;
  --smurf-dark: #0d4a9c;
  --smurf-light: #5aa7ff;
  --forest: #1a6b3a;
  --forest-deep: #0f3d22;
  --mushroom-cap: #e84a4a;
  --mushroom-dot: #fff5f0;
  --cream: #fff8eb;
  --cream-dark: #f0e4c8;
  --ink: #1a2f1f;
  --white: #ffffff;
  --shadow: rgba(13, 61, 34, 0.18);
  --radius: 18px;
  --font: "Nunito", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(165deg, #87ceeb 0%, #b8e0ff 35%, #c8f0d8 70%, #7bc96f 100%);
  min-height: 100vh;
  line-height: 1.55;
}

a {
  color: var(--smurf-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--smurf);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Üst şerit: mantar silueti */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  border-bottom: 4px solid var(--forest);
  box-shadow: 0 8px 24px var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--smurf-dark);
  text-decoration: none;
}

.brand:hover {
  color: var(--smurf);
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: contain;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.85),
    0 3px 12px rgba(13, 61, 34, 0.2);
}

.site-nav {
  display: flex;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--forest-deep);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: rgba(27, 111, 212, 0.12);
  color: var(--smurf-dark);
}

.btn-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
  background: linear-gradient(180deg, var(--smurf-light) 0%, var(--smurf) 45%, var(--smurf-dark) 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--smurf-dark), 0 8px 20px rgba(13, 74, 156, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-connect:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--smurf-dark), 0 12px 24px rgba(13, 74, 156, 0.4);
  color: var(--white);
}

.btn-connect:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--smurf-dark);
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-top: 3.5rem;
  }
}

.hero-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 900;
  color: var(--forest-deep);
  line-height: 1.2;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6);
}

.hero-lead {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  opacity: 0.88;
}

.hero-art {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hill {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  max-width: 520px;
  height: 120px;
  background: radial-gradient(ellipse at 50% 0%, #5cb85c 0%, #3d9a3d 55%, #2d7a2d 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.mushroom-house {
  position: relative;
  z-index: 2;
  width: 200px;
  height: auto;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.15));
}

/* Kartlar */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--forest-deep);
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  border: 3px solid var(--forest);
  box-shadow: 0 6px 0 rgba(26, 107, 58, 0.25);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--smurf-dark);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

/* SEO makale bloğu */
.article-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.article-section .article-inner {
  background: var(--cream);
  border: 3px solid var(--forest);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 8px 24px var(--shadow);
}

.article-section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--forest-deep);
  line-height: 1.25;
}

.article-section h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--smurf-dark);
}

.article-section h3:first-of-type {
  margin-top: 0.75rem;
}

.article-section p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--ink);
}

.article-section p:last-child {
  margin-bottom: 0;
}

.article-inner h1 {
  margin: 0 0 1rem;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--forest-deep);
  line-height: 1.25;
}

.article-section .article-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.page-doc .article-section {
  padding-top: 1.25rem;
}

.article-inner ul.doc-list {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.article-inner ul.doc-list li,
.article-inner ol.doc-list li {
  margin-bottom: 0.4rem;
}

.article-inner ol.doc-list {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.article-inner code {
  font-size: 0.92em;
  background: rgba(27, 111, 212, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}

.site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-bottom: 1rem;
}

.site-footer .footer-nav a {
  font-weight: 700;
  text-decoration: none;
  color: var(--smurf-dark);
}

.site-footer .footer-nav a:hover {
  text-decoration: underline;
  color: var(--smurf);
}

/* Sohbet sayfası */
body.page-sohbet {
  background: linear-gradient(180deg, #a8dafb 0%, #d4f0e8 50%, #8fd98a 100%);
}

.chat-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
}

.chat-panel {
  background: var(--cream);
  border-radius: var(--radius);
  border: 4px solid var(--forest);
  overflow: hidden;
  box-shadow: 0 12px 32px var(--shadow);
}

.chat-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, var(--smurf) 0%, var(--smurf-dark) 100%);
  color: var(--white);
}

.chat-panel-head h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
}

.chat-panel-head p {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.95;
}

.chat-stage {
  position: relative;
  min-height: min(72vh, 640px);
  background: repeating-linear-gradient(
      90deg,
      rgba(27, 111, 212, 0.04) 0px,
      rgba(27, 111, 212, 0.04) 1px,
      transparent 1px,
      transparent 24px
    ),
    linear-gradient(180deg, #eef7ff 0%, #e0f0ff 100%);
}

.chat-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--forest-deep);
}

.chat-placeholder strong {
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.5rem;
}

.chat-placeholder code {
  font-size: 0.85rem;
  background: rgba(27, 111, 212, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

/* iframe embed alanı — sohbet uygulaması buraya */
#sohbet-icerik {
  display: block;
  width: 100%;
  height: min(72vh, 640px);
  border: 0;
  background: #fff;
}

.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--forest-deep);
  opacity: 0.9;
}
