/* ST Mekanik - ana stil dosyası */

:root {
  --navy-900: #071a2c;
  --navy-800: #0c2b47;
  --navy-700: #123a5d;
  --cyan: #1fb6d6;
  --cyan-soft: #bfeaf5;
  --heat: #ff6b3d;
  --heat-dark: #e8532a;
  --frost: #f1f7fa;
  --mist: #dce9ef;
  --paper: #fbfdfe;
  --ink: #12293a;
  --ink-soft: #4a6274;
  --line: #d3e1e9;
  --radius: 16px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 12px; border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-heat { background: var(--heat); color: #fff; }
.btn-heat:hover { background: var(--heat-dark); }
.btn-heat:active { transform: translateY(1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-block { width: 100%; }

/* ---------- Açılış animasyonu ---------- */
#boot { display: none; }
.js-intro body { overflow: hidden; }
.js-intro #boot {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy-900);
  clip-path: inset(0 0 0 0);
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1);
}
#boot.leave { clip-path: inset(0 0 100% 0); }
.boot-skip {
  position: absolute; top: 18px; right: 18px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .8);
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: .9rem;
}
.boot-skip:hover { border-color: #fff; color: #fff; }
.boot-inner { width: min(86vw, 420px); text-align: center; }
.ac { width: 100%; height: auto; overflow: visible; }
.ac-brand { font: 700 14px var(--font-display); fill: #6d8da1; }
.ac-temp { font: 700 22px var(--font-display); fill: var(--cyan); font-variant-numeric: tabular-nums; }
.ac-led { animation: led 1.1s ease-in-out infinite; }
@keyframes led { 50% { opacity: .25; } }

.ac-flap { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(.25); animation: flap .7s .5s cubic-bezier(.3, 1.3, .5, 1) forwards; }
@keyframes flap { to { transform: scaleY(1); } }

.ac-air path {
  stroke: var(--cyan); stroke-dasharray: 30 70; stroke-dashoffset: 30; opacity: 0;
  animation: air 1.5s 1s linear infinite, airIn .5s 1s ease forwards;
}
.ac-air path:nth-child(2) { animation-delay: 1.15s, 1s; stroke: #5fd0e8; }
.ac-air path:nth-child(3) { animation-delay: 1.3s, 1s; }
.ac-air path:nth-child(4) { animation-delay: 1.05s, 1s; stroke: #5fd0e8; }
.ac-air path:nth-child(5) { animation-delay: 1.2s, 1s; }
@keyframes air { to { stroke-dashoffset: -70; } }
@keyframes airIn { to { opacity: .9; } }

.ac-snow circle { opacity: 0; animation: snow 2.4s 1.2s linear infinite; }
.ac-snow circle:nth-child(2n) { animation-delay: 1.7s; }
.ac-snow circle:nth-child(3n) { animation-delay: 2.1s; }
@keyframes snow {
  0% { opacity: 0; transform: translateY(-14px); }
  25% { opacity: .9; }
  100% { opacity: 0; transform: translateY(36px); }
}

.boot-name { margin-top: 10px; font: 700 1.5rem var(--font-display); color: #fff; letter-spacing: -.01em; }
.boot-status { margin-top: 4px; color: #8fb2c6; font-size: .95rem; }
.boot-bar { margin: 18px auto 0; width: 70%; height: 4px; background: rgba(255, 255, 255, .12); border-radius: 4px; overflow: hidden; }
.boot-bar span { display: block; height: 100%; width: 0; background: var(--cyan); border-radius: 4px; }

/* ---------- Menü ---------- */
.nav {
  position: fixed; z-index: 100; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(100% - 24px, var(--wrap));
  display: flex; align-items: center; gap: 20px;
  padding: 8px 12px 8px 18px;
  background: rgba(251, 253, 254, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(12, 43, 71, .06), 0 10px 30px rgba(7, 26, 44, .18);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.nav-logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
.nav-logo-text { font: 700 1.25rem var(--font-display); }
.nav-links { display: none; margin-left: auto; gap: 4px; }
.nav-links a { padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); background: var(--frost); }
.nav-cta { margin-left: auto; min-height: 42px; padding: 0 18px; font-size: .95rem; }
.nav-toggle {
  display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
  background: var(--frost); border: 0; border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-links.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  padding: 10px; background: var(--paper); border-radius: 16px;
  box-shadow: 0 16px 40px rgba(7, 26, 44, .22);
}
.nav-links.is-open a { padding: 14px 16px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 8px; }
  .nav-toggle { display: none; }
}
@media (max-width: 420px) {
  .nav-cta { padding: 0 12px; font-size: .88rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 0;
  background-color: var(--navy-800);
  /* evaporatör kanatlarını andıran ince hatlar */
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 8px);
  color: #fff;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 6.4vw, 4.1rem); font-weight: 700; line-height: 1.04; max-width: 15ch; letter-spacing: -.025em; }
.hero-text { margin-top: 22px; max-width: 52ch; font-size: 1.125rem; color: #c3d6e2; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-photo { margin: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--navy-700); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(7, 26, 44, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .95rem; line-height: 1.35; color: #cfe0ea;
}
.hero-photo strong { color: #fff; font-weight: 600; }
.chip-temp { font: 700 1.6rem var(--font-display); color: var(--cyan); font-variant-numeric: tabular-nums; }

.stats { margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .14); }
.stat { padding: 20px 0 22px; display: flex; flex-direction: column-reverse; gap: 2px; }
.stat:nth-child(odd) { padding-right: 16px; }
.stat:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
.stat dt { color: #9fbccd; font-size: .95rem; }
.stat dd { margin: 0; font: 700 1.9rem var(--font-display); letter-spacing: -.02em; }

@media (min-width: 900px) {
  .hero { padding-top: 150px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero-photo { aspect-ratio: 4 / 4.4; }
  .stats { grid-template-columns: repeat(4, 1fr); margin-top: 64px; }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 24px 24px 28px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .14); }
  .stat:first-child { padding-left: 0; border-left: 0; }
}

/* Giriş hareketi: yalnızca hero'da, açılış bittiğinde bir kez */
.rise { opacity: 0; transform: translateY(18px); }
html:not(.js-intro) .rise,
html.ready .rise { opacity: 1; transform: none; transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
.js-intro:not(.ready) .rise { opacity: 0; }

/* ---------- Markalar ---------- */
.brands { background: var(--navy-900); color: #b9cfdc; }
.brands-row { display: flex; flex-direction: column; gap: 10px; padding: 22px 0; }
.brands-lead { font-size: .95rem; color: #7f9fb3; }
.brands ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.brands li { font: 600 1.15rem var(--font-display); color: #e3eef4; }
@media (min-width: 900px) {
  .brands-row { flex-direction: row; align-items: center; gap: 32px; }
}

/* ---------- Bölümler ---------- */
.section { padding: 84px 0; }
.section-dark { background: var(--navy-800); color: #fff; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 8px); }
.section-frost { background: var(--frost); }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; }
.section-head h2, .care h2, .contact h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); font-weight: 700; max-width: 20ch; }
.section-head p, .lead { color: var(--ink-soft); font-size: 1.125rem; max-width: 56ch; }
.section-dark .section-head p { color: #b4cad8; }
@media (min-width: 900px) {
  .section { padding: 110px 0; }
  .section-head { grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
  .section-head p { justify-self: end; }
}

/* Hizmet tablosu */
.spec { border-top: 2px solid var(--ink); }
.spec-row { display: grid; gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.spec-row h3 { font-size: 1.4rem; margin-bottom: 8px; }
.spec-row p { color: var(--ink-soft); max-width: 46ch; }
.spec-row ul { display: grid; gap: 6px; align-content: start; }
.spec-row li { position: relative; padding-left: 22px; }
.spec-row li::before { content: ""; position: absolute; left: 0; top: .68em; width: 10px; height: 2px; background: var(--cyan); }
@media (min-width: 900px) {
  .spec-row { grid-template-columns: 1.1fr .9fr; gap: 56px; padding: 32px 0; transition: background-color .2s ease; }
  .spec-row:hover { background: var(--frost); }
}

/* Ekipman */
.gear { display: grid; gap: 32px; }
.gear-item svg { width: 44px; height: 44px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.gear-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.gear-item p { color: #b4cad8; font-size: 1rem; }
@media (min-width: 640px) { .gear { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1000px) { .gear { grid-template-columns: repeat(4, 1fr); } }

/* Projeler */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--line); color: var(--ink-soft);
  font-weight: 500; cursor: pointer; transition: all .15s ease;
}
.filter:hover { border-color: var(--navy-800); color: var(--ink); }
.filter.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.projects { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.project {
  display: flex; flex-direction: column; text-align: left; padding: 0;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.project[hidden] { display: none; }
.project-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.project:hover .project-img img { transform: scale(1.04); }
.project-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-soft); font-size: .95rem; }
.project-count {
  position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(7, 26, 44, .78); color: #fff; font-size: .82rem; font-weight: 500;
}
.project-body { display: flex; flex-direction: column; padding: 12px 2px 0; }
.project-title { font: 700 1.15rem var(--font-display); letter-spacing: -.01em; }
.project-sys { color: var(--ink-soft); font-size: .98rem; }
.empty { padding: 40px 0; color: var(--ink-soft); }
.more { margin-top: 36px; color: var(--ink-soft); }
.more a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* Bakım */
.care { display: grid; gap: 40px; align-items: start; }
.care-copy .lead { margin-top: 16px; }
.care-list { margin-top: 28px; display: grid; gap: 18px; }
.care-list li { display: grid; gap: 2px; padding-left: 18px; border-left: 3px solid var(--cyan); }
.care-list strong { font-family: var(--font-display); font-size: 1.15rem; }
.care-list span { color: var(--ink-soft); }
.vip { background: var(--navy-800); color: #fff; border-radius: 22px; padding: 32px 28px; }
.vip h3 { font-size: 1.6rem; }
.vip ul { margin: 20px 0 26px; display: grid; gap: 12px; }
.vip li { position: relative; padding-left: 30px; font-size: 1.08rem; }
.vip li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan); }
.vip li::after { content: ""; position: absolute; left: 6px; top: .52em; width: 5px; height: 9px; border: solid var(--navy-800); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vip .btn { width: 100%; }
.vip-note { margin-top: 14px; font-size: .88rem; color: #8fb2c6; }
@media (min-width: 900px) {
  .care { grid-template-columns: 1.15fr .85fr; gap: 72px; }
  .vip { padding: 40px 36px; }
}

/* İletişim */
.contact { display: grid; gap: 48px; }
.contact-form .lead { margin: 14px 0 28px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .98rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .15s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9fb7c5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(31, 182, 214, .35); border-color: var(--cyan); }
.field.has-error input, .field.has-error select { border-color: #c93a1a; }
.form-error { margin: 0 0 14px; color: #b3331a; font-weight: 500; }
.contact-info { align-self: start; padding: 28px; background: var(--frost); border-radius: 20px; display: grid; gap: 6px; }
.contact-info h3 { font-size: 1.15rem; margin-top: 14px; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info a { text-underline-offset: 3px; }
.contact-info .phone { font: 700 1.6rem var(--font-display); text-decoration: none; }
.contact-links { display: flex; gap: 18px; margin-top: 8px; font-weight: 600; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 1.1fr .9fr; gap: 72px; }
}

/* ---------- Alt bilgi ---------- */
.footer { background: var(--navy-900); color: #a9c1d0; padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 36px; }
.footer-logo { display: inline-block; background: #fff; padding: 8px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer-logo img { height: 40px; width: auto; }
.footer-brand p { max-width: 40ch; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover, .linklike:hover { color: #fff; text-decoration: underline; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-align: left; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; } }

.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; box-shadow: 0 8px 24px rgba(7, 26, 44, .3);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Galeri ve sözleşme pencereleri ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(4, 14, 24, .86); }

.lightbox { width: min(100% - 20px, 1040px); max-height: calc(100dvh - 20px); margin: auto; background: var(--navy-900); color: #fff; border-radius: 20px; overflow: auto; }
.lb-close {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(7, 26, 44, .75); color: #fff; font-size: 1.7rem; line-height: 1;
}
.lb-close:hover { background: var(--heat); }
.lb-stage { position: relative; background: #000; display: grid; place-items: center; min-height: 220px; }
.lb-stage img { max-height: 66dvh; width: 100%; object-fit: contain; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(7, 26, 44, .7); color: #fff; font-size: 2rem; line-height: 1;
}
.lb-nav:hover { background: var(--navy-700); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-info { padding: 18px 22px 22px; }
.lb-info h3 { font-size: 1.35rem; }
.lb-info p { color: #a9c1d0; }
.lb-desc { margin-top: 8px; color: #d4e3ec !important; max-width: 70ch; }
.lb-desc:empty { display: none; }
.lb-thumbs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.lb-thumbs:empty { display: none; }
.lb-thumbs button { flex: 0 0 auto; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #000; opacity: .65; }
.lb-thumbs button.is-active { border-color: var(--cyan); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.terms { width: min(100% - 20px, 720px); max-height: calc(100dvh - 20px); margin: auto; background: #fff; border-radius: 20px; flex-direction: column; }
.terms[open] { display: flex; }
.terms-head { position: relative; padding: 22px 70px 14px 26px; border-bottom: 1px solid var(--line); }
.terms-head h3 { font-size: 1.3rem; }
.terms-close { background: var(--frost); color: var(--ink); }
.terms-body { overflow: auto; padding: 18px 26px; font-size: .98rem; color: var(--ink-soft); }
.terms-body p { margin-bottom: 14px; }
.terms-body strong { color: var(--ink); }
.terms-date { font-size: .9rem; }
.terms-foot { padding: 14px 26px 22px; border-top: 1px solid var(--line); }

/* ---------- Hareket tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1 !important; transform: none !important; transition: none !important; }
  .project-img img { transition: none; }
}
