/* ===========================================================
   Ankara Rezistans — tasarım sistemi
   =========================================================== */
:root {
  --red: #d0142f;
  --red-dark: #a80f25;
  --red-soft: #fff1f3;
  --ink: #0f1729;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6e9ef;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --navy: #0b1220;
  --navy-2: #131c2e;
  --wa: #25d366;
  --wa-dark: #1ebe5a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 41, .06);
  --shadow: 0 1px 3px rgba(15, 23, 41, .06), 0 10px 30px rgba(15, 23, 41, .07);
  --shadow-lg: 0 20px 50px rgba(15, 23, 41, .16);
  --container: 1240px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
ul.plain { list-style: none; padding: 0; margin: 0; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; border-radius: 4px; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .72rem 1.25rem; border-radius: 999px; font-weight: 600; border: 1.5px solid transparent;
  cursor: pointer; font-size: .94rem; font-family: inherit; white-space: nowrap; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { flex: none; transition: transform .2s; }
.btn:hover svg:last-child { transform: translateX(2px); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; margin-top: .6rem; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(208, 20, 47, .28); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: #cbd2dc; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #05371a; }
.btn-wa:hover { background: var(--wa-dark); color: #05371a; }

/* ---------- Üst bilgi çubuğu ---------- */
.topbar { background: var(--navy); color: #cbd5e1; font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.tb-item { display: inline-flex; align-items: center; gap: .45rem; color: #cbd5e1; }
.tb-item svg { color: #ff5a6e; }
a.tb-item:hover { color: #fff; }
.tb-right { display: inline-flex; gap: 22px; }
.tb-wa svg { color: var(--wa); }
@media (max-width: 860px) { .topbar-inner > .tb-item { display: none; } .topbar-inner { justify-content: center; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 41, .08); }
.nav-wrap { display: flex; align-items: center; min-height: 78px; gap: 28px; }
.brand { flex: none; display: inline-flex; }
.brand-logo { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav > a, .sub-toggle {
  color: var(--ink-2); font-weight: 600; font-size: .94rem; padding: .55rem .85rem; border-radius: 999px;
  transition: color .2s, background .2s;
}
.main-nav > a:hover, .main-nav > a[aria-current="page"] { color: var(--red); background: var(--red-soft); }
.has-sub { position: relative; }
.sub-toggle { background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.sub-toggle svg { transition: transform .2s; }
.sub-toggle:hover, .sub-toggle[aria-expanded="true"], .has-sub.current > .sub-toggle { color: var(--red); background: var(--red-soft); }
.has-sub:hover > .sub-toggle svg { transform: rotate(180deg); }
.nav-cta { flex: none; }

.submenu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 14px; z-index: 70;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.submenu.mega { width: min(820px, 92vw); }
.has-sub:hover > .submenu, .submenu.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.submenu-head strong { font-family: var(--font-head); font-size: 1rem; }
.submenu-head a { font-size: .85rem; font-weight: 600; }
.submenu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.submenu.mega ul { grid-template-columns: repeat(3, 1fr); }
.submenu li a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--ink-2); font-size: .88rem; font-weight: 500; line-height: 1.3; }
.submenu li a:hover { background: var(--bg-soft); color: var(--red); }
.sm-thumb { flex: none; width: 38px; height: 38px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; display: grid; place-items: center; }
.sm-thumb img { width: 100%; height: 100%; object-fit: contain; }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; margin-left: auto; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none; max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .sub-toggle { border-radius: 0; padding: .9rem 4px; border-bottom: 1px solid var(--line); background: none !important; }
  .sub-toggle { width: 100%; justify-content: space-between; }
  .submenu, .submenu.mega {
    position: static; transform: none !important; width: auto; box-shadow: none; border: 0; padding: 4px 0 10px;
    opacity: 1; visibility: visible; display: none;
  }
  .submenu.open { display: block; }
  .has-sub:hover > .submenu:not(.open) { display: none; }
  .submenu.mega ul { grid-template-columns: 1fr; }
  .submenu-head { padding: 6px 4px 10px; }
}

/* ---------- Hero ---------- */
.hero2 { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 84px 0 150px; }
.hero2-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(208, 20, 47, .38), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(208, 20, 47, .18), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 44px 44px;
}
.hero2-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: #e2e8f0; font-weight: 500;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b55; box-shadow: 0 0 0 4px rgba(255, 59, 85, .25); }
.hero2 h1 { color: #fff; margin: 1.2rem 0 1rem; font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
.hero2 .hl { background: linear-gradient(90deg, #ff4d64, #ff8a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { color: #cbd5e1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-stats { list-style: none; padding: 0; margin: 2.6rem 0 0; display: flex; gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.6rem; }
.hero-stats li { flex: 1; padding-right: 20px; }
.hero-stats li + li { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-stats span { font-size: .85rem; color: #94a3b8; }

.hero2-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hv-tile {
  position: relative; background: #fff; border-radius: 20px; padding: 18px 18px 46px; aspect-ratio: 1 / 1;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); display: grid; place-items: center; animation: float 7s ease-in-out infinite;
}
.hv-tile img { width: 100%; height: 100%; object-fit: contain; }
.hv-tile span { position: absolute; left: 16px; right: 16px; bottom: 14px; font-size: .82rem; font-weight: 700; color: var(--ink); font-family: var(--font-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-2 { transform: translateY(36px); animation-delay: -2s; }
.hv-3 { animation-delay: -4s; }
.hv-4 { transform: translateY(36px); animation-delay: -6s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .hv-tile { animation: none; } }
@media (max-width: 960px) {
  .hero2 { padding: 56px 0 96px; }
  .hero2-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero2-visual { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .hv-tile { padding: 10px; border-radius: 14px; }
  .hv-tile span { display: none; }
  .hv-2, .hv-4 { transform: none; }
}
@media (max-width: 520px) { .hero2-visual { grid-template-columns: repeat(2, 1fr); } .hero-stats strong { font-size: 1.45rem; } }

/* ---------- Kategori paneli (hero altına biner) ---------- */
.cat-strip { position: relative; z-index: 2; margin-top: -56px; }
.cat-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 24px 24px 18px; }
.cat-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 6px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.cat-panel-head h2 { font-size: 1.15rem; margin: 0; }
.cat-panel-head a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; }
.cat-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 12px 8px; border-radius: 12px; color: var(--ink-2); transition: background .2s, color .2s; }
.cat-tile:hover { background: var(--bg-soft); color: var(--red); }
.ct-img { width: 64px; height: 64px; border-radius: 14px; background: linear-gradient(180deg, #f8f9fb, #eef1f5); display: grid; place-items: center; padding: 6px; transition: transform .25s; }
.cat-tile:hover .ct-img { transform: translateY(-3px); }
.ct-img img { width: 100%; height: 100%; object-fit: contain; }
.ct-name { font-size: .8rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1080px) { .cat-tiles { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 760px) { .cat-tiles { grid-template-columns: repeat(3, 1fr); } .cat-panel { padding: 18px 12px 12px; } .cat-strip { margin-top: -36px; } }
@media (max-width: 420px) { .ct-img { width: 54px; height: 54px; } }

/* ---------- Bölümler ---------- */
.section { padding: 88px 0; background: #fff; }
.section.light { background: #fff; }
.sec-head2 { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.sec-head2 h2 { margin: .35rem 0 0; }
.center-head { justify-content: center; text-align: center; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.kicker.light { color: #ff7a8b; }
@media (max-width: 600px) { .section { padding: 60px 0; } }

/* Vitrin kartları */
.show-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.show-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.show-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.show-img { aspect-ratio: 4 / 3; background: linear-gradient(180deg, #f8f9fb, #eef1f5); display: grid; place-items: center; padding: 18px; }
.show-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.show-card:hover .show-img img { transform: scale(1.06); }
.show-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.show-body h3 { margin-bottom: .45rem; }
.show-body p { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.show-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--red); }
.show-card:hover .show-link svg { transform: translateX(3px); }
.show-link svg { transition: transform .2s; }
@media (max-width: 1080px) { .show-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .show-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .show-body p { display: none; } }

/* Özellikler */
.features { background: var(--bg-soft); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: box-shadow .25s, transform .25s; }
.feat:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feat-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.feat p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 1080px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* Adımlar */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: #fff; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 50px; right: -18px; width: 14px; height: 2px; background: #cbd2dc;
}
.step-n { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps li::after { display: none; } }

/* Weldy bandı */
.weldy-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.weldy-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 100% 0%, rgba(208, 20, 47, .3), transparent 60%); }
.weldy-grid { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.weldy-copy h2 { color: #fff; margin: .4rem 0 .8rem; }
.weldy-copy p { color: #cbd5e1; margin-bottom: 1.6rem; }
.weldy-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.weldy-item { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 12px; color: #fff; transition: background .2s, border-color .2s; }
.weldy-item:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.wi-img { flex: none; width: 76px; height: 76px; background: #fff; border-radius: 10px; padding: 6px; display: grid; place-items: center; }
.wi-img img { width: 100%; height: 100%; object-fit: contain; }
.wi-name { font-weight: 600; font-size: .92rem; line-height: 1.35; }
@media (max-width: 960px) { .weldy-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .weldy-items { grid-template-columns: 1fr; } }

/* Ziyaret / harita */
.visit-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: stretch; }
.visit-card { background: var(--bg-soft); border-radius: var(--radius); padding: 40px; }
.visit-card h2 { margin: .4rem 0 1.4rem; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; color: #cbd5e1; font-size: .93rem; }
.contact-list li svg { flex: none; margin-top: 3px; color: #ff5a6e; }
.contact-list a { color: inherit; }
.contact-list a:hover { color: #fff; }
.contact-list.dark li { color: var(--ink-2); font-size: 1rem; }
.contact-list.dark li svg { color: var(--red); }
.contact-list.dark a:hover { color: var(--red); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } .visit-card { padding: 28px; } }

/* ---------- Grid ve kartlar (iç sayfalar) ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.mini {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.mini-img { aspect-ratio: 4 / 3; background: linear-gradient(180deg, #f8f9fb, #eef1f5); display: grid; place-items: center; padding: 16px; }
.mini-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.mini:hover .mini-img img { transform: scale(1.06); }
.mini h3 { margin: 0; padding: 16px 18px 18px; font-size: .98rem; }
.mini:hover h3 { color: var(--red); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media { aspect-ratio: 4 / 3; background: linear-gradient(180deg, #f8f9fb, #eef1f5); display: grid; place-items: center; padding: 14px; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4rem; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--red); }
.card-body p { font-size: .87rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-actions { margin-top: auto; display: flex; gap: .5rem; padding-top: 12px; }
.card-actions .btn { flex: 1; font-size: .84rem; padding: .55rem .7rem; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; color: #94a3b8; }
.ph span { font-size: 2rem; font-weight: 800; font-family: var(--font-head); }

/* ---------- Sayfa başlığı ---------- */
.page-title { position: relative; background-color: var(--navy); background-size: cover; background-position: center; color: #fff; padding: 64px 0 56px; }
.page-title h1 { color: #fff; margin: .6rem 0 0; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.page-title h1 strong { font-weight: 800; }
.page-title .subtitle { color: #cbd5e1; margin: .5rem 0 0; }
.crumbs { font-size: .86rem; color: #94a3b8; }
.crumbs a { color: #cbd5e1; }
.crumbs a:hover { color: #fff; }
.search { display: block; margin-top: 22px; }
.search input {
  width: 100%; max-width: 480px; padding: .85rem 1.2rem; font: inherit; border: 1px solid transparent;
  border-radius: 999px; background: #fff; color: var(--ink); box-shadow: var(--shadow);
}
.search input:focus { outline: none; box-shadow: 0 0 0 4px rgba(208, 20, 47, .25); }
.empty { padding: 2rem 0; color: var(--ink-2); }

/* ---------- İç sayfa düzeni ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.layout-main { min-width: 0; }
.sidebar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; position: sticky; top: 100px; box-shadow: var(--shadow-sm); }
.sidebar h3 { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 18px 0 8px; font-family: var(--font); }
.sidebar h3:first-child { margin-top: 0; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: block; padding: .45rem .7rem; margin: 0 -.7rem; border-radius: 8px; color: var(--ink-2); font-size: .9rem; transition: background .15s, color .15s; }
.side-list a:hover { background: var(--bg-soft); color: var(--red); }
.side-list a.on { background: var(--red-soft); color: var(--red); font-weight: 700; }
.side-cta { margin-top: 20px; padding: 18px; border-radius: var(--radius-sm); background: var(--navy); color: #cbd5e1; }
.side-cta p { font-size: .9rem; margin-bottom: .3rem; }
.side-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.side-cta .btn-outline:hover { background: #fff; color: var(--ink); }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .sidebar { position: static; order: 2; } }

/* ---------- Ürün detay ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product-media { background: linear-gradient(180deg, #f8f9fb, #eef1f5); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-info .tag { display: inline-block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); font-weight: 700; background: var(--red-soft); padding: .3rem .7rem; border-radius: 999px; }
.product-title { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: .8rem 0 .7rem; }
.product-info .lead { font-size: 1rem; }
.details { list-style: none; padding: 0; margin: 1.2rem 0 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.details li { padding: .6rem 1rem; color: var(--ink-2); font-size: .92rem; }
.details li:nth-child(odd) { background: var(--bg-soft); }
.gallery-title { margin-top: 3rem; font-size: 1.5rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 14px; }
.gallery a { background: linear-gradient(180deg, #f8f9fb, #eef1f5); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 8px; border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Kurumsal / İletişim ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.8rem; font-size: 1.6rem; }
.prose p { color: var(--ink-2); font-size: 1.05rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: stretch; }
.contact-card { padding: 32px; }
.contact-card h2 { font-size: 1.3rem; }
.big-phone { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--ink); }
.big-phone:hover { color: var(--red); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.pre-footer { background: linear-gradient(120deg, var(--red-dark), var(--red) 60%, #ef4444); color: #fff; padding: 56px 0; }
.pre-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.pre-footer h2 { color: #fff; margin: 0 0 .4rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.pre-footer p { color: #ffe1e5; margin: 0; max-width: 56ch; }
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; }

.site-footer { background: var(--navy); color: #94a3b8; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) .8fr; gap: 36px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-brand > p { font-size: .9rem; margin-bottom: 20px; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 1rem; font-family: var(--font-head); }
.site-footer ul.plain li { margin: .45rem 0; font-size: .9rem; }
.site-footer a { color: #cbd5e1; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer a.more { color: #ff7a8b; font-weight: 600; }
.site-footer .copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #1e293b; margin-top: 48px; padding: 20px 0 24px; font-size: .84rem; color: #64748b; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Sabit WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: .55rem;
  background: var(--wa); color: #05371a; padding: .85rem 1.2rem; border-radius: 999px; font-weight: 700;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.02); color: #05371a; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 80%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 1rem; } }

/* ---------- Görünüm animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .wa-float::before { animation: none; } }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 520px) {
  .hero-actions .btn, .cta-row .btn { width: 100%; }
  .card-actions { flex-direction: column; }
}

/* ---------- 3D sahne ---------- */
.hero3d { position: absolute; inset: -60px -40px -60px -40px; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero3d.ready { opacity: 1; }
.hero3d canvas { width: 100% !important; height: 100% !important; display: block; }
.hero2-visual.has-3d { min-height: 520px; display: block; }
.hero2-visual.has-3d .hv-tile { display: none; }
.hero2-visual.has-3d::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -10px; height: 60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 70, 30, .35), transparent); filter: blur(10px); pointer-events: none;
}
@media (max-width: 960px) { .hero2-visual.has-3d { min-height: 340px; } .hero3d { inset: -20px -16px; } }

/* ---------- Kartlarda 3D eğilme ---------- */
.show-grid, .grid-4 { perspective: 1200px; }
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .show-img img, .tilt .mini-img img { transform: translateZ(30px); }
.tilt-glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .45), transparent 55%); opacity: 0; transition: opacity .3s; }
.tilt:hover .tilt-glare { opacity: 1; }
.show-card, .mini { position: relative; }
.hero3d { -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%); }

/* ---------- Arka plan logo efekti ---------- */
@property --mx { syntax: "<length-percentage>"; inherits: true; initial-value: 50%; }
@property --my { syntax: "<length-percentage>"; inherits: true; initial-value: 50%; }
@property --lr { syntax: "<length>"; inherits: true; initial-value: 0px; }

.logo-fx {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(62vw, 720px); aspect-ratio: 1; left: -6%; top: 50%; transform: translateY(-50%) rotate(-8deg);
  --mx: 50%; --my: 50%; --lr: 0px;
  transition: --lr .6s cubic-bezier(.2, .8, .2, 1);
}
.logo-fx span { position: absolute; inset: 0; -webkit-mask: url("/logo-mark.svg") center / contain no-repeat; mask: url("/logo-mark.svg") center / contain no-repeat; }
.lf-base { background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); }
.lf-glow {
  background: radial-gradient(circle at var(--mx) var(--my), #ffd08a 0, #ff6a2b calc(var(--lr) * .35), #d0142f calc(var(--lr) * .7), transparent var(--lr));
  -webkit-mask: url("/logo-mark.svg") center / contain no-repeat, radial-gradient(circle at var(--mx) var(--my), #000 0, #000 calc(var(--lr) * .55), transparent var(--lr));
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask: url("/logo-mark.svg") center / contain no-repeat, radial-gradient(circle at var(--mx) var(--my), #000 0, #000 calc(var(--lr) * .55), transparent var(--lr));
  filter: drop-shadow(0 0 14px rgba(255, 80, 30, .75));
}
.logo-fx.on { --lr: 240px; }
/* Dokunmatik cihazlarda ışık kendi kendine gezinir */
.logo-fx.auto { --lr: 200px; animation: lf-roam 9s ease-in-out infinite; }
@keyframes lf-roam {
  0% { --mx: 20%; --my: 30%; } 25% { --mx: 75%; --my: 25%; } 50% { --mx: 70%; --my: 72%; }
  75% { --mx: 25%; --my: 70%; } 100% { --mx: 20%; --my: 30%; }
}
@media (prefers-reduced-motion: reduce) { .logo-fx.auto { animation: none; --mx: 50%; --my: 50%; } }

/* Hero: içerik logonun üstünde kalsın */
.hero2-grid { z-index: 1; }

/* İç sayfa başlıkları: logo sağda, daha küçük */
.page-title { overflow: hidden; }
.page-title > .container { position: relative; z-index: 1; }
.page-title .logo-fx { width: 380px; left: auto; right: -40px; transform: translateY(-50%) rotate(-10deg); }
.page-title .logo-fx.on { --lr: 160px; }
.page-title .logo-fx.auto { --lr: 140px; }
@media (max-width: 760px) {
  .logo-fx { width: 120vw; left: -30%; opacity: .8; }
  .page-title .logo-fx { width: 260px; right: -60px; }
}
/* Logo ortada, metnin önüne geçmeyecek yoğunlukta */
.hero2 .logo-fx { width: min(78vw, 880px); left: 50%; transform: translate(-50%, -50%) rotate(-8deg); }
.hero2 .lf-glow { opacity: .5; }
.hero2 .logo-fx.on { --lr: 200px; }
.page-title .lf-glow { opacity: .65; }
@media (max-width: 760px) { .hero2 .logo-fx { width: 130vw; } }

/* ---------- Site geneli arka plan: logo deseni + imleci izleyen ısı ışığı ---------- */
@property --px { syntax: "<length>"; inherits: true; initial-value: -999px; }
@property --py { syntax: "<length>"; inherits: true; initial-value: -999px; }
@property --pr { syntax: "<length>"; inherits: true; initial-value: 0px; }
.site-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; --sy: 0px; --pr: 0px; transition: --pr .7s cubic-bezier(.2, .8, .2, 1); }
.site-fx span { position: absolute; inset: -200px 0; }
.sf-base {
  background: rgba(15, 23, 41, .035);
  -webkit-mask: url("/pattern.svg") 0 var(--sy) / 200px 200px repeat; mask: url("/pattern.svg") 0 var(--sy) / 200px 200px repeat;
}
.sf-glow {
  background: radial-gradient(circle at var(--px) calc(var(--py) + 200px), #ff9a3c 0, #ff4a26 calc(var(--pr) * .4), #d0142f calc(var(--pr) * .75), transparent var(--pr));
  -webkit-mask: url("/pattern.svg") 0 var(--sy) / 200px 200px repeat; mask: url("/pattern.svg") 0 var(--sy) / 200px 200px repeat;
  opacity: .55;
}
.sf-halo { background: radial-gradient(circle at var(--px) calc(var(--py) + 200px), rgba(255, 90, 40, .07), transparent calc(var(--pr) * 1.3)); }
.site-fx.on { --pr: 230px; }
.site-fx.auto { --pr: 220px; animation: sf-roam 14s ease-in-out infinite; }
@keyframes sf-roam {
  0% { --px: 15vw; --py: 20vh; } 25% { --px: 80vw; --py: 30vh; } 50% { --px: 70vw; --py: 80vh; }
  75% { --px: 20vw; --py: 70vh; } 100% { --px: 15vw; --py: 20vh; }
}
@media (prefers-reduced-motion: reduce) { .site-fx.auto { animation: none; --pr: 0px; } }

/* Desenin görünmesi için açık bölümler saydam; kartlar beyaz kalır */
.section, .section.light { background: transparent; }
.features { background: rgba(246, 247, 249, .72); }
.page-title, .hero2, .weldy-band, .pre-footer, .site-footer, .topbar { isolation: isolate; }
/* Koyu bölümler saydamlık kuralından etkilenmesin */
.section.weldy-band { background: var(--navy); }
