/* Pınarlı Oba — "hazırlanıyoruz" sayfası. Kartvizit paleti: kırmızı #ED1C24, siyah #231F20, beyaz. */

:root {
  --red: #ED1C24;
  --red-press: #C9151C;
  --ink: #231F20;
  --ink-raised: #2D2829;
  --line: #4A4344;
  --white: #FFFFFF;
  --text-soft: #D6D1D2;
  --text-muted: #ABA4A5;

  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 1rem;
  --radius: 0.5rem;

  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  /* kartvizitteki kırmızı şerit */
  border-top: 6px solid var(--red);
}

h1, h2, p, ul { margin: 0; }

img, svg { display: block; }

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

/* ---------- Yerleşim ---------- */

.page {
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-height: calc(100dvh - 6px);
}

.body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ---------- Marka ---------- */

.brand {
  text-align: center;
}

.brand__logo img {
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin: 0 auto;
}

.brand__slogan {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.brand__slogan::before,
.brand__slogan::after {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--red);
  flex: none;
}

/* ---------- Mesaj ---------- */

.intro {
  color: var(--text-soft);
  text-wrap: pretty;
  text-align: center;
}

.intro__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service {
  margin-top: 1.75rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--ink-raised);
  text-align: left;
}

.service__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.25;
  color: var(--white);
}

.service__text {
  margin-top: 0.25rem;
  color: var(--text-soft);
}

/* ---------- Butonlar ---------- */

.actions {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.action {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 3.5rem;
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-raised);
  color: var(--white);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.action__icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action:not(.action--primary) .action__icon { color: var(--red); }

.action__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.action__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
}

.action__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.action__value--small {
  margin-top: 0.125rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-soft);
}

/* Telefon butonları: kırmızı zemin, büyük kalın yazı (WCAG büyük metin) */
.action--primary {
  background: var(--red);
  border-color: var(--red);
}

.action--primary .action__text {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.5rem;
}

/* 24px = WCAG "büyük metin" (beyaz/kırmızı 4.38:1 >= 3:1) */
.action--primary .action__label,
.action--primary .action__value { font-size: 1.5rem; }

.action--primary .action__label { text-transform: uppercase; letter-spacing: 0.04em; }

.action:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

@media (hover: hover) {
  .action:hover { border-color: var(--text-muted); }
  .action--primary:hover { background: var(--red-press); border-color: var(--red-press); }
}

.action:active { background: #383233; }
.action--primary:active { background: var(--red-press); }

/* ---------- Alt not ---------- */

.footer {
  margin-top: auto;
  text-wrap: balance;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Geniş ekran: iki sütun ---------- */

@media (min-width: 60rem) {
  .page {
    max-width: 64rem;
    padding: 4rem 2.5rem 2.5rem;
    gap: 3.5rem;
  }

  .brand__logo img { max-width: 30rem; }

  .body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .intro { text-align: left; }
  .intro__title { font-size: 2.5rem; }
}

/* ---------- Hareket: sadece izin varsa ---------- */

@media (prefers-reduced-motion: no-preference) {
  .action { transition: background-color 0.15s ease, border-color 0.15s ease; }
}
