/* Mercan Tarım — şirket sitesi
   Renkler: tarla yeşili (ana), olgun buğday (vurgu), kaşe mavisi (yalnız resmi bilgiler). */
:root {
  --ink: #1d261f;
  --muted: #56625a;
  --paper: #ffffff;
  --tint: #f1f4ec;
  --line: #dbe2d5;
  --field: #24452b;
  --field-2: #2f5a37;
  --field-ink: #e9f0e4;
  --wheat: #e2aa2c;
  --wheat-hover: #edba45;
  --wheat-ink: #2e2205;
  --stamp: #2b56a6;

  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }

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

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

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

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--field-2);
}
.eyebrow-light { color: var(--wheat); }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn-wheat { background: var(--wheat); color: var(--wheat-ink); }
.btn-wheat:hover { background: var(--wheat-hover); }
.btn-ghost { border-color: rgba(233, 240, 228, 0.45); color: var(--field-ink); }
.btn-ghost:hover { border-color: var(--field-ink); }
.btn-call { background: var(--field); color: #fff; }
.btn-call:hover { background: var(--field-2); }
.btn-outline { border-color: var(--field); color: var(--field); }
.btn-outline:hover { background: var(--field); color: #fff; }

/* ---------- Üst çubuk ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--field);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--field);
}
.brand-place { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; margin-top: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover { color: var(--field); }
.top-call { min-height: 42px; font-size: 18px; padding: 0 18px; }

@media (max-width: 760px) {
  .nav { display: none; }
  .top-call { margin-left: auto; }
}

/* ---------- Giriş ---------- */
.hero {
  background-color: var(--field);
  /* Sürülmüş tarla izleri */
  background-image:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 26px),
    radial-gradient(120% 90% at 100% 0%, rgba(226, 170, 44, 0.16), transparent 60%);
  color: var(--field-ink);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-block: 84px 92px;
}
.hero .eyebrow { color: var(--wheat); }
.hero h1 {
  font-size: clamp(46px, 7vw, 86px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-top: 14px;
  color: #fff;
}
.hero h1 span { color: var(--wheat); }
.lead { margin-top: 22px; font-size: 20px; max-width: 34em; color: rgba(233, 240, 228, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(233, 240, 228, 0.22);
}
.hero-list li {
  font-family: var(--display);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: 0.01em;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid rgba(233, 240, 228, 0.22);
  position: relative;
}
.hero-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--wheat);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 56px 64px; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .lead { font-size: 18px; }
}

/* ---------- Bölümler ---------- */
.section { padding-block: 96px; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  margin-top: 8px;
}
.section-lead { margin-top: 16px; color: var(--muted); font-size: 19px; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 32px; }
}

/* Hizmetler */
.services {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.service {
  grid-column: span 2;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Son iki kart alt satırı tam doldursun */
.service:nth-child(4),
.service:nth-child(5) { grid-column: span 3; }
.service-icon {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--field-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 6px;
}
.service h3 { font-size: 28px; text-transform: uppercase; }
.service p { color: var(--muted); font-size: 17px; }

@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service,
  .service:nth-child(4),
  .service:nth-child(5) { grid-column: span 1; }
  .service:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(5) { grid-column: span 1; }
}

/* Sezon takvimi */
.season {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px 22px;
  overflow-x: auto;
}
.season-row {
  display: grid;
  grid-template-columns: 150px repeat(12, minmax(34px, 1fr));
  align-items: center;
  min-height: 46px;
  border-top: 1px solid var(--line);
}
.season-row:first-child { border-top: 0; min-height: 30px; }
.season-row > * { grid-row: 1; }
.season-months span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.season-label {
  grid-column: 1;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
}
.bar {
  grid-column: calc(var(--from) + 1) / calc(var(--to) + 2);
  margin: 0 3px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}
.bar-sow { background: #cfe0c4; color: #1f3d25; }
.bar-harvest { background: var(--wheat); color: var(--wheat-ink); }
.bar-straw { background: #ead9a6; color: #4a3a10; }

@media (max-width: 640px) {
  .season { padding: 12px 14px 16px; }
  .season-row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding-block: 8px;
    row-gap: 6px;
  }
  .season-row > * { grid-row: 2; }
  .season-label { grid-row: 1; grid-column: 1 / -1; font-size: 17px; }
  .season-months span { grid-row: 1; font-size: 11px; }
  .season-months .season-label { display: none; }
  .bar { grid-column: var(--from) / calc(var(--to) + 1); margin: 0 1px; font-size: 11px; height: 24px; }
}

/* Tarla sahiplerine */
.owners {
  background: var(--field-2);
  background-image: repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 26px);
  color: var(--field-ink);
}
.owners-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 64px;
}
.owners h2 { font-size: clamp(34px, 4.5vw, 52px); text-transform: uppercase; color: #fff; margin-top: 8px; }
.owners p { margin-top: 12px; max-width: 36em; color: rgba(233, 240, 228, 0.9); }
@media (max-width: 800px) {
  .owners-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .owners .btn { width: 100%; white-space: normal; text-align: center; }
}

/* MercanApp */
.app-show { position: relative; padding-right: 150px; padding-bottom: 40px; }
.device-desktop {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(29, 38, 31, 0.45);
  background: #e9ece6;
}
.device-bar { display: flex; gap: 7px; padding: 11px 14px; background: #e9ece6; border-bottom: 1px solid var(--line); }
.device-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c5ccc2; }
.device-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 250px;
  margin: 0;
  border: 9px solid #18201a;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 50px -20px rgba(29, 38, 31, 0.5);
  background: #18201a;
}
.device-phone img { border-radius: 25px; }

.app-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 56px;
  align-items: center;
  margin-top: 64px;
}
.features { display: grid; gap: 30px; }
.feature { padding-left: 22px; border-left: 3px solid var(--wheat); }
.feature h3 { font-size: 27px; text-transform: uppercase; }
.feature p { margin-top: 6px; color: var(--muted); }
.app-summary {
  margin: 0;
  border: 9px solid #18201a;
  border-radius: 34px;
  overflow: hidden;
  background: #18201a;
  box-shadow: 0 30px 50px -20px rgba(29, 38, 31, 0.4);
}
.app-summary img { border-radius: 25px; }

@media (max-width: 900px) {
  .app-show { padding-right: 0; padding-bottom: 0; }
  .device-phone { position: static; width: min(260px, 70%); margin: -90px 16px 0 auto; }
  .app-detail { grid-template-columns: 1fr; gap: 40px; }
  .app-summary { width: min(270px, 80%); margin-inline: auto; }
}
@media (max-width: 640px) {
  /* Dar ekranda masaüstü görüntüsü okunmuyor: yalnız telefon görüntüsü */
  .device-desktop { display: none; }
  .device-phone { width: min(270px, 80%); margin: 0 auto; }
}

/* İletişim */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.contact h2 { font-size: clamp(36px, 5vw, 56px); text-transform: uppercase; margin-top: 8px; }
.contact-phone {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--field);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-card {
  font-style: normal;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  font-size: 19px;
  line-height: 1.5;
}
.contact-label {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--field-2);
  margin-bottom: 8px;
}
.contact-label-gap { margin-top: 18px; }
.contact-mail { color: var(--field); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-mail:hover { text-decoration: underline; }
.contact-map { display: block; width: fit-content; margin-top: 14px; font-weight: 700; color: var(--field); text-decoration: none; }
.contact-map:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .contact { grid-template-columns: 1fr; gap: 32px; align-items: start; }
}
@media (max-width: 480px) {
  .contact-actions .btn { flex: 1; }
}

/* ---------- Alt bilgi: kaşe ---------- */
.foot { background: var(--ink); color: #c9d2c6; }
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 48px;
}
.stamp {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 22px;
  border: 2px solid #6f93d6;
  border-radius: 8px;
  color: #9fb9ea;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
  max-width: 100%;
}
.stamp strong { font-size: 22px; font-weight: 800; line-height: 1.1; color: #b9cdf2; margin-bottom: 4px; }
.foot-copy { font-size: 15px; }
@media (max-width: 700px) {
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .stamp { font-size: 14px; }
}
