/* Karaova Tarihi Taş Fırın — renkler logodan alındı */
:root {
  --wood-950: #170d08;
  --wood-900: #1f120b;
  --wood-800: #2a1810;
  --wood-700: #3b2318;
  --wood-600: #4e2f20;
  --cream: #f5edde;
  --cream-100: #faf5ec;
  --cream-200: #ebe0cb;
  --wheat: #d2a96c;
  --wheat-dark: #8a6435;
  --ember: #e07b39;
  --ink: #2a1810;
  --muted: #6b5544;
  --whatsapp: #1f9e55;
  --whatsapp-dark: #188a49;

  --font-display: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --container: 1140px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --wheat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='black'%3E%3Cpath d='M11.25 9h1.5v13h-1.5z'/%3E%3Cellipse cx='12' cy='4.5' rx='1.6' ry='3'/%3E%3Cellipse cx='8.6' cy='9' rx='1.5' ry='3' transform='rotate(-40 8.6 9)'/%3E%3Cellipse cx='15.4' cy='9' rx='1.5' ry='3' transform='rotate(40 15.4 9)'/%3E%3Cellipse cx='8.6' cy='14' rx='1.5' ry='3' transform='rotate(-40 8.6 14)'/%3E%3Cellipse cx='15.4' cy='14' rx='1.5' ry='3' transform='rotate(40 15.4 14)'/%3E%3C/g%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--cream);
  background: var(--wood-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.18;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--wheat); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wheat);
  margin-bottom: .9em;
}

/* Ahşap damarı + film greni */
.grain {
  position: relative;
  isolation: isolate;
  background-color: var(--wood-800);
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,.09) 0 2px, transparent 2px 9px, rgba(255,255,255,.018) 9px 11px, transparent 11px 23px),
    linear-gradient(180deg, var(--wood-700), var(--wood-800) 60%, var(--wood-900));
}
.grain::after {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-sm { padding: .5em 1.05em; font-size: .9rem; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 6px 20px rgba(31, 158, 85, .3); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); box-shadow: 0 10px 28px rgba(31, 158, 85, .4); }
.btn-outline { border-color: rgba(245, 237, 222, .55); color: var(--cream); }
.btn-outline:hover { border-color: var(--cream); background: var(--cream); color: var(--ink); }

:where(a, button):focus-visible { outline: 3px solid var(--wheat); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 13, 8, .82);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid rgba(245, 237, 222, .08);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--wheat); }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; letter-spacing: .12em; text-transform: uppercase; }
.brand-sub { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--wheat); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .82; transition: opacity .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--wheat); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 10vw, 128px); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-art { position: relative; display: grid; place-items: center; }
.glow {
  position: absolute; width: 120%; aspect-ratio: 1; z-index: 0;
  background: radial-gradient(circle, rgba(224, 123, 57, .32) 0%, rgba(210, 169, 108, .12) 35%, transparent 65%);
  animation: ember 5s ease-in-out infinite alternate;
}
@keyframes ember {
  from { opacity: .7; transform: scale(.96); }
  to   { opacity: 1;  transform: scale(1.04); }
}
.hero-logo { position: relative; z-index: 1; width: 100%; max-width: 460px; height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); animation: rise 1s var(--ease) both; }
.hero-text > * { animation: rise .9s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; }
.hero-text > :nth-child(3) { animation-delay: .16s; }
.hero-text > :nth-child(4) { animation-delay: .24s; }
.hero-text > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.lead { font-size: 1.2rem; color: var(--cream-200); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-address {
  display: block; margin-top: 26px;
  font-size: .95rem; color: var(--cream-200); text-decoration: none;
}
.hero-address svg { display: inline-block; width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; color: var(--wheat); }
.hero-address span { color: var(--wheat); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Öne çıkanlar şeridi */
.features { background: var(--wood-950); border-block: 1px solid rgba(210, 169, 108, .18); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { display: flex; gap: 16px; align-items: center; padding: 30px 24px; }
.feature + .feature { border-left: 1px solid rgba(210, 169, 108, .14); }
.feature svg { width: 40px; height: 40px; flex: none; color: var(--wheat); padding: 8px; border-radius: 50%; background: rgba(210, 169, 108, .1); box-sizing: content-box; }
.feature h3 { font-size: 1.05rem; margin: 0 0 2px; }
.feature p { margin: 0; font-size: .92rem; color: var(--cream-200); }

/* Bölümler */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-light { background: var(--cream-100); color: var(--ink); }
.section-light .eyebrow { color: var(--wheat-dark); }
.section-light p { color: var(--muted); }
.section-head { text-align: center; margin-bottom: 48px; }

.divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 auto; color: var(--wheat); max-width: 340px;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }
.divider svg { width: 22px; height: 22px; }
.section-light .divider { color: var(--wheat-dark); }

/* Hakkımızda */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-art {
  margin: 0; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 60%, rgba(224, 123, 57, .35), transparent 55%),
    var(--wood-800);
  box-shadow: inset 0 0 0 10px var(--wood-700), inset 0 0 0 12px rgba(210, 169, 108, .5), 0 30px 60px rgba(42, 24, 16, .25);
  max-width: 440px; width: 100%; justify-self: center;
}
.about-art img { width: 64%; height: auto; }
.about-text h2 { margin-bottom: .7em; }
.section-light .signature { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--wheat-dark); margin-top: 1.4em; }

/* Ürünler */
.featured {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(28px, 4vw, 44px);
  margin-bottom: 20px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 15% 50%, rgba(224, 123, 57, .18), transparent 55%),
    rgba(245, 237, 222, .06);
  border: 1px solid rgba(210, 169, 108, .4);
}
.featured img { width: clamp(160px, 22vw, 240px); height: auto; }
.featured h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; }
.featured p { color: var(--cream-200); margin: 0; max-width: 36em; }
.featured .tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wood-900); background: var(--wheat); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}

.products {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.product {
  position: relative;
  background: rgba(245, 237, 222, .04);
  border: 1px solid rgba(245, 237, 222, .12);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .3s, background-color .3s, transform .3s var(--ease), opacity .8s var(--ease);
}
.product:hover { border-color: rgba(210, 169, 108, .6); background: rgba(245, 237, 222, .07); }
.product::before {
  content: ""; display: block; width: 28px; height: 28px; margin-bottom: 14px;
  background: var(--wheat);
  -webkit-mask: var(--wheat-mask) center / contain no-repeat;
          mask: var(--wheat-mask) center / contain no-repeat;
}
.product p { color: var(--cream-200); margin: 0; font-size: .97rem; }
.product-ask { display: grid; justify-items: center; align-content: center; text-align: center; gap: 4px; background: rgba(210, 169, 108, .1); border-style: dashed; border-color: rgba(210, 169, 108, .5); }
.product-ask::before { display: none; }
.product-ask img { width: 150px; height: auto; margin-bottom: 8px; opacity: .9; }
.product .ask-title { font-family: var(--font-display); font-weight: 700; color: var(--cream); font-size: 1.05rem; }
.product-ask a { color: var(--wheat); font-weight: 700; text-decoration: none; }
.product-ask a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.note { text-align: center; color: var(--cream-200); opacity: .75; font-size: .92rem; margin: 28px auto 0; }

/* Sipariş adımları */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  text-align: center;
  padding: 40px 28px 32px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--cream-200);
  box-shadow: 0 12px 30px rgba(42, 24, 16, .06);
}
.step-no {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 900; font-size: 1.35rem;
  color: var(--cream); background: var(--wood-800); box-shadow: 0 0 0 5px var(--cream-200);
}
.step p { margin: 0; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 28px; padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  color: var(--cream);
  background:
    radial-gradient(ellipse at 90% 50%, rgba(224, 123, 57, .3), transparent 50%),
    var(--wood-800);
}
.cta-band h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 900; margin-bottom: .3em; }
.section-light .cta-band p { color: var(--cream-200); margin: 0; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: stretch; }
.contact-cards { display: grid; gap: 14px; align-content: start; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--radius);
  background: rgba(245, 237, 222, .05); border: 1px solid rgba(245, 237, 222, .12);
  text-decoration: none; color: var(--cream-200);
  transition: border-color .3s, background-color .3s, transform .8s var(--ease), opacity .8s var(--ease);
}
.contact-card:hover { border-color: rgba(210, 169, 108, .6); background: rgba(245, 237, 222, .08); }
.contact-card svg { width: 28px; height: 28px; flex: none; color: var(--wheat); margin-top: 2px; }
.contact-card .ic-wa { color: #3ccf7a; }
.contact-card strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--cream); margin-bottom: 2px; }
.contact-card em { display: block; font-style: normal; font-weight: 700; color: var(--wheat); margin-top: 6px; font-size: .92rem; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; border: 1px solid rgba(245, 237, 222, .14); background: var(--wood-700); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: sepia(.25) saturate(.9); }

/* Footer */
.site-footer { background: var(--wood-950); padding: 64px 0 32px; color: var(--cream-200); font-size: .95rem; border-top: 1px solid rgba(210, 169, 108, .15); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-logo { width: 130px; height: auto; opacity: .92; }
.footer-col h4 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wheat); margin-bottom: .9em; font-family: var(--font-body); font-weight: 700; }
.footer-col p { margin: 0; line-height: 1.9; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--wheat); }
.copyright { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(245, 237, 222, .08); font-size: .85rem; opacity: .6; text-align: center; }

/* Sabit WhatsApp butonu (masaüstü) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  transition: transform .25s var(--ease), background-color .25s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whatsapp); animation: ping 2.4s ease-out infinite;
}
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.07); background: var(--whatsapp-dark); }
.wa-float svg { width: 30px; height: 30px; }

/* Alt aksiyon çubuğu (mobil) */
.action-bar { display: none; }

/* Kaydırınca beliren öğeler (JS yoksa hep görünür) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 900px) {
  .hero-inner, .about { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { max-width: 300px; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .about-art { max-width: 320px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Telefon */
@media (max-width: 680px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .nav, .header-cta, .wa-float { display: none; }
  .header-inner { justify-content: center; }
  .hero-actions .btn { width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { padding: 18px 8px; }
  .feature + .feature { border-left: 0; border-top: 1px solid rgba(210, 169, 108, .14); }
  .featured { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .products, .steps { grid-template-columns: 1fr; }
  .cta-band { text-align: center; justify-content: center; }
  .cta-band .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }

  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1.3fr 1fr;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
    background: rgba(23, 13, 8, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(210, 169, 108, .2);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 52px; border-radius: 12px;
    font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--cream);
    background: rgba(245, 237, 222, .07);
  }
  .action-bar svg { width: 22px; height: 22px; }
  .action-bar .ab-wa { background: var(--whatsapp); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
