/* Mahzen Gıda — önyüz stilleri */
:root {
  --cream: #fdfbf4;
  --paper: #fffdf8;
  --ink: #1d2318;
  --ink-soft: #4a4d44;
  --muted: #6d6f66;
  --green: #353f28;
  --green-deep: #2b3420;
  --copper: #9b5e22;
  --copper-soft: #c48a4f;
  --line: #e8e2d4;
  --wheat: #e7d5b6;
  --serif-display: "DM Serif Display", "Playfair Display", Georgia, serif;
  --serif: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  --wrap: 1640px;
  --gutter: clamp(16px, 5.5vw, 86px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif-display); font-weight: 400; margin: 0; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0; }

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

.eyebrow {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 500;
}

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; gap: 22px;
  background: var(--green); color: #f6f2e7;
  border: 0; border-radius: 999px;
  font-family: var(--serif); font-size: 19px;
  padding: 13px 34px; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sm { font-size: 17px; padding: 11px 26px; gap: 20px; }

.arrow { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.text-link {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 17px; color: var(--ink);
  padding-bottom: 6px; border-bottom: 1px solid var(--copper);
}
.text-link .arrow { color: var(--copper); width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .arrow { transform: translateX(4px); }

/* Üst menü */
.site-header { position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 128px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: none; }
.brand img { width: 62px; height: auto; }
.brand span { font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.22em; padding-left: .22em; color: var(--ink); }

.nav { display: flex; gap: clamp(22px, 3.3vw, 50px); align-items: center; margin-right: auto; margin-left: clamp(40px, 18vw, 290px); }
.nav a { font-size: 17px; position: relative; padding: 6px 0; color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

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

/* Ana sayfa üst alan */
.hero { position: relative; margin-top: -38px; min-height: clamp(440px, 32vw, 520px); }
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 58%;
  clip-path: url(#hero-clip);
  -webkit-clip-path: url(#hero-clip);
  background: #d9c9ac;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__body { position: relative; z-index: 2; padding-top: 104px; padding-bottom: 80px; max-width: min(620px, 40vw); }
.hero h1 { font-size: clamp(42px, 4.45vw, 74px); line-height: 1.02; letter-spacing: -0.035em; margin: 18px 0 26px; }
.hero p.lead { font-size: clamp(19px, 1.6vw, 23px); color: var(--ink-soft); margin-bottom: 38px; }

.wheat-deco { position: absolute; left: 0; bottom: 0; width: 300px; height: 170px; pointer-events: none; z-index: 1; }

/* Tanıtım satırı */
.intro { padding: 36px 0 44px; }
.intro .wrap { display: grid; grid-template-columns: auto 1px 1fr auto; gap: 52px; align-items: center; }
.intro h2 { font-size: clamp(34px, 3.4vw, 50px); line-height: 1.1; margin-top: 8px; }
.intro .rule { display: block; width: 42px; height: 2px; background: var(--copper); margin-top: 20px; }
.intro .divider { align-self: stretch; background: var(--line); }
.intro p { font-size: 20px; color: var(--ink-soft); max-width: 600px; line-height: 1.55; }

/* Kartlar */
.cards { padding: 0 0 42px; }
.cards .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1500px; padding: 0 clamp(16px, 2.6vw, 40px); }
.card {
  display: flex; align-items: center; gap: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: 30px 30px 30px 32px; min-height: 120px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: 0 14px 30px -18px rgba(53, 63, 40, .35); transform: translateY(-2px); border-color: #ddd4c1; }
.card__icon { width: 56px; height: 56px; color: var(--copper); flex: none; display: grid; place-items: center; }
.card__icon svg { width: 56px; height: 56px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card__text { flex: 1; min-width: 0; }
.card h3 { font-size: 26px; line-height: 1.2; }
.card p { font-size: 17px; color: var(--muted); margin-top: 2px; }
.card__go { padding-left: 24px; border-left: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; color: var(--copper); }
.card:hover .card__go .arrow { transform: translateX(4px); }
.card__go .arrow { transition: transform .2s; }

/* Altbilgi */
.site-footer { background: var(--green); color: #eae6da; margin-top: 0; }
.site-footer .top { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; }
.site-footer .name { font-size: 17px; letter-spacing: 0.3em; text-transform: uppercase; padding-top: 4px; }
.site-footer .domain { font-size: 18px; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 22px; font-size: 15px; color: #c9c7b8; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.site-footer .bottom span { display: inline-flex; gap: 8px; }
.site-footer a:hover { color: #fff; }

/* İç sayfalar */
.page-head { position: relative; padding: 40px 0 56px; overflow: hidden; }
.page-head h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.05; margin-top: 12px; letter-spacing: -0.03em; }
.page-head p { font-size: 20px; color: var(--ink-soft); margin-top: 16px; max-width: 640px; }
.page-head .rule { display: block; width: 42px; height: 2px; background: var(--copper); margin-top: 22px; }
.page-head .wheat-deco { left: auto; right: -20px; transform: scaleX(-1); opacity: .9; }
.crumbs { font-size: 15px; color: var(--muted); display: flex; gap: 10px; }
.crumbs a:hover { color: var(--copper); }

.section { padding: 10px 0 80px; }

.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.about-grid .copy p { font-size: 20px; color: var(--ink-soft); margin-bottom: 20px; }
.about-grid .copy h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 24px; line-height: 1.12; }
.about-photo { border-radius: 180px 6px 6px 6px; overflow: hidden; aspect-ratio: 4 / 3.4; background: #d9c9ac; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-top: 34px; }
.facts div { background: var(--paper); padding: 22px 22px; }
.facts strong { display: block; font-family: var(--serif-display); font-weight: 400; font-size: 22px; color: var(--ink); }
.facts span { font-size: 16px; color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.tile:hover { box-shadow: 0 16px 34px -20px rgba(53, 63, 40, .4); transform: translateY(-3px); }
.tile__img { aspect-ratio: 16 / 10; background: #efe7d6; display: grid; place-items: center; overflow: hidden; color: var(--copper-soft); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; }
.tile__img svg { width: 64px; height: 64px; stroke: currentColor; fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.tile__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tile h3 { font-size: 25px; line-height: 1.2; }
.tile p { color: var(--muted); font-size: 17px; }
.tile .meta { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; color: var(--copper); font-size: 16px; }

.product-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.product .tile__img { aspect-ratio: 1 / 1; }
.product .tile__img svg { width: 48px; height: 48px; }
.product__body { padding: 18px 20px 20px; }
.product h3 { font-size: 21px; line-height: 1.25; }
.product .pack { font-size: 15px; color: var(--copper); margin-top: 4px; }
.product p { font-size: 16px; color: var(--muted); margin-top: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 50px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 16px; background: var(--paper); }
.chips a:hover { border-color: var(--copper); color: var(--copper); }

.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.brand-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.brand-card .logo { height: 96px; display: flex; align-items: center; justify-content: center; background: #f6f1e6; border-radius: 4px; padding: 14px; }
.brand-card .logo img { max-height: 68px; width: auto; object-fit: contain; }
.brand-card .logo .initial { font-family: var(--serif-display); font-size: 40px; color: var(--copper); }
.brand-card h3 { font-size: 24px; }
.brand-card p { color: var(--muted); font-size: 17px; }
.brand-card a.site { color: var(--copper); font-size: 16px; margin-top: auto; }

.empty { padding: 50px; text-align: center; border: 1px dashed var(--line); border-radius: 6px; color: var(--muted); }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.info-list > div { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-list svg { width: 26px; height: 26px; stroke: var(--copper); fill: none; stroke-width: 1.4; flex: none; margin-top: 3px; stroke-linecap: round; stroke-linejoin: round; }
.info-list small { display: block; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.info-list span, .info-list a { font-size: 19px; }
.info-list a:hover { color: var(--copper); }
.map { margin-top: 28px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 3vw, 40px); }
.form h2 { font-size: 32px; margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 26px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 15px; color: var(--ink-soft); }
.field input, .field textarea {
  font: inherit; font-size: 18px; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 4px;
  padding: 12px 14px; width: 100%;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper-soft); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.field .err { color: #a3361f; font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert-ok { background: #edf1e4; border: 1px solid #cdd8b8; color: #33401f; padding: 14px 18px; border-radius: 4px; margin-bottom: 22px; }

/* Duyarlı */
@media (max-width: 1180px) {
  .nav { margin-left: 40px; }
  .intro .wrap { grid-template-columns: 1fr 1px 1fr; }
  .intro .wrap > .text-link { grid-column: 1 / -1; justify-self: start; }
  .cards .wrap { grid-template-columns: 1fr; max-width: 760px; gap: 16px; }
  .product-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .site-header .wrap { height: 96px; }
  .brand img { width: 46px; }
  .brand span { font-size: 12px; }
  .menu-toggle { display: block; order: 3; }
  .header-cta { display: none; }
  .nav {
    position: absolute; top: 96px; left: 12px; right: 12px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
    box-shadow: 0 20px 40px -24px rgba(0,0,0,.35);
    padding: 8px 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--copper); }

  .hero { margin-top: 0; min-height: 0; display: flex; flex-direction: column-reverse; }
  .hero__media { position: relative; width: 100%; height: 62vw; max-height: 440px; clip-path: url(#hero-clip-m); -webkit-clip-path: url(#hero-clip-m); }
  .hero__body { padding-top: 34px; padding-bottom: 50px; max-width: 640px; }
  .wheat-deco { display: none; }

  .intro .wrap { grid-template-columns: 1fr; gap: 20px; }
  .intro .divider { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .brand-grid { grid-template-columns: 1fr 1fr; }
  .product-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .grid-3, .brand-grid { grid-template-columns: 1fr; }
  .card { padding: 22px 20px; gap: 16px; }
  .card__icon, .card__icon svg { width: 42px; height: 42px; }
  .card h3 { font-size: 22px; }
  .card p { font-size: 16px; }
  .card__go { padding-left: 14px; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .facts { grid-template-columns: 1fr; }
  .site-footer .top { flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 26px; padding-bottom: 20px; gap: 6px; }
  .page-head .wheat-deco { display: none; }
  .intro p { font-size: 18px; }
}
