/* ==========================================================
   Ave Lora — Wellness Nutrition
   Sade ve premium tek sayfa tasarım
   ========================================================== */

:root {
  /* Renkler */
  --cream: #F7EFE7;
  --cream-2: #F1E5D9;
  --sand: #E8D8C8;
  --ink: #3A2318;          /* başlıklar */
  --text: #5A4337;         /* gövde metni */
  --muted: #7A6355;        /* ikincil metin */
  --line: #DCC9B7;
  --primary: #4A2A1B;      /* buton */
  --primary-hover: #33190E;
  --on-primary: #FBF6F1;
  --gold: #A9814F;         /* dekoratif */
  --gold-text: #8A6338;    /* altın tonlu metin (kontrast uyumlu) */
  --tea: #B4473B;
  --coffee: #8B4C59;

  /* Tipografi */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ölçüler */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 24px 60px -32px rgba(74, 42, 27, .35);

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; margin: 0; line-height: 1.08; letter-spacing: -.005em; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--on-primary);
  padding: 10px 16px; border-radius: 6px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Ortak öğeler ------------------------------------------- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.eyebrow span { margin-inline: .7em; color: var(--gold); }

.rule {
  display: block;
  width: 44px; height: 1px;
  background: var(--gold);
  margin: 0 0 28px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px;
  padding: 14px 30px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  border-radius: 2px;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 12px 28px -14px rgba(51, 25, 14, .6); }
.btn-primary:hover .icon { transform: translateX(4px); }
.btn-primary:active { transform: scale(.98); }

.btn-link {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-size: 15px; font-weight: 500; letter-spacing: .08em;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.btn-link:hover { color: var(--gold-text); }

/* Logo --------------------------------------------------- */
.logo {
  display: inline-flex; flex-direction: column; align-items: center;
  color: var(--ink);
  line-height: 1;
}
.logo-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: .04em;
}
.logo-o { position: relative; display: inline-block; }
.logo-leaf {
  position: absolute;
  width: 15px; height: 15px;
  top: -9px; left: 58%;
  transform: rotate(-12deg);
  fill: var(--gold);
  stroke: var(--gold);
  stroke-width: 1;
}
.logo-leaf path:last-child { stroke: var(--cream); stroke-width: 1.2; }
.logo-sub {
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--text);
  padding-left: .38em;
}

/* Başlık (header) ----------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 239, 231, .9);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -24px rgba(58, 35, 24, .5); }

.header-inner {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav-right { justify-content: flex-end; }
.nav a:not(.nav-cta) {
  position: relative;
  font-size: 16px;
  color: var(--ink);
  padding-block: 10px;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  font-size: 14px; font-weight: 500; letter-spacing: .06em;
  padding: 11px 20px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 2px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav-cta:hover { background: var(--primary); color: var(--on-primary); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  justify-self: end;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 20px;
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }

/* Hero --------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: center;
  background: var(--cream-2);
  overflow: hidden;
  min-height: clamp(540px, 70vh, 680px);
}
.hero-media { order: 2; position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 1156 / 582;
  object-fit: cover;
  /* Görseli krem zemine yumuşakça eritir */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite: intersect;
}
.hero-content {
  order: 1;
  position: relative; z-index: 2;
  max-width: none; margin: 0;
  padding-block: 72px;
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-right: 8px;
}
.hero h1 {
  font-size: clamp(44px, 4.8vw, 70px);
  max-width: 9.5ch;
  margin-bottom: 26px;
}
.hero .lead {
  max-width: 34ch;
  font-size: 18px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

/* Güven şeridi -------------------------------------------- */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust-list {
  list-style: none; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 26px;
}
.trust-list li {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 15.5px;
  color: var(--ink);
  padding-inline: 12px;
}
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list .icon { width: 28px; height: 28px; color: var(--gold-text); stroke-width: 1.2; }

/* Bölümler ----------------------------------------------- */
.section { padding-block: clamp(80px, 11vw, 140px); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(56px, 8vw, 96px); }
.title-lined {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  font-size: clamp(40px, 4.6vw, 58px);
  margin-bottom: 22px;
}
.title-lined::before, .title-lined::after {
  content: ""; width: 56px; height: 1px; background: var(--ink); opacity: .55;
}
.section-intro { color: var(--muted); font-size: 17px; margin: 0; }

/* Ürünler ------------------------------------------------ */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}
.product + .product { margin-top: clamp(80px, 11vw, 140px); }
.product--reverse .product-media { order: 2; }

.product-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
}
.product--tea .product-media { background: linear-gradient(160deg, #F4E6DA 0%, #EBD3C3 100%); }
.product--coffee .product-media { background: linear-gradient(160deg, #F1E4E0 0%, #E3CFCC 100%); }
.product-media picture { width: 100%; height: 100%; }
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform .8s var(--ease);
}
.product:hover .product-media img { transform: scale(1.03); }

.product-body { max-width: 480px; }
.product-kicker {
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  margin-bottom: 14px;
}
.product--tea .product-kicker { color: var(--tea); }
.product--coffee .product-kicker { color: var(--coffee); }
.product h3 { font-size: clamp(40px, 4.4vw, 58px); margin-bottom: 12px; }
.product-tr { font-size: 17px; color: var(--ink); font-weight: 500; margin-bottom: 28px; }
.product-tr span { color: var(--gold); margin-inline: .4em; }
.product-body > p:not([class]) { color: var(--text); }

.specs {
  list-style: none; padding: 0;
  margin: 32px 0 36px;
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.specs li {
  flex: 1 1 0;
  padding: 16px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .04em;
}
.specs li + li { border-left: 1px solid var(--line); }
.specs strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px; font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.btn-buy { min-width: 210px; }

/* Hakkımızda --------------------------------------------- */
.about { background: var(--cream-2); position: relative; overflow: hidden; }
.about::before {
  /* İnce dekoratif yaprak */
  content: "";
  position: absolute; left: -110px; bottom: -110px;
  width: 340px; height: 340px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9814F' stroke-width='.18' stroke-linecap='round'%3E%3Cpath d='M5 19c0-8 5-14 15-15-1 10-7 15-15 15Z'/%3E%3Cpath d='M5 19 14 10M9 15l-.5-3.5M11.5 12.5l-.3-3M9 15l3.3.4M11.5 12.5l3 .3'/%3E%3C/svg%3E");
  opacity: .45;
  pointer-events: none;
}
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
.about h2 { font-size: clamp(40px, 4.6vw, 58px); margin-bottom: 26px; max-width: 13ch; }
.about-text p:not(.eyebrow) { max-width: 56ch; }

.values { list-style: none; margin: 0; padding: 0; }
.values li {
  display: grid; grid-template-columns: 64px 1fr; gap: 8px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.values li:last-child { border-bottom: 1px solid var(--line); }
.value-no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--gold-text);
  line-height: 1.2;
}
.values h3 { font-size: 28px; margin-bottom: 6px; }
.values p { margin: 0; color: var(--muted); font-size: 16px; }

/* Alt bilgi ---------------------------------------------- */
.site-footer {
  background: var(--primary);
  color: rgba(251, 246, 241, .78);
  padding-top: 80px;
  font-size: 15.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.logo--footer { align-items: flex-start; color: var(--on-primary); margin-bottom: 18px; }
.logo--footer .logo-sub { color: rgba(251, 246, 241, .7); padding-left: 0; }
.logo--footer .logo-leaf path:last-child { stroke: var(--primary); }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--on-primary);
  margin-bottom: 16px;
}
.footer-nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav a, .footer-contact a {
  display: inline-flex; align-items: center;
  min-height: 40px;
  transition: color .2s var(--ease);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--on-primary); }
.footer-contact p { margin: 8px 0 0; }
.footer-bottom {
  border-top: 1px solid rgba(251, 246, 241, .16);
  padding-block: 28px 36px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px;
  font-size: 13.5px;
  color: rgba(251, 246, 241, .62);
}
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 70ch; }

/* Giriş animasyonu ---------------------------------------- */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

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

/* Duyarlı düzen ------------------------------------------ */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .trust-list { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .trust-list li { justify-content: flex-start; }
  .trust-list li:nth-child(3) { border-left: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .logo { align-items: flex-start; }
  .logo-sub { padding-left: 0; }
  .logo-word { font-size: 28px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 88%, transparent 100%);
  }
  .hero-content { padding-block: 56px 8px; padding-right: var(--gutter); }
  .hero h1 { max-width: 12ch; }

  .product, .about-grid { grid-template-columns: 1fr; }
  .product--reverse .product-media { order: 0; }
  .product-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .product-body { max-width: 560px; margin-inline: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 44px; }
  .hero .lead { font-size: 17px; }
  .hero-media img { aspect-ratio: 4 / 3; object-position: 62% 60%; }
  .trust-list { grid-template-columns: 1fr; padding-block: 20px; row-gap: 0; }
  .trust-list li { padding: 12px 0; }
  .trust-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .title-lined { gap: 16px; }
  .title-lined::before, .title-lined::after { width: 28px; }
  .btn-buy { width: 100%; }
  .specs strong { font-size: 23px; }
  .eyebrow { letter-spacing: .22em; }
  .values li { grid-template-columns: 48px 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
