:root {
  --bg: #0c1317;
  --bg-2: #111a1f;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f3efe8;
  --muted: #b8b2a8;
  --gold: #d6ab6a;
  --gold-soft: rgba(214, 171, 106, 0.55);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --header-h: 96px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(12, 19, 23, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: height 0.35s var(--ease), background 0.35s var(--ease);
}
.site-header.scrolled { height: 76px; background: rgba(12, 19, 23, 0.92); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo img { height: 62px; width: auto; transition: height 0.35s var(--ease); }
.site-header.scrolled .logo img { height: 50px; }

.nav { display: flex; gap: 44px; }
.nav a {
  position: relative;
  font-size: 16px;
  color: rgba(243, 239, 232, 0.86);
  padding: 8px 0;
  transition: color 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { font-weight: 600; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 10px;
  cursor: pointer;
}
.menu-btn span {
  display: block; height: 2px; background: var(--text); margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
  z-index: -2;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(12, 19, 23, 0.75) 22%, rgba(12, 19, 23, 0) 55%),
    linear-gradient(0deg, var(--bg) 0%, rgba(12, 19, 23, 0) 18%),
    linear-gradient(180deg, rgba(12, 19, 23, 0.6) 0%, rgba(12, 19, 23, 0) 22%);
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.1) translate(-1.5%, 1%); }
}

.hero-content { max-width: 600px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 6vw, 76px); }
h2 { font-size: clamp(32px, 4vw, 50px); }
h3 { font-size: 28px; }

.rule { width: 56px; height: 3px; background: var(--gold); border: 0; margin: 30px 0; }
.lead { font-size: 19px; color: rgba(243, 239, 232, 0.88); margin: 0; max-width: 540px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 34px;
  padding: 15px 26px;
  background: #a5865c;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s, gap 0.3s var(--ease);
}
.btn:hover { background: #b8966a; gap: 18px; }
.btn svg { width: 18px; height: 18px; }

.tagline {
  margin-top: 56px;
  font-size: 13px;
  letter-spacing: 0.36em;
  line-height: 1.8;
  color: var(--muted);
}
.tagline::before { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-bottom: 28px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 440px; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s;
  filter: brightness(0.82);
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8, 12, 15, 0.97) 0%, rgba(8, 12, 15, 0.85) 32%, rgba(8, 12, 15, 0.25) 65%, rgba(8, 12, 15, 0.05) 100%);
}
.card-body { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; z-index: 1; }
.card-body .num { font-size: 13px; letter-spacing: 0.3em; color: var(--gold); }
.card-body h3 { margin: 8px 0 10px; }
.card-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.card:hover img { transform: scale(1.06); filter: brightness(0.95); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span {
  font-size: 12.5px; letter-spacing: 0.04em;
  padding: 5px 12px;
  border: 1px solid var(--gold-soft);
  color: rgba(243, 239, 232, 0.86);
}

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--bg); padding: 44px 36px; }
.value .num { font-family: var(--serif); font-size: 44px; color: var(--gold); line-height: 1; }
.value h3 { font-size: 26px; margin: 18px 0 10px; }
.value p { margin: 0; color: var(--muted); font-size: 16px; }

.cta { text-align: center; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--muted); margin: 0 auto; max-width: 520px; }

/* Ürün detay satırları */
.product {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.product:first-child { padding-top: 0; }
.product:last-child { border-bottom: 0; padding-bottom: 0; }
.product:nth-child(even) .product-media { order: 2; }
.product-media { position: sticky; top: 110px; aspect-ratio: 4 / 4.4; overflow: hidden; border: 1px solid var(--line); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
.product-body .num { font-size: 13px; letter-spacing: 0.3em; color: var(--gold); }
.product-body h2 { margin: 10px 0 18px; }
.product-text { color: rgba(243, 239, 232, 0.86); margin: 0 0 8px; max-width: 600px; }
.spec { margin-top: 30px; }
.spec h4 {
  margin: 0 0 12px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}
.spec .tags { margin-top: 0; }
.spec .tags span { transition: border-color 0.25s, background 0.25s; }
.spec .tags span:hover { border-color: var(--gold); background: rgba(214, 171, 106, 0.08); }

/* Kalite kontrol adımları */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 64px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { padding-top: 0; }
.step-head .num { display: block; font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--gold); margin-bottom: 18px; }
.step-head h2 { font-size: clamp(28px, 3vw, 38px); }
.step-body p { margin: 0 0 18px; color: rgba(243, 239, 232, 0.84); }
.step-body p:last-child { margin-bottom: 0; }
.qc-note {
  margin: 56px auto 0;
  max-width: 760px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.45;
}

/* İletişim */
.contact-list { display: grid; gap: 26px; margin-top: 46px; }
.contact-item { display: flex; align-items: center; gap: 26px; }
.contact-item .icon {
  flex: none;
  width: 70px; height: 70px;
  border: 1.5px solid var(--gold-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  background: rgba(12, 19, 23, 0.5);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.contact-item .icon svg { width: 28px; height: 28px; }
.contact-item:hover .icon { background: rgba(214, 171, 106, 0.12); border-color: var(--gold); transform: translateY(-3px); }
.contact-item small { display: block; font-size: 12.5px; letter-spacing: 0.26em; color: var(--muted); }
.contact-item strong { font-weight: 400; font-size: 21px; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 44px 0 34px; }
.footer-top { display: flex; align-items: center; gap: 48px; padding-bottom: 34px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.footer-top .logo img { height: 52px; }
.footer-nav { display: flex; gap: 40px; padding-left: 48px; border-left: 1px solid var(--line); flex-wrap: wrap; }
.footer-nav a { font-size: 15px; color: rgba(243, 239, 232, 0.82); transition: color 0.25s; }
.footer-nav a:hover { color: var(--gold); }
.footer-social { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.footer-social a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(243, 239, 232, 0.82); transition: color 0.25s; }
.footer-social a:hover { color: var(--gold); }
.footer-social svg { width: 24px; height: 24px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }

/* ---------- Animasyonlar ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; } .d5 { transition-delay: 0.5s; }

.hero .rule { transform-origin: left; }
.hero .reveal.rule { transform: scaleX(0); opacity: 1; }
.hero .reveal.rule.in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { gap: 28px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .hero-media { width: 75%; }
}

@media (max-width: 820px) {
  :root { --header-h: 76px; }
  .wrap { padding: 0 20px; }
  .logo img, .site-header.scrolled .logo img { height: 46px; }
  .site-header.scrolled { height: 68px; }
  .menu-btn { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    background: rgba(10, 15, 18, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .nav a { font-family: var(--serif); font-size: 32px; opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.25s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav a { opacity: 1; transform: none; }
  .menu-open .nav a:nth-child(2) { transition-delay: 0.05s; }
  .menu-open .nav a:nth-child(3) { transition-delay: 0.1s; }
  .menu-open .nav a:nth-child(4) { transition-delay: 0.15s; }
  .menu-open .nav a:nth-child(5) { transition-delay: 0.2s; }
  .menu-open { overflow: hidden; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(12, 19, 23, 0.94); }

  .hero { align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 56px; }
  .hero-media { width: 100%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, var(--bg) 8%, rgba(12, 19, 23, 0.82) 48%, rgba(12, 19, 23, 0.35) 100%);
  }
  .lead { font-size: 17px; }
  .section { padding: 72px 0; }
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3.4; }
  .product, .step { grid-template-columns: 1fr; gap: 28px; padding: 52px 0; }
  .product:nth-child(even) .product-media { order: 0; }
  .product-media { position: static; aspect-ratio: 4 / 3; }
  .step-head .num { font-size: 44px; margin-bottom: 10px; }
  .qc-note { margin-top: 40px; }
  .contact-item { gap: 18px; }
  .contact-item .icon { width: 58px; height: 58px; }
  .contact-item strong { font-size: 18px; }

  .footer-top { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer-nav { padding-left: 0; border-left: 0; gap: 14px 28px; }
  .footer-social { margin-left: 0; }
}

.dev a { color: var(--text); border-bottom: 1px solid var(--gold-soft); transition: color 0.25s, border-color 0.25s; }
.dev a:hover { color: var(--gold); border-color: var(--gold); }
