/* ==========================================================================
   qr.dagcidogal.com — ortak stil dosyası
   Renkler Dağcı Doğal logosundan örneklendi:
   koyu yeşil #204010 · açık yeşil #A0C020 · kahve #6B3A1F
   ========================================================================== */

:root {
  --ink:        #1a2214;
  --ink-soft:   #5d6a55;
  --paper:      #f4f1e6;
  --card:       #ffffff;

  --forest:     #26441a;
  --forest-dk:  #14260d;
  --moss:       #46661e;
  --leaf:       #a3c62e;
  --leaf-lt:    #b7db5c;
  --clay:       #8a5a2b;

  --line:       rgba(38, 68, 26, .13);
  --whatsapp:   #1faa54;

  --radius-lg: 26px;
  --radius-md: 16px;
  --shadow: 0 1px 2px rgba(20, 38, 13, .06),
            0 14px 44px -14px rgba(20, 38, 13, .28);

  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  padding: 30px 16px 40px;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("/assets/img/desen.webp");
  background-size: 540px auto;
  background-position: center top;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* --- kart iskeleti ------------------------------------------------------ */

.card {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* --- ürün fotoğrafı banner'ı -------------------------------------------- */

/* görsel banner oranında kesildi; aspect-ratio ile kırpılmadan ölçeklenir */
.cover {
  aspect-ratio: 1000 / 482;
  background-color: var(--forest-dk);
  background-image: url("/assets/img/kapak.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- marka başlığı: banner'a taşan yuvarlak logo ------------------------ */

.hero {
  /* flow-root şart: yoksa .hero__avatar'ın negatif üst boşluğu bu kutuyla
     birleşir (margin collapsing) ve logo yerine tüm beyaz blok yukarı kayar */
  display: flow-root;
  padding: 0 26px 24px;
  text-align: center;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

/* logonun yarısı banner'ın üstünde durur */
.hero__avatar {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  margin: -63px auto 16px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 5px var(--card),
              0 12px 28px -12px rgba(20, 38, 13, .65);
}

.hero__avatar img {
  width: 78%;
  height: auto;
  transform: translateY(-2px);
}

.hero__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--forest);
  text-wrap: balance;
}

.hero__role {
  margin: 9px 0 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--moss);
}

.hero__tagline {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: balance;
}

/* --- bölümler ----------------------------------------------------------- */

.section { padding: 22px 20px; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }

.section__title {
  margin: 0 0 14px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --- hızlı aksiyonlar (3'lü grid) --------------------------------------- */

.actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fbfaf5;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.action:hover, .action:focus-visible {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(20, 38, 13, .35);
}

.action svg { width: 22px; height: 22px; }

.action--whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #fff;
}
.action--whatsapp:hover, .action--whatsapp:focus-visible { background: #1b9a4c; }

/* --- bağlantı listesi --------------------------------------------------- */

.links { display: grid; gap: 10px; }

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fbfaf5;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.link:hover, .link:focus-visible {
  background: #fff;
  border-color: rgba(163, 198, 46, .75);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(20, 38, 13, .3);
}

.link__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--forest);
  color: #fff;
}
.link__icon svg { width: 20px; height: 20px; }

/* platformların kendi logoları — beyaz karo üstünde */
.link__icon--brand {
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px;
}
.link__icon--brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.link__icon--clay { background: var(--clay); }
.link__icon--moss { background: var(--moss); }

.link__text { min-width: 0; flex: 1; }

.link__label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* "yönlendirme" gibi küçük etiket — başlığın yanında */
.link__tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(38, 68, 26, .09);
  color: var(--moss);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  vertical-align: 1px;
}

.link__meta {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link__chevron { flex: 0 0 auto; width: 18px; height: 18px; color: #b6bfae; }

/* --- harita kartı ------------------------------------------------------- */

.mapcard {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fbfaf5;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.mapcard:hover, .mapcard:focus-visible {
  border-color: rgba(163, 198, 46, .75);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(20, 38, 13, .38);
}

/* görsel 2x üretildi (840×420), sayfada yarısı gösterilir */
.mapcard__map {
  display: block;
  aspect-ratio: 2 / 1;
  background-color: #e9e5dc;
  background-image: url("/assets/img/harita.webp");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.mapcard__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.mapcard__pin {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--moss);
}

.mapcard__text { flex: 1; min-width: 0; }

.mapcard__addr {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.mapcard__city {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-soft);
}

.mapcard__cta {
  flex: 0 0 auto;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.mapcard:hover .mapcard__cta, .mapcard:focus-visible .mapcard__cta {
  background: var(--forest-dk);
}

/* --- bilgi satırları ---------------------------------------------------- */

.info { display: grid; gap: 14px; }
.info--spaced { margin-top: 18px; }

.info__row { display: flex; gap: 14px; align-items: flex-start; }

.info__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--moss);
}

.info__label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.info__value { margin: 2px 0 0; font-size: 15px; }
.info__value a { text-decoration: none; border-bottom: 1px solid var(--line); }

.info__note {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--moss);
  font-weight: 600;
}

/* --- alt aksiyonlar ----------------------------------------------------- */

.footer-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 20px;
  background: #faf8f1;
  border-top: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }

.btn--primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(20, 38, 13, .9);
}
.btn--primary:hover, .btn--primary:focus-visible { background: var(--forest-dk); }

.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--forest);
}
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--leaf); }

/* --- sayfa altı --------------------------------------------------------- */

.colophon {
  max-width: 460px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.colophon a { color: var(--moss); }

/* --- yardımcılar -------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--forest-dk);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 10;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 380px) {
  body { padding: 18px 12px 32px; }
  .hero { padding: 28px 20px 26px; }
  .hero__tagline { font-size: 16px; }
  .action { font-size: 11.5px; }
}
