/* ==========================================================================
   Smiley Herb — tasarım sistemi
   Renk, tipografi ve bileşenler. Tek sayfa için değil; tüm site ortak.
   ========================================================================== */

:root {
  /* Renkler */
  --teal: #1c7c74;
  --teal-deep: #235f57;
  --teal-darker: #1b4a44;
  --teal-tint: #e4efea;
  --orange: #ee7124;
  --orange-deep: #c85a18;
  --cream: #f5efe0;
  --cream-light: #faf6ec;
  --ink: #33302a;
  --ink-2: #5c574e;
  --muted: #8a8377;
  --white: #ffffff;

  /* Tipografi */
  --font-head: "Baloo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ölçü */
  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 12px 30px rgba(35, 95, 87, 0.10);
  --shadow-sm: 0 6px 16px rgba(35, 95, 87, 0.08);
}

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--teal-deep);
}

p { margin: 0 0 1rem; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--orange-deep); }
img { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

/* erişilebilirlik */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0; z-index: 1000;
}
.skip-link:focus { left: 0; color: #fff; }

.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;
}

/* ---------- yerleşim ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; position: relative; }
.section--alt { background: var(--white); }
.section--cream { background: var(--cream-light); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; color: var(--teal-deep);
  background: var(--teal-tint); padding: 7px 14px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.eyebrow svg { width: 16px; height: 16px; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); color: #fff; }
.btn-secondary { background: var(--white); color: var(--teal); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: #fff; color: var(--teal-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 239, 224, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(35, 95, 87, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: auto; height: 38px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 21px; line-height: 1; }
.brand__name .a { color: var(--teal); }
.brand__name .b { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--teal-deep);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream-light); border-bottom: 1px solid rgba(35,95,87,.12);
    padding: 8px 0; box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .25s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 26px; font-size: 16px; border-bottom: 1px solid rgba(35,95,87,.06); }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); text-align: center; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 80px 22px 110px; }
.hero h1 { font-size: clamp(40px, 8vw, 76px); font-weight: 800; margin: 18px 0 10px; }
.hero h1 .a { color: var(--teal); }
.hero h1 .b { color: var(--orange); }
.hero__tagline { font-family: var(--font-head); font-weight: 600; color: var(--orange-deep); font-size: clamp(18px, 3vw, 24px); margin: 0 0 14px; }
.hero__sub { color: var(--ink-2); font-size: 1.1rem; max-width: 540px; margin: 0 auto 26px; }

/* ---------- dalga ayraç ---------- */
.wave { display: block; width: 100%; height: auto; line-height: 0; }

/* ---------- hikâye / değer ızgarası ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.story-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
.mv__label { font-weight: 600; color: var(--teal); margin-bottom: 4px; }
.mv__label svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }

.card {
  background: var(--white); border: 1px solid rgba(35,95,87,.10);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 20px; }

@media (max-width: 860px) {
  .grid--3, .grid--4, .story-grid { grid-template-columns: 1fr; }
}

/* ---------- ürün bölümü ---------- */
.product { background: var(--teal-deep); color: #fff; position: relative; overflow: hidden; }
.product__bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.product__inner { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.product h2 { color: #fff; font-size: clamp(30px, 5vw, 46px); }
.product p { color: #dcefea; font-size: 1.08rem; max-width: 440px; }
.product .pill {
  display: inline-block; font-weight: 600; font-size: 13px; color: #0f3f39;
  background: #bfe6d9; padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.product__visual { display: flex; justify-content: center; }
.product__visual img, .product__visual svg { max-width: 320px; width: 100%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); border-radius: var(--radius); }

@media (max-width: 860px) {
  .product__inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .product p { margin-left: auto; margin-right: auto; }
  .product .btn-row { justify-content: center; }
}

/* ---------- bitki rehberi kartları ---------- */
.herb { text-align: center; }
.herb__icon {
  width: 64px; height: 64px; margin: 0 auto 14px; color: var(--teal);
  background: var(--teal-tint); border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.herb__icon svg { width: 32px; height: 32px; }
.herb h3 { font-size: 19px; margin-bottom: 4px; }
.herb em { color: var(--muted); font-style: italic; font-size: 14px; display: block; margin-bottom: 8px; }
.herb p { color: var(--ink-2); font-size: 15px; }

/* ---------- uyarı kutusu (mevzuat) ---------- */
.notice {
  background: var(--teal-tint); border: 1px solid rgba(35,95,87,.18);
  border-radius: var(--radius); padding: 22px 24px; color: var(--teal-darker);
}
.notice h3 { color: var(--teal-darker); font-size: 18px; }
.notice ul { display: grid; gap: 8px; }
.notice li { position: relative; padding-left: 24px; font-size: 15px; }
.notice li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px;
  background: var(--orange); border-radius: 3px; transform: rotate(45deg);
}

/* ---------- tablo (besin değerleri / içindekiler) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(35,95,87,.12); }
table.data { width: 100%; border-collapse: collapse; background: #fff; }
table.data th, table.data td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(35,95,87,.08); font-size: 15px; }
table.data th { background: var(--teal-tint); color: var(--teal-darker); font-weight: 600; }
table.data td:last-child, table.data th:last-child { text-align: right; }

/* ---------- formlar ---------- */
.form { display: grid; gap: 16px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: 15px; color: var(--ink-2); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #d9cfb6; border-radius: var(--radius-sm);
  background: #fff; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(28,124,116,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.hp { position: absolute; left: -9999px; } /* honeypot */

/* ---------- footer ---------- */
.site-footer { background: var(--teal-darker); color: #cfe3de; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.site-footer .brand__name .a, .site-footer .brand__name .b { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: 17px; margin: 0 0 14px; }
.site-footer a { color: #cfe3de; }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; font-size: 15px; }
.footer-disclaimer { font-size: 14px; line-height: 1.6; color: #a9c7c0; margin-top: 14px; }
.social { display: flex; gap: 14px; margin-top: 6px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.10); display: flex; align-items: center; justify-content: center; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13px; color: #a9c7c0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
}

/* ---------- yardımcılar ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.anchor { scroll-margin-top: 90px; }

/* ---------- iç sayfa başlığı ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--cream); text-align: center; padding: 64px 22px 56px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page-hero h1 { font-size: clamp(34px, 6vw, 56px); }
.page-hero p { color: var(--ink-2); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- SSS akordeon ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--white); border: 1px solid rgba(35,95,87,.12); border-radius: var(--radius); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--teal-deep); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--orange); line-height: 1; }
.faq details[open] summary { color: var(--orange-deep); }
.faq details[open] summary::after { content: "\2013"; }
.faq .faq__a { padding: 0 22px 18px; color: var(--ink-2); }
.faq .faq__a p { margin: 0; }

/* ---------- okunur metin (yasal / uzun) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 24px; margin-top: 34px; }
.prose h3 { font-size: 19px; margin-top: 24px; color: var(--teal); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-bottom: 1rem; }
.prose a { text-decoration: underline; }
.muted-note { font-size: 14px; color: var(--muted); }

/* ---------- bitki kartı (detaylı) ---------- */
.herb-card { display: grid; gap: 6px; }
.herb-card .meta { font-size: 14px; color: var(--muted); margin: 0; }
.herb-card .meta b { color: var(--teal-deep); font-weight: 600; }

/* ---------- hero: marka küçük, slogan büyük ---------- */
.hero__brand { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 3vw, 26px); margin: 0 0 6px; }
.hero__brand .a { color: var(--teal); }
.hero__brand .b { color: var(--orange); }
.hl-teal { color: var(--teal); font-weight: 600; }
.hl-orange { color: var(--orange-deep); font-weight: 600; }

/* ---------- misyon / vizyon kartları ---------- */
.mv-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .mv-grid { grid-template-columns: 1fr; } }

/* ---------- içerik bitkileri (kompakt kart) ---------- */
.herb-mini-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.herb-mini { position: relative; overflow: hidden; background: var(--white); border: 1px solid rgba(35,95,87,.10); border-radius: 14px; padding: 16px 16px 18px; box-shadow: var(--shadow-sm); }
.herb-mini h3 { font-size: 16px; margin: 0 0 2px; }
.herb-mini em { color: var(--muted); font-style: italic; font-size: 13px; }

/* kart kenarı botanik illüstrasyon */
.herb-card, .herb-mini { position: relative; }
.herb-card::after, .herb-mini::after {
  content: ""; position: absolute; right: -6px; bottom: -10px; width: 68px; height: 84px; opacity: .15; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 90' fill='none' stroke='%231c7c74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 90 C 33 60 22 42 30 8'/%3E%3Cpath d='M30 32 C 16 26 12 14 16 5 C 26 9 30 22 30 32 Z'/%3E%3Cpath d='M30 32 C 44 26 48 14 44 5 C 34 9 30 22 30 32 Z'/%3E%3Cpath d='M30 54 C 19 49 16 39 19 32 C 27 36 30 46 30 54 Z'/%3E%3Cpath d='M30 54 C 41 49 44 39 41 32 C 33 36 30 46 30 54 Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- footer: logo görünürlüğü + değerler + adres ---------- */
.site-footer .brand__mark { background: #f5efe0; border-radius: 10px; padding: 6px; box-sizing: content-box; }
.footer-values { display: flex; gap: 22px; margin: 18px 0 14px; flex-wrap: wrap; }
.fv { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 13px; color: #cfe3de; font-weight: 500; }
.fv__i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.10); display: flex; align-items: center; justify-content: center; color: #fff; }
.fv__i svg { width: 20px; height: 20px; }
.footer-addr { display: block; color: #cfe3de; font-size: 14px; line-height: 1.5; margin-top: 4px; }
