/* Nemtaş Grup / Ünsa Petrol - demo
   Yağ bölümü: koyu, endüstriyel. Salon bölümü: sıcak, şık. Bağ: logodaki kırmızı. */

:root {
  --red: #d4141c;
  --red-dark: #b10f16;
  --ink: #121212;
  --ink-2: #1a1c1e;
  --ink-3: #24272a;
  --line-d: rgba(255, 255, 255, .14);
  --text-d: #e9e6e1;
  --mute-d: #b4b0aa;
  --ivory: #f7f1e8;
  --ivory-2: #efe5d5;
  --wine: #5a1426;
  --wine-2: #46101e;
  --brass: #8c6a2f;
  --brass-l: #c9a35b;
  --text-w: #2b1b1b;
  --mute-w: #5f4f4a;
  --wa: #0f7a43;
  --wa-dark: #0b6537;
  --f-cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-d);
  background: var(--ink);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

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

:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: #000; padding: 12px 16px; border-radius: 6px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* --- demo şeridi --- */
.demo-bar {
  background: #000; color: #f1ede6; text-align: center;
  font-size: 12.5px; line-height: 1.35; padding: 8px var(--pad);
  letter-spacing: .01em;
}

/* --- header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; color: #111;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding-block: 8px; }
.brand { display: block; line-height: 0; flex: none; min-height: 44px; display: flex; align-items: center; }
.brand img { width: 112px; height: auto; }
.head-nav { display: none; }
.head-actions { display: flex; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 15px; color: #fff;
}
.icon-btn span { display: none; }
.icon-btn--call { background: var(--red); }
.icon-btn--call:hover { background: var(--red-dark); }
.icon-btn--wa { background: var(--wa); }
.icon-btn--wa:hover { background: var(--wa-dark); }

/* --- butonlar --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 22px; border-radius: 10px; border: 2px solid transparent;
  font: 600 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: var(--wine-2); }
.btn--line { border-color: currentColor; background: transparent; color: #fff; }
.btn--line:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }

.eyebrow {
  font: 600 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute-d); margin-bottom: 14px;
}
.eyebrow--red { color: #ff6b70; }
.eyebrow--gold { color: var(--brass); }

.lead { font-size: 18px; line-height: 1.55; max-width: 38em; }
.lead--dark { color: var(--text-d); }
.lead--warm { color: var(--mute-w); }

/* ====== HERO ====== */
.hero { background: var(--ink); color: #fff; }
.hero-text { padding-block: 40px 28px; }
.hero h1 {
  font: 700 clamp(56px, 17vw, 120px)/.92 var(--f-cond);
  text-transform: uppercase; letter-spacing: .005em; margin-bottom: 18px;
}
.hero .lead { color: #d9d5ce; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .btn { flex: 1 1 140px; }

.doors { display: grid; gap: 0; }
.door {
  position: relative; display: flex; align-items: flex-end;
  min-height: 300px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate;
}
.door img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.door--yag::after { background: linear-gradient(180deg, rgba(10, 10, 10, .35) 0%, rgba(10, 10, 10, .88) 78%); }
.door--salon::after { background: linear-gradient(180deg, rgba(48, 10, 22, .52) 0%, rgba(48, 10, 22, .93) 80%); }
.door--yag img { object-position: 30% 50%; }
.door-body { display: block; padding: 28px var(--pad); width: 100%; max-width: 560px; }
.door-kicker { display: block; font: 600 12.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }
.door-title { display: block; font: 700 clamp(44px, 12vw, 68px)/.95 var(--f-cond); text-transform: uppercase; margin-bottom: 8px; }
.door--salon .door-title { font: 600 clamp(46px, 12.5vw, 72px)/.95 var(--f-serif); text-transform: none; font-style: italic; }
.door-desc { display: block; font-size: 16.5px; line-height: 1.4; max-width: 24em; margin-bottom: 16px; }
.door-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; min-height: 44px; border-bottom: 2px solid var(--red); }
.door--salon .door-go { border-color: var(--brass-l); }
.door-go b { font-weight: 600; transition: transform .25s; }
.door:hover img { transform: scale(1.05); }
.door:hover .door-go b { transform: translateY(3px); }

/* ====== YAĞ ====== */
.yag {
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .018) 22px 23px),
    var(--ink-2);
  color: var(--text-d);
  padding-block: 64px 72px;
  border-top: 6px solid var(--red);
}
.yag h2 { font: 700 clamp(48px, 13vw, 84px)/.95 var(--f-cond); text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.yag-top { display: grid; gap: 28px; margin-bottom: 56px; }
.facts { margin-top: 22px; display: grid; gap: 4px; }
.facts li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line-d); font-weight: 500; }
.facts li:last-child { border-bottom: 1px solid var(--line-d); }
.facts li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 4px; background: var(--red); transform: translateY(-50%); }
.yag-fig { position: relative; border-radius: 6px; overflow: hidden; background: var(--ink-3); }
.yag-fig img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 30% 50%; }
figcaption {
  position: absolute; left: 10px; bottom: 10px; background: rgba(0, 0, 0, .72); color: #fff;
  font-size: 12px; line-height: 1; padding: 6px 8px; border-radius: 4px; letter-spacing: .03em;
}

.block { margin-bottom: 52px; }
.block-h { font: 700 28px/1.1 var(--f-cond); text-transform: uppercase; letter-spacing: .03em; color: #fff; margin-bottom: 18px; }

.who { display: grid; gap: 0; }
.who li {
  display: grid; grid-template-columns: 52px 1fr; column-gap: 6px; row-gap: 2px; align-items: baseline;
  padding: 18px 0; border-top: 1px solid var(--line-d);
}
.who li:last-child { border-bottom: 1px solid var(--line-d); }
.who .num { grid-row: span 2; font: 700 34px/1 var(--f-cond); color: var(--red); }
.who strong { font-size: 19px; color: #fff; font-weight: 600; }
.who li > span:last-child { color: var(--mute-d); }

.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cats li {
  background: var(--ink-3); border: 1px solid var(--line-d); border-radius: 8px;
  padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 12px; font-weight: 600; line-height: 1.25;
  transition: border-color .2s, transform .2s;
}
.cats li:hover { border-color: var(--red); transform: translateY(-2px); }
.cats svg { width: 30px; height: 30px; fill: none; stroke: #ff6b70; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands li { border: 1px solid var(--line-d); border-radius: 999px; padding: 8px 16px; font-weight: 500; }

.note { margin-top: 14px; font-size: 14px; color: var(--mute-d); }
.note--warm { color: var(--mute-w); }

.quote { background: #fff; color: #1b1b1b; border-radius: 10px; overflow: hidden; display: grid; border-left: 6px solid var(--red); }
.quote-head { padding: 28px 22px 0; }
.quote-head h3 { font: 700 34px/1.05 var(--f-cond); text-transform: uppercase; margin-bottom: 10px; }
.quote-head p { color: #4a4a4a; }

/* ====== FORMLAR ====== */
.form { padding: 22px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; opacity: .75; }
.field select, .field input {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 500 16px var(--f-body);
  color: #1b1b1b; background: #fff; border: 1.5px solid #8a8a8a; border-radius: 8px;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field input[type="date"] { min-width: 0; }
.field input::placeholder { color: #767676; }
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.err { color: #b3261e; font-size: 14px; font-weight: 500; }
.form-msg { min-height: 1.3em; font-size: 14px; color: #4a4a4a; }

/* ====== SALON ====== */
.salon {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(201, 163, 91, .22), transparent 70%),
    var(--ivory);
  color: var(--text-w); padding-block: 72px 80px;
  border-top: 6px solid var(--wine);
}
.salon h2 { font: 600 clamp(40px, 11vw, 70px)/1 var(--f-serif); color: var(--wine); margin-bottom: 18px; letter-spacing: -.005em; }
.salon h2 em { font-style: italic; color: var(--brass); }
.salon-top { margin-bottom: 28px; max-width: 760px; }

.occ { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.occ li {
  font: 600 italic 26px/1 var(--f-serif); color: var(--wine);
  padding: 12px 22px; border: 1.5px solid var(--brass-l); border-radius: 999px; background: rgba(255, 255, 255, .55);
}

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g { position: relative; overflow: hidden; border-radius: 6px; background: var(--ivory-2); min-height: 150px; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.g:hover img { transform: scale(1.04); }
.g--wide, .g--wide2 { grid-column: span 2; aspect-ratio: 16 / 10; }
.g:not(.g--wide):not(.g--wide2):not(.g--tall) { aspect-ratio: 4 / 5; }
.g--tall { aspect-ratio: 4 / 5; }
.salon figcaption { background: rgba(60, 14, 28, .78); }

.salon-split { display: grid; gap: 40px; margin-top: 52px; }
.block-h--warm { color: var(--wine); font-family: var(--f-serif); font-weight: 600; text-transform: none; font-size: 32px; letter-spacing: 0; }
.tick li { position: relative; padding: 13px 0 13px 34px; border-top: 1px solid rgba(90, 20, 38, .18); font-weight: 500; }
.tick li:last-child { border-bottom: 1px solid rgba(90, 20, 38, .18); }
.tick li::before {
  content: ""; position: absolute; left: 4px; top: 50%; width: 9px; height: 15px;
  border: solid var(--brass); border-width: 0 2.5px 2.5px 0; transform: translateY(-62%) rotate(40deg);
}

.ask { background: #fff; border-radius: 10px; padding: 26px 0 0; border: 1px solid var(--brass-l); box-shadow: 0 18px 40px -24px rgba(90, 20, 38, .45); align-self: start; }
.ask h3 { font: 600 36px/1 var(--f-serif); color: var(--wine); padding-inline: 22px; margin-bottom: 8px; }
.ask > p { padding-inline: 22px; color: var(--mute-w); }
.form--warm { padding-top: 18px; }
.form--warm .field select, .form--warm .field input { border-color: #7a6a63; }

/* ====== KONUM ====== */
.konum { background: #17151c; color: var(--text-d); padding-block: 64px 72px; border-top: 6px solid var(--red); }
.konum h2 { font: 700 clamp(42px, 11vw, 72px)/.98 var(--f-cond); text-transform: uppercase; color: #fff; margin-bottom: 28px; }
.addr-grid { display: grid; gap: 14px; margin-bottom: 28px; }
.addr { border: 1px solid var(--line-d); border-radius: 10px; padding: 22px; display: grid; gap: 14px; justify-items: start; background: rgba(255, 255, 255, .03); }
.addr h3 { font: 700 26px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.addr p { color: var(--text-d); }
.contact { display: grid; gap: 10px; }
.who-line { margin-top: 18px; color: var(--mute-d); font-size: 15px; }

/* ====== FOOTER ====== */
.site-footer { background: #000; color: #b9b5ae; font-size: 14px; padding-block: 22px; }
.foot-in { display: flex; flex-direction: column; gap: 6px; }
.credit { color: #8f8b84; font-size: 13px; }

/* ====== SCROLL REVEAL (yalnız opacity + transform) ====== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

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

/* ====== TABLET ====== */
@media (min-width: 640px) {
  :root { --pad: 28px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: repeat(3, auto); justify-content: start; }
  .addr-grid { grid-template-columns: 1fr 1fr; }
  .foot-in { flex-direction: row; justify-content: space-between; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .g--wide { grid-column: span 2; aspect-ratio: auto; }
  .g--wide2 { grid-column: span 2; aspect-ratio: auto; }
  .g, .g--tall, .g:not(.g--wide):not(.g--wide2):not(.g--tall) { aspect-ratio: auto; min-height: 230px; }
}

/* ====== MASAÜSTÜ ====== */
@media (min-width: 960px) {
  :root { --pad: 40px; }
  body { font-size: 18px; }
  html { scroll-padding-top: 80px; }
  .header-in { min-height: 72px; }
  .brand img { width: 150px; }
  .head-nav { display: flex; gap: 6px; }
  .head-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 8px; }
  .head-nav a:hover { background: #f1f1f1; }
  .icon-btn { padding: 0 18px; }
  .icon-btn span { display: inline; }

  .hero { display: grid; }
  .hero-text { padding-block: 72px 56px; display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 64px; align-items: end; }
  .hero-text .eyebrow { grid-column: 1 / -1; }
  .hero h1 { margin-bottom: 0; }
  .hero .lead { font-size: 21px; }
  .hero-text .lead, .hero-text .hero-actions { grid-column: 2; }
  .hero-text h1 { grid-column: 1; grid-row: 2 / span 2; align-self: end; }
  .hero-actions .btn { flex: 0 0 auto; min-width: 160px; }
  .doors { grid-template-columns: 1fr 1fr; }
  .door { min-height: clamp(420px, 56vh, 560px); }
  .door-body { padding: 44px var(--pad); }
  .door--yag .door-body { margin-left: auto; padding-right: 48px; }

  .yag, .salon, .konum { padding-block: 104px 112px; }
  .yag-top { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
  .block { margin-bottom: 80px; }
  .who { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .who li { grid-template-columns: 1fr; border: 0; border-top: 3px solid var(--red); padding: 18px 0 0; }
  .who li:last-child { border-bottom: 0; }
  .who .num { grid-row: auto; margin-bottom: 8px; }
  .cats li { padding: 22px 20px 24px; font-size: 18px; }
  .quote { grid-template-columns: 1fr 1.1fr; }
  .quote-head { padding: 44px 36px 44px 40px; align-self: center; }
  .quote-head h3 { font-size: 46px; }
  .form { padding: 36px 40px 40px; }
  .form--dark { background: #f4f3f1; }

  .salon-top { margin-bottom: 40px; }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 230px); gap: 14px; }
  .g { min-height: 0; }
  .g--wide { grid-column: 1 / 3; grid-row: 1 / 3; }
  .g--tall { grid-column: 4; grid-row: 1 / 3; }
  .g--wide2 { grid-column: 3; grid-row: 2; }
  .gallery .g:nth-child(2) { grid-column: 3; grid-row: 1; }
  .g, .g--tall, .g--wide, .g--wide2 { aspect-ratio: auto !important; min-height: 0 !important; }
  .salon-split { grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 80px; }
  .ask { padding-top: 34px; }
  .ask h3, .ask > p { padding-inline: 36px; }
  .form--warm { padding: 22px 36px 36px; }

  .addr-grid { gap: 20px; }
  .addr { padding: 30px; }
}

@media (min-width: 1280px) {
  .door--yag .door-body { padding-right: 72px; }
  .door--salon .door-body { padding-left: 72px; }
}
