:root {
  --bg: #f5f7fa;
  --surface: #fff;
  --ink: #101827;
  --muted: #5e6877;
  --line: #dfe5eb;
  --dark: #101722;
  --dark2: #182333;
  --accent: #4b00e6;
  --accent2: #7441ff;
  --max: 1180px;
  --shadow: 0 18px 45px rgba(10,19,31,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; background: #fff; padding: 10px 14px; z-index: 999; }
.skip-link:focus { top: 12px; }

/* Header & Nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,247,250,.9); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(16,24,39,.08); }
.nav-wrap { height: 76px; display: flex; align-items: center; gap: 26px; }
.brand { margin-right: auto; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: .95rem; font-weight: 700; }
.main-nav a { opacity: .82; }
.main-nav a:hover { opacity: 1; color: #4b00e6; }
.nav-cta { padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-btn { border: 0; background: transparent; border-radius: 999px; padding: 6px 9px; font-size: .75rem; font-weight: 800; cursor: pointer; }
.lang-btn.active { background: var(--dark); color: #fff; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px; }

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 78px;
  background: radial-gradient(circle at 75% 10%, rgba(75,0,230,.14), transparent 28%), linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(16,24,39,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(16,24,39,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent);
}

.hero-grid { position: relative; display: block; margin-top: 10px; }
.eyebrow { font-size: .78rem; letter-spacing: .16em; font-weight: 900; color: #4b00e6; margin: 0 0 12px; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); letter-spacing: -.055em; margin-bottom: 24px; max-width: 830px; }
h2 { font-size: clamp(2rem, 3.7vw, 3.6rem); letter-spacing: -.04em; margin-bottom: 20px; }
h3 { font-size: 1.22rem; }
.hero-lead { font-size: 1.16rem; color: var(--muted); max-width: 710px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border-radius: 8px; font-weight: 850; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(75,0,230,.25); }
.btn-primary:hover { background: var(--accent2); }
.btn-secondary { border-color: #aab3bf; background: rgba(255,255,255,.72); }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; color: #3f4957; font-size: .94rem; }
.hero-points li:before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 2px; }

/* Container Width Hero Visual - Tam Görsel Sığdırma (No Cropping) */
.hero-visual {
  width: 100%;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.hero-visual .hero-photo-card {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 16px 36px rgba(8,14,24,.12);
  border: 1px solid var(--line);
}
.hero-visual .hero-photo-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Trust Strip & Services */
.trust-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 23px 22px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-size: .96rem; }
.trust-grid span { font-size: .82rem; color: var(--muted); margin-top: 3px; }

.section { padding: 100px 0; }
.section-heading { max-width: 790px; margin-bottom: 45px; }
.section-heading > p:last-child { font-size: 1.05rem; color: var(--muted); }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; min-height: 260px; box-shadow: 0 8px 28px rgba(20,30,45,.04); transition: .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card p { color: var(--muted); font-size: .95rem; }
.icon-box { width: 52px; height: 52px; border-radius: 10px; background: #f3f5f7; display: grid; place-items: center; margin-bottom: 38px; }
.icon-box img { width: 28px; }

/* Dark Sections & Carbide */
.section-dark { background: linear-gradient(150deg, var(--dark), var(--dark2)); color: #fff; }
.section-dark .eyebrow { color: #9f80ff; }
.section-dark p { color: #c4cbd4; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.reverse { grid-template-columns: .92fr 1.08fr; }
.feature-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 30px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 24px; color: #eef2f5; font-size: .94rem; }
.check-list li:before { content: "✓"; position: absolute; left: 0; color: var(--accent2); font-weight: 900; }
.mini-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.mini-specs div { background: rgba(255,255,255,.06); border-radius: 99px; padding: 13px; }
.mini-specs strong, .mini-specs span { display: block; }
.mini-specs strong { font-size: .82rem; }
.mini-specs span { font-size: .69rem; color: #aab4c0; margin-top: 4px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 27px 0; }
.tag-list span { background: #fff; border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; font-size: .84rem; font-weight: 800; }
.note { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 14px; }

/* Process & Quality */
.process-section { background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.process-grid article { padding: 28px; border-right: 1px solid var(--line); }
.process-grid article:last-child { border-right: 0; }
.process-grid span { font-weight: 900; color: #4b00e6; font-size: .82rem; }
.process-grid h3 { margin: 18px 0 10px; }
.process-grid p { font-size: .92rem; color: var(--muted); margin: 0; }
.quality-section { background: #edf1f5; }
.quality-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.quality-card { background: #fff; border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.quality-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.quality-card li { font-size: .9rem; padding-left: 20px; position: relative; }
.quality-card li:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); position: absolute; left: 0; top: .7em; }

/* Contact Form */
.contact-section { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.contact-details { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.contact-details > a, .contact-details > div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-details strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-details span { color: var(--muted); }
.quote-form { background: #f4f6f8; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; margin-bottom: 15px; }
label > span { display: block; font-size: .82rem; font-weight: 850; margin-bottom: 7px; }
input, textarea, select { width: 100%; border: 1px solid #cbd3db; background: #fff; border-radius: 8px; padding: 12px 13px; color: var(--ink); }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(75,0,230,.18); border-color: #4b00e6; }
.form-note { font-size: .78rem; color: var(--muted); margin: 2px 0 15px; }
.btn-full { width: 100%; }

/* Footer */
.site-footer { background: #0c121b; color: #cbd2db; padding: 52px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 45px; align-items: start; }
.footer-grid p { color: #8f9baa; font-size: .9rem; }
.footer-links { display: grid; gap: 8px; font-size: .9rem; }
.footer-meta { display: grid; gap: 5px; justify-items: end; font-size: .82rem; color: #8f9baa; text-align: right; }

/* Component Styles */
.product-photo-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.055); border-radius: 18px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.2); }
.product-photo { margin: 0; min-height: 185px; overflow: hidden; border-radius: 11px; background: #fff; }
.product-photo-main { grid-row: span 2; min-height: 380px; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo-panel .mini-specs { grid-column: 1/-1; margin-top: 0; }

.product-gallery-section { background: #f5f7fa; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 16px; }
.gallery-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(15,24,36,.07); }
.gallery-grid .gallery-wide { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid figure:hover img { transform: scale(1.025); }
.gallery-grid figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; background: rgba(10,17,26,.78); backdrop-filter: blur(7px); border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: 9px 11px; font-size: .82rem; font-weight: 800; }

.brand img { width: 248px; height: auto; max-height: 54px; object-fit: contain; }
.site-footer img { width: 248px; height: auto; max-height: 56px; object-fit: contain; }

.header-phone { font-size: .82rem; font-weight: 850; white-space: nowrap; color: var(--accent); padding: 8px 11px; border: 1px solid rgba(75,0,230,.22); border-radius: 999px; background: #fff; }
.header-phone:hover { background: rgba(75,0,230,.06); }

.machining-showcase { background: linear-gradient(180deg, #fff 0%, #f3f4f8 100%); }
.machining-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; align-items: stretch; }
.machining-catalog-card { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.machining-catalog-card img { width: 100%; height: 100%; object-fit: cover; }
.machining-copy { display: flex; flex-direction: column; gap: 20px; }
.machining-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.machining-points article { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 18px; min-height: 135px; }
.machining-points strong, .machining-points span { display: block; }
.machining-points strong { font-size: .95rem; color: var(--ink); margin-bottom: 7px; }
.machining-points span { font-size: .84rem; color: var(--muted); }
.machining-mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-height: 200px; }
.machining-mini-gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.machining-mini-gallery img { width: 100%; height: 100%; object-fit: cover; }

.application-banner { position: relative; min-height: 580px; display: grid; align-items: end; overflow: hidden; background: #0d1119; color: #fff; }
.application-image { position: absolute; inset: 0; }
.application-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,16,.9) 0%, rgba(7,10,16,.55) 48%, rgba(7,10,16,.15) 100%); }
.application-image img { width: 100%; height: 100%; object-fit: cover; }
.application-copy { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 85px; max-width: 720px; margin-left: max(calc((100% - var(--max))/2), 20px); margin-right: auto; }
.application-copy .eyebrow { color: #b9a4ff; }
.application-copy h2 { max-width: 680px; }
.application-copy p:last-child { max-width: 680px; color: #d6d9df; font-size: 1.05rem; }

.tungsten-photo { margin: 0; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 440px; }
.tungsten-photo img { width: 100%; height: 100%; object-fit: cover; }

.contact-details > a:hover span { color: var(--accent); }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; z-index: 70; box-shadow: 0 14px 35px rgba(0,0,0,.24); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float svg { width: 31px; height: 31px; fill: #fff; }

/* Responsive Media Queries */
@media(max-width: 1120px) { .header-phone { display: none; } }
@media(max-width: 980px) {
  .main-nav { position: absolute; display: none; top: 76px; left: 20px; right: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .menu-button { display: block; }
  .split, .reverse, .quality-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1/-1; justify-items: start; text-align: left; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
  .machining-layout { grid-template-columns: 1fr; }
  .application-copy { margin-left: auto; margin-right: auto; }
}
@media(max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .site-header .nav-wrap { height: 68px; }
  .lang-switch { display: none; }
  .hero { padding-top: 10px; padding-bottom: 50px; }
  .hero-visual .hero-photo-card { border-radius: 12px; }
  h1 { font-size: 2.3rem; }
  .brand img { width: 190px; max-height: 44px; }
  .site-footer img { width: 205px; max-height: 50px; }
  .section { padding: 60px 0; }
  .cards-grid, .feature-columns, .process-grid, .quality-card ul, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .process-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid article:last-child { border-bottom: 0; }
  .mini-specs { grid-template-columns: 1fr; }
  .contact-details > a, .contact-details > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-meta { grid-column: auto; }
  .product-photo-panel { grid-template-columns: 1fr; }
  .product-photo-main { grid-row: auto; min-height: 340px; }
  .product-photo { min-height: 260px; }
  .product-photo-panel .mini-specs { grid-column: auto; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .gallery-grid .gallery-wide { grid-column: auto; grid-row: auto; }
  .machining-points { grid-template-columns: 1fr; }
  .machining-mini-gallery { grid-template-columns: 1fr; min-height: auto; }
  .machining-mini-gallery figure { height: 260px; }
  .application-banner { min-height: 650px; }
  .application-image:after { background: linear-gradient(to top, rgba(7,10,16,.94) 0%, rgba(7,10,16,.55) 62%, rgba(7,10,16,.12) 100%); }
  .application-copy { padding: 300px 0 62px; }
  .whatsapp-float { right: 15px; bottom: 15px; width: 54px; height: 54px; }
}
