/* Kocaoğlu Hidrolik - logodaki kırmızı/siyah üzerine kurulu sade endüstriyel tema */
:root {
  --red: #c8161d;
  --red-dark: #a11117;
  --ink: #16181b;
  --steel: #23272d;
  --text: #2b2f35;
  --muted: #646b75;
  --line: #e2e4e8;
  --soft: #f3f4f6;
  --bg: #ffffff;
  --radius: 10px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Üst menü */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav > a, .has-sub > a { display: block; padding: .55rem .8rem; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav > a:hover, .has-sub > a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav .nav-cta { background: var(--red); color: #fff; margin-left: .5rem; padding: .55rem 1rem; }
.nav .nav-cta:hover { background: var(--red-dark); color: #fff; }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.sub { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); display: none; grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 1.25rem; padding: 1.25rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: grid; }
.sub-col a { display: block; padding: .2rem 0; color: var(--text); text-decoration: none; font-size: .95rem; }
.sub-col a:hover { color: var(--red); }
.sub-col .sub-title { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--red); padding-bottom: .4rem; margin-bottom: .4rem; }
.sub-col .sub-more { color: var(--red); font-weight: 600; margin-top: .3rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .brand img { height: 38px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 20px 1rem; box-shadow: 0 16px 30px rgba(0,0,0,.08); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a, .has-sub > a { padding: .8rem 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .has-sub > a::after { display: none; }
  .sub { position: static; transform: none; display: grid; grid-template-columns: 1fr; gap: .5rem; padding: .5rem 0 .75rem 1rem; border: 0; box-shadow: none; }
  .sub-col a:not(.sub-title):not(.sub-more) { display: none; }
  .sub-col .sub-title { border: 0; margin: 0; padding: .2rem 0; font-weight: 600; }
  .sub-col .sub-more { display: none; }
  .nav .nav-cta { margin: .75rem 0 0; text-align: center; }
}

/* Düğmeler */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.3rem; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid transparent; transition: .15s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--soft); color: var(--red-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Ana sayfa */
.hero { background: linear-gradient(180deg, #f6f7f8 0%, #eceef1 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem; padding-top: 3.5rem; padding-bottom: 3rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .8rem; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-media img { mix-blend-mode: multiply; width: 100%; transform: scale(1.08); }
.stats { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 1.4rem 1rem; border-left: 1px solid rgba(255,255,255,.12); }
.stats-grid div:first-child { border-left: 0; }
.stats-grid strong { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; }
.stats-grid span { color: #b9bec6; font-size: .9rem; }

.section { padding: 4rem 0; }
.section-tight { padding: 2.5rem 0 4rem; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--steel); color: #d6d9de; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-head h2 { margin: 0; }
.section-head h2 a { color: inherit; text-decoration: none; }
.section-head > a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.sub-head { font-size: 1.15rem; margin: 2rem 0 1rem; padding-left: .75rem; border-left: 4px solid var(--red); }

.group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.group-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: .2s; }
.group-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.09); border-color: #d3d6db; color: inherit; }
.gc-img { position: relative; background: var(--soft); aspect-ratio: 4 / 3; }
.gc-img img { position: absolute; inset: 0; mix-blend-mode: multiply; width: 100%; height: 100%; object-fit: contain; padding: .75rem; }
.gc-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; }
.gc-title { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.gc-lead { color: var(--muted); font-size: .97rem; }
.gc-more { color: var(--red); font-weight: 700; margin-top: .3rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.feature { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-top: 3px solid var(--red); border-radius: 8px; padding: 1.3rem 1.3rem .4rem; }
.feature p { font-size: .97rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.cert-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; align-items: end; }
.cert-strip a { display: block; border: 1px solid var(--line); border-radius: 6px; padding: .4rem; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.cert-strip .cert-more { grid-column: 1 / -1; border: 0; box-shadow: none; padding: 0; font-weight: 700; text-decoration: none; text-align: right; }

.cta-band { background: var(--red); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; color: #ffe3e4; }
.cta-band .actions { margin: 0; }

/* İç sayfalar */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 1.5rem 0 1.75rem; }
.page-head h1 { margin: .4rem 0 .4rem; }
.page-head .lead { margin: 0; max-width: 46em; }
.breadcrumb { font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: .2s; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); color: inherit; }
.pc-img { position: relative; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pc-body { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; gap: .5rem; }
.pc-name { font-weight: 800; color: var(--ink); }
.pc-cap { font-size: .82rem; font-weight: 700; color: var(--red); background: #fdecec; padding: .15rem .55rem; border-radius: 999px; white-space: nowrap; }

.table-wrap { overflow-x: auto; margin-top: 2.5rem; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .97rem; margin: 1rem 0; }
.spec-table caption { text-align: left; font-weight: 800; color: var(--ink); font-size: 1.1rem; padding-bottom: .6rem; }
.spec-table th, .spec-table td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--ink); color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.spec-table tbody th { color: var(--ink); font-weight: 600; width: 45%; }
.spec-table tbody tr:nth-child(even) { background: #fafafb; }
.spec-table a { font-weight: 700; text-decoration: none; }

.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: start; }
.g-main { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; }
.g-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.g-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .6rem; margin-top: .75rem; }
.g-thumbs a { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; cursor: zoom-in; }
.g-thumbs a:hover { border-color: var(--red); }
.g-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.product-info h1 { margin-bottom: .5rem; }
.product-info .cap { font-size: .55em; vertical-align: middle; color: #fff; background: var(--red); padding: .2rem .6rem; border-radius: 6px; font-weight: 700; }
.note { background: var(--soft); border-left: 4px solid var(--red); padding: .9rem 1rem; border-radius: 0 6px 6px 0; }

.about { display: grid; grid-template-columns: 1fr 240px; gap: 3rem; align-items: start; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .3rem; }
.founder { margin: 0; text-align: center; }
.founder img { border-radius: var(--radius); margin: 0 auto .7rem; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.founder figcaption { color: var(--muted); font-size: .95rem; }
.founder strong { color: var(--ink); }

.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.25rem; }
.cert-grid a { display: flex; flex-direction: column; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; text-align: center; }
.cert-grid img { border: 1px solid var(--line); border-radius: 6px; padding: .4rem; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.06); cursor: zoom-in; }
.catalog-card { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); margin-bottom: 2.5rem; background: #fff; }
.catalog-card:hover { border-color: var(--red); color: var(--text); }
.cc-icon { flex: none; width: 56px; height: 68px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cc-go { margin-left: auto; color: var(--red); font-weight: 700; white-space: nowrap; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 1.4rem; }
.contact-card h3 { margin-top: 1.2rem; font-size: 1rem; }
.addr { font-size: 1.1rem; color: var(--ink); }
.big-link { font-size: 1.2rem; font-weight: 700; text-decoration: none; word-break: break-word; }

/* Alt bilgi */
.site-footer { background: var(--ink); color: #b9bec6; padding-top: 3rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2rem; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: #e3e5e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; display: flex; flex-direction: column; gap: .35rem; }
.copy { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; padding-bottom: 1.5rem; font-size: .85rem; }

/* Fotoğraf büyütme */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10,10,12,.88); }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; background: #fff; }
.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .hero-inner, .split, .product, .about { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 2rem; }
  .hero-media { order: -1; max-width: 520px; }
  .group-grid, .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(3) { border-left: 0; }
  .stats-grid div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .footer-grid { grid-template-columns: 1fr; }
  .about .founder { max-width: 220px; }
  .section { padding: 3rem 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .pc-body { flex-direction: column; align-items: flex-start; padding: .6rem .7rem; }
  .cert-strip { grid-template-columns: repeat(3, 1fr); }
  .btn { width: 100%; }
}

/* İletişim haritası */
.map-block { margin-top: 3rem; }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; min-height: 320px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .map { aspect-ratio: 4 / 5; } }
