/* ILHAN Metal – site stilleri */

:root {
  --ink: #121519;
  --ink-2: #1c2128;
  --text: #1e242b;
  --muted: #59636e;
  --line: #dde1e6;
  --bg: #ffffff;
  --bg-alt: #f2f3f5;
  --accent: #c2350f;      /* logo rengi (#ff491f) – beyaz yazı için koyulaştırılmış */
  --accent-hi: #ff491f;   /* logo rengi */
  --on-dark: #eef0f2;
  --on-dark-muted: #a9b1ba;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr-h: 68px;
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: .01em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: var(--on-dark);
  border-bottom: 3px solid var(--accent);
}
.hdr-in {
  min-height: var(--hdr-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand addr tel";
  align-items: center;
  gap: 8px 28px;
  padding-top: 8px; padding-bottom: 8px;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: .06em; line-height: 1; white-space: nowrap; }
.brand-sub { display: block; font-size: 12.5px; letter-spacing: .04em; color: var(--on-dark-muted); margin-top: 3px; white-space: nowrap; }
.hdr-link {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 500; font-size: 15.5px;
  color: var(--on-dark);
}
.hdr-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hdr-link .ico { color: var(--accent-hi); }
.hdr-addr { grid-area: addr; justify-self: end; color: var(--on-dark-muted); }
.hdr-tel {
  grid-area: tel;
  font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: .03em;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 3px;
  white-space: nowrap;
}
.hdr-tel .ico { color: #fff; }
.hdr-tel:hover { background: #a52c0b; text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(460px, 76vh, 720px);
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--ink-2);
  isolation: isolate;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,14,17,.9) 0%, rgba(12,14,17,.72) 50%, rgba(12,14,17,.2) 100%),
    linear-gradient(0deg, rgba(12,14,17,.55) 0%, rgba(12,14,17,0) 45%);
}
.hero-in { width: 100%; padding-top: 72px; padding-bottom: clamp(40px, 7vw, 80px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: #ffd2c5; margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent-hi); }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); max-width: 15ch; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 58ch; margin: 20px 0 0; color: #e6e9ec; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 3px;
  font-weight: 600; font-size: 16.5px; text-decoration: none;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a52c0b; }
.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a313a; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent-hi); outline-offset: 3px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 720px; }
.kicker { font-weight: 600; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 46px); color: var(--ink); }
.section-head p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.info { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.info li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info .ico-box {
  width: 40px; height: 40px; border-radius: 3px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--accent-hi);
}
.info-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-value { display: block; font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1.45; margin-top: 2px; }
.info-value a { text-decoration: none; }
.info-value a:hover { text-decoration: underline; text-underline-offset: 3px; }
.info-tel { font-family: var(--font-head); font-size: 28px; font-weight: 700; letter-spacing: .03em; }
.map {
  position: relative; min-height: 380px; border-radius: 4px; overflow: hidden;
  background: #dfe3e7; border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.svc-photo { aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: cover; background: var(--bg-alt); }
.svc-body { padding: 22px 24px 8px; }
.svc h3 { font-size: 27px; color: var(--ink); padding-bottom: 14px; border-bottom: 3px solid var(--accent); display: inline-block; }
.svc ol { list-style: none; margin: 8px 0 0; padding: 0; }
.svc li { display: grid; grid-template-columns: 34px 1fr; gap: 0 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.svc li:last-child { border-bottom: 0; }
.svc-no { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--accent); line-height: 1.3; }
.svc-title { display: block; font-weight: 600; font-size: 17.5px; color: var(--ink); line-height: 1.35; }
.svc-desc { display: block; font-size: 15.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gallery li { margin: 0; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 3px; background: var(--ink-2); }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery li:first-child figure, .gallery li:first-child img { height: 100%; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 10px; font-size: 14.5px; font-weight: 500; color: #fff;
  background: linear-gradient(0deg, rgba(12,14,17,.82), rgba(12,14,17,0));
}

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: var(--on-dark-muted); padding: 56px 0 28px; font-size: 15.5px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ftr h2 { font-size: 15px; font-family: var(--font-body); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 12px; }
.ftr p { margin: 0 0 6px; }
.ftr a { color: var(--on-dark); text-decoration: none; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr .brand { margin-bottom: 14px; color: var(--on-dark); }
.ftr-bottom { border-top: 1px solid #2b323b; margin-top: 40px; padding-top: 20px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc:last-child { grid-column: span 2; }
  .svc:last-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc:last-child .svc-photo { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 880px) {
  :root { --hdr-h: 104px; }
  .hdr-in {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand tel" "addr addr";
    gap: 6px 16px;
  }
  .hdr-addr { justify-self: start; font-size: 14px; border-top: 1px solid #2b323b; padding-top: 8px; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-grid > :first-child { grid-column: span 2; }
}
@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc:last-child { grid-column: auto; display: flex; }
  .svc:last-child .svc-photo { height: auto; aspect-ratio: 16 / 10; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery li:first-child, .gallery li:last-child { grid-column: span 2; grid-row: auto; }
  .gallery li:first-child img, .gallery li:last-child img { aspect-ratio: 16 / 10; }
  .gallery figcaption { font-size: 13px; padding: 22px 10px 8px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 11.5px; }
  .brand-mark { width: 38px; height: 38px; }
  .hdr-tel { font-size: 18px; padding: 7px 10px; gap: 6px; }
  .hdr-tel .ico { width: 16px; height: 16px; }
  .hero { min-height: 560px; }
  .hero::after { background: linear-gradient(0deg, rgba(12,14,17,.92) 0%, rgba(12,14,17,.7) 55%, rgba(12,14,17,.35) 100%); }
  .btn { width: 100%; justify-content: center; }
  .ftr-grid { grid-template-columns: 1fr; }
  .ftr-grid > :first-child { grid-column: auto; }
}
@media (max-width: 400px) {
  :root { --hdr-h: 96px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 19px; letter-spacing: .04em; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-sub { display: none; }
  .hdr-tel { font-size: 16.5px; padding: 6px 9px; }
  .hdr-tel .ico { width: 14px; height: 14px; }
  .hdr-addr { font-size: 13px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 17px; }
  .brand-mark { width: 28px; height: 28px; }
  .hdr-tel { font-size: 15.5px; padding: 6px 8px; }
  .hdr-tel .ico { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
