:root {
  --ink: #07111f;
  --paper: #f5f8fb;
  --panel: #ffffff;
  --muted: #607085;
  --line: #d8e2ec;
  --red: #e30613;
  --red-dark: #b8000b;
  --cyan: #00d5ff;
  --green: #20c997;
  --steel: #162233;
  --radius: 10px;
  --container: 1180px;
  --shadow: 0 26px 80px rgba(7, 17, 31, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #07111f, #132235 48%, #082b35);
  color: #dce9f5;
  font-size: 14px;
}
.topbar .container {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar strong { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(216,226,236,.9);
  backdrop-filter: blur(20px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 132px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
  background: #fff;
  border-radius: var(--radius);
}
.brand-name {
  display: block;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 900;
}
.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}
.menu {
  display: flex;
  gap: 24px;
  color: #233145;
  font-size: 15px;
  font-weight: 800;
}
.menu a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.menu a:hover,
.menu a.active { border-color: var(--red); }
.menu-toggle { display: none; }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.2;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff4d55);
  box-shadow: 0 16px 34px rgba(227,6,19,.3);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--red-dark), #e30613); }
.btn-ghost {
  color: var(--ink);
  border-color: rgba(0,213,255,.28);
  background: rgba(255,255,255,.94);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(0,213,255,.24) 0 12%, transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(227,6,19,.34) 0 10%, transparent 32%),
    linear-gradient(90deg, rgba(7,17,31,.97) 0%, rgba(7,17,31,.86) 52%, rgba(7,17,31,.28) 100%),
    var(--hero-image, url("https://hastemmakina.com.tr/wp-content/uploads/2025/07/cd672f7a-4158-46fe-b1cd-00d911c35aa8.jpg")) center right / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.68), transparent);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, var(--paper));
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .68fr);
  align-items: center;
  gap: 58px;
  padding: 108px 0 150px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #9cecff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--red));
}
h1 {
  margin: 0;
  max-width: 900px;
  font-size: 68px;
  line-height: .98;
  letter-spacing: 0;
  font-weight: 900;
  text-shadow: 0 24px 70px rgba(0,0,0,.42);
}
.accent { color: var(--cyan); }
.hero p {
  max-width: 720px;
  margin: 28px 0 0;
  color: #dce8f4;
  font-size: 21px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.stage {
  position: relative;
  min-height: 510px;
  perspective: 1200px;
}
.stage-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
}
.stage-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255,255,255,.32) 48%, transparent 62% 100%);
  transform: translateX(-120%);
  animation: scan 5.8s ease-in-out infinite;
  pointer-events: none;
}
.stage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.05);
}
.stage-main {
  inset: 44px 0 0 auto;
  width: min(430px, 100%);
  height: 390px;
  transform: rotateY(calc(-10deg + var(--tilt-y, 0deg))) rotateX(calc(3deg + var(--tilt-x, 0deg)));
}
.stage-side {
  left: 0;
  top: 0;
  width: 250px;
  height: 250px;
  transform: rotateY(calc(16deg + var(--tilt-y, 0deg))) rotateX(calc(var(--tilt-x, 0deg) * .6)) rotateZ(-3deg);
  z-index: 2;
}
.stage-chip {
  position: absolute;
  z-index: 3;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(0,213,255,.32);
  border-radius: 999px;
  color: #fff;
  background: rgba(7,17,31,.72);
  box-shadow: 0 16px 34px rgba(0,0,0,.25);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(14px);
}
.chip-one { right: 6px; top: 8px; }
.chip-two { left: 22px; bottom: 96px; }
.chip-three { right: 32px; bottom: 12px; border-color: rgba(227,6,19,.42); }
@keyframes scan {
  0%, 52% { transform: translateX(-120%); }
  76%, 100% { transform: translateX(120%); }
}

.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(0,213,255,.16);
  border-bottom: 1px solid rgba(0,213,255,.16);
  background: #07111f;
  color: #e9f7ff;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: moveTrack 24s linear infinite;
}
.marquee span {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
  color: #d9e8f5;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 14px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  transform: rotate(45deg);
}
@keyframes moveTrack { to { transform: translateX(-50%); } }

section { padding: 92px 0; }
.section-head {
  max-width: 850px;
  margin-bottom: 38px;
}
.kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 900;
}
.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(238,248,252,.98));
  box-shadow: 0 16px 40px rgba(7,17,31,.07);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,213,255,.44);
  box-shadow: 0 26px 60px rgba(7,17,31,.14);
}
.card b.badge {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  border-radius: var(--radius);
  background: var(--steel);
}
.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.dark-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(0,213,255,.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(227,6,19,.18), transparent 28%),
    #07111f;
  color: #fff;
}
.dark-section h2,
.dark-section .lead { color: #fff; }
.dark-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.dark-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,213,255,.44);
  background: rgba(0,213,255,.08);
}
.dark-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #cfd8e2;
}
.dark-card .body { padding: 20px; }
.dark-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 21px;
  line-height: 1.22;
}
.dark-card p {
  margin: 0;
  color: #b9c8d8;
  font-size: 15px;
}
.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7,17,31,.86);
  font-size: 12px;
  font-weight: 900;
}

.image-panel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #cfd8e2;
}
.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: inset 0 0 0 1px rgba(0,213,255,.18);
  pointer-events: none;
}

.cta {
  padding: 74px 0;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(0,213,255,.22), transparent 30%),
    linear-gradient(90deg, rgba(227,6,19,.94), rgba(7,17,31,.92)),
    var(--cta-image, url("https://hastemmakina.com.tr/wp-content/uploads/2025/07/image1-1024x1024.jpeg")) center / cover no-repeat;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.cta h2 { color: #fff; }
.cta p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #ffe8e9;
  font-size: 18px;
}

.site-footer {
  padding: 46px 0 28px;
  background: #0c111b;
  color: #dce3ed;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 30px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
}
.site-footer p,
.site-footer a {
  margin: 0;
  color: #b9c4d2;
  font-size: 15px;
}
.footer-links { display: grid; gap: 8px; }
.copyright {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  color: #8d99a8;
  font-size: 14px;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  border-radius: 999px;
  background: #128c52;
  box-shadow: 0 16px 34px rgba(18,140,82,.34);
  font-weight: 900;
}

.form-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 14px; }
.field {
  display: grid;
  gap: 7px;
  color: #263241;
  font-size: 14px;
  font-weight: 900;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 140px; resize: vertical; }

.contact-panel {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(0,213,255,.18), transparent 34%),
    rgba(255,255,255,.08);
  box-shadow: 0 34px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
.contact-panel h2 {
  color: #fff;
}
.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.contact-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(7,17,31,.42);
}
.contact-row b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--cyan);
}
.contact-row h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}
.contact-row p,
.contact-row a {
  margin: 0;
  color: #c9d8e6;
  font-size: 15px;
}
.map-shell {
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #d8e2ec;
  box-shadow: var(--shadow);
}
.map-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  border: 0;
}
.info-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: stretch;
  gap: 18px;
}
.mini-note {
  margin-top: 18px;
  padding: 16px;
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #f6fbff;
  color: var(--muted);
  font-size: 15px;
}
.direct-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.direct-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}
.direct-links a::after {
  content: "→";
  color: var(--red);
}
.quote-board {
  display: grid;
  gap: 14px;
}
.quote-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.quote-item b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--steel);
}
.quote-item h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}
.quote-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.quote-flow {
  counter-reset: quote;
}
.quote-flow .card {
  position: relative;
  padding-top: 58px;
}
.quote-flow .card::before {
  counter-increment: quote;
  content: "0" counter(quote);
  position: absolute;
  top: 18px;
  left: 24px;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}
.quote-package {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}
.quote-package h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 24px;
}
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: #c9d8e6;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(0,213,255,.5);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .menu { display: none; }
  .menu-toggle {
    display: inline-flex;
    color: var(--ink);
    border: 1px solid var(--line);
    background: #fff;
  }
  .nav { flex-wrap: wrap; }
  .menu.is-open {
    width: 100%;
    display: grid;
    gap: 6px;
    padding: 10px 0 14px;
  }
  h1 { font-size: 50px; }
  .hero-grid,
  .grid-2,
  .map-grid,
  .cta-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .grid-3,
  .info-band,
  .grid-4,
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stage { min-height: 420px; }
  .stage-main { width: 82%; height: 320px; }
  .stage-side { width: 220px; height: 220px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar .container {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }
  .nav {
    min-height: auto;
    align-items: flex-start;
    padding: 14px 0;
  }
  .brand { min-width: 0; }
  .brand-logo { width: 118px; height: 48px; }
  .hero { min-height: auto; }
  .hero-grid { padding: 70px 0 118px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .grid-3,
  .info-band,
  .grid-4,
  .grid-5 { grid-template-columns: 1fr; }
  .map-shell,
  .map-shell iframe { min-height: 360px; }
  .stage { min-height: 330px; }
  .stage-main { width: 92%; height: 250px; }
  .stage-side { width: 170px; height: 170px; }
  .stage-chip { min-height: 36px; font-size: 12px; }
  .whatsapp { left: 14px; right: 14px; }
  .copyright { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
