/*
Theme Name: Polietilen Izgara
Theme URI: https://polietilenizgara.com/
Author: NA-ME A.Ş.
Description: Polietilen (YYPE / HDPE) ızgara ürünleri için hızlı ve erişilebilir kurumsal tema.
Version: 1.0.0
Text Domain: polietilen-izgara
*/

:root {
  --ink: #10263b;
  --ink-2: #173850;
  --navy: #0a1e31;
  --navy-soft: #112f48;
  --aqua: #32bdc6;
  --aqua-dark: #087983;
  --aqua-pale: #e4f7f7;
  --lime: #a7d833;
  --lime-dark: #4f7605;
  --paper: #ffffff;
  --mist: #f2f6f6;
  --line: #d9e3e4;
  --muted: #637685;
  --shadow: 0 22px 60px rgba(8, 31, 49, .12);
  --radius: 24px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.25rem; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 5.6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.75rem); }
h3 { font-size: clamp(1.18rem, 1.6vw, 1.45rem); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; padding: 12px 18px; color: #fff; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.topbar { color: #cfe0e9; background: var(--navy); font-size: .78rem; letter-spacing: .035em; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__inner > span { font-weight: 750; text-transform: uppercase; }
.topbar__inner > div { display: flex; gap: 24px; }
.topbar a { transition: color .2s ease; }
.topbar a:hover, .topbar a:focus-visible { color: var(--lime); }

.site-header { position: relative; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: 88px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 13px; }
.brand__mark { width: 48px; height: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 6px; background: var(--navy); border-radius: 13px; transform: rotate(1deg); }
.brand__mark i { display: block; background: var(--lime); border-radius: 8px; }
.brand__mark i:nth-child(2), .brand__mark i:nth-child(3) { background: var(--aqua); }
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-size: .98rem; letter-spacing: .035em; }
.brand__text small { margin-top: 7px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { min-width: 0; margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: block; padding: 12px 11px; border-radius: 10px; font-size: .79rem; font-weight: 750; letter-spacing: .015em; white-space: nowrap; transition: color .2s, background .2s; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav .current-menu-item > a { color: var(--navy); background: var(--aqua-pale); }
.primary-nav li:last-child a { margin-left: 5px; color: var(--navy); background: var(--lime); }
.primary-nav li:last-child a:hover { background: #b8e44f; }
.nav-toggle { display: none; width: 48px; height: 48px; margin-left: auto; padding: 0; border: 0; border-radius: 12px; background: var(--navy); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, top .25s, opacity .2s; }
.nav-toggle span { position: relative; display: block; margin: auto; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(90deg, transparent 95%, rgba(255,255,255,.22) 95%), linear-gradient(0deg, transparent 95%, rgba(255,255,255,.22) 95%); background-size: 42px 42px; }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; left: -220px; bottom: -220px; border: 70px solid var(--aqua); border-radius: 50%; opacity: .15; }
.hero__grid { position: relative; z-index: 1; min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 7vw, 100px); padding-block: 76px; }
.hero h1 { color: #fff; }
.hero h1 span { display: block; }
.hero h1 span:last-child { margin-top: .2em; color: var(--lime); font-size: .36em; line-height: 1.15; letter-spacing: .005em; text-transform: uppercase; }
.hero__copy > p { max-width: 700px; margin-top: 26px; color: #cbdce5; font-size: 1.15rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--aqua); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 3px; background: currentColor; border-radius: 4px; }
.eyebrow--dark { color: var(--lime-dark); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; border: 2px solid var(--lime); border-radius: 13px; color: var(--navy); background: var(--lime); font-size: .9rem; font-weight: 800; line-height: 1.2; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(167, 216, 51, .24); background: #b7e74b; }
.btn--dark { color: #fff; border-color: var(--navy); background: var(--navy); }
.btn--dark:hover, .btn--dark:focus-visible { background: var(--navy-soft); box-shadow: 0 12px 30px rgba(10, 30, 49, .22); }
.btn--light { color: var(--navy); border-color: #fff; background: #fff; }
.text-link { color: #fff; font-weight: 750; }
.text-link b { color: var(--lime); font-size: 1.25rem; }
.hero__media { position: relative; margin: 0; }
.hero__media::before { content: ""; position: absolute; inset: -20px 20px 20px -20px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); }
.hero__media img { position: relative; width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.hero__media figcaption { position: absolute; right: -25px; bottom: 24px; display: grid; min-width: 240px; padding: 18px 22px; color: var(--ink); background: #fff; border-left: 6px solid var(--lime); box-shadow: var(--shadow); font-size: .78rem; }
.hero__media figcaption strong { font-size: 1rem; }

.factbar { color: var(--ink); background: var(--lime); }
.factbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.factbar__grid > div { min-height: 90px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-right: 1px solid rgba(10,30,49,.18); }
.factbar__grid > div:last-child { border-right: 0; }
.factbar b { color: rgba(10,30,49,.46); font-size: .72rem; }
.factbar span { font-size: .84rem; font-weight: 800; }

.section { padding-block: clamp(72px, 9vw, 122px); }
.section--soft { background: var(--mist); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 120px); align-items: center; }
.lead { margin-block: 26px 32px; color: #41596a; font-size: 1.12rem; }
.intro__panel { padding: clamp(28px, 5vw, 56px); color: #fff; background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.intro__panel > div { display: grid; grid-template-columns: 95px 1fr; align-items: center; padding-block: 20px; border-bottom: 1px solid rgba(255,255,255,.13); }
.intro__panel span { color: var(--lime); font-size: 1.3rem; font-weight: 900; }
.intro__panel strong { font-size: .95rem; }
.intro__panel p { margin: 28px 0 0; color: #bfd0da; font-size: .9rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 46px; }
.section-head > div { max-width: 740px; }
.section-head > p { max-width: 420px; color: var(--muted); }
.section-head--light h2 { color: #fff; }
.section-head--light > p { color: #bcd1dd; }
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards article { padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 19px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.cards article:hover { transform: translateY(-6px); border-color: var(--aqua); box-shadow: var(--shadow); }
.cards article > b { display: inline-flex; margin-bottom: 60px; color: var(--aqua-dark); font-size: .74rem; letter-spacing: .12em; }
.cards article p { margin: 18px 0 24px; color: var(--muted); font-size: .93rem; }
.cards article a { color: var(--lime-dark); font-size: .87rem; font-weight: 800; }
.applications { color: #fff; background: var(--ink-2); }
.gallery-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.gallery-grid figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: 18px; background: var(--navy); }
.gallery-grid img { width: 100%; height: 330px; object-fit: cover; transition: transform .5s ease; }
.gallery-grid figure:hover img { transform: scale(1.035); }
.gallery-grid figcaption { position: absolute; inset: auto 0 0; padding: 34px 22px 18px; color: #fff; background: linear-gradient(transparent, rgba(7,25,40,.92)); font-size: .86rem; font-weight: 750; }
.applications > .container > p { margin: 36px 0 0; text-align: center; }
.compare-home { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 8vw, 105px); align-items: center; }
.compare-home__facts { display: grid; gap: 18px; }
.compare-home__facts > div { position: relative; overflow: hidden; display: grid; gap: 9px; padding: 30px; color: #fff; background: var(--navy); border-radius: 18px; }
.compare-home__facts > div:last-child { background: var(--aqua); }
.compare-home__facts b { color: var(--lime); font-size: 1.32rem; }
.compare-home__facts > div:last-child b { color: var(--navy); }
.compare-home__facts > div:last-child span { color: var(--navy); }
.compare-home__facts span { font-size: .9rem; }
.section--cta { padding-block: 64px; color: #fff; background: var(--aqua); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta h2 { color: var(--navy); }
.cta p { max-width: 760px; margin: 18px 0 0; color: #153d50; }
.cta .eyebrow { color: var(--navy); }

.page-hero { position: relative; overflow: hidden; padding-block: clamp(68px, 9vw, 115px); color: #fff; background: var(--navy); }
.page-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -180px; border: 65px solid var(--aqua); border-radius: 50%; opacity: .18; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 940px; color: #fff; font-size: clamp(2.5rem, 5vw, 5rem); }
.page-hero p { max-width: 720px; margin: 26px 0 0; color: #c7d8e2; font-size: 1.1rem; }
.breadcrumbs { display: flex; gap: 10px; margin-bottom: 25px; color: var(--aqua); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--lime); }
.page-content { padding-block: clamp(65px, 9vw, 112px); }
.prose { max-width: 930px; }
.prose > * { max-width: 790px; }
.prose > .wide { max-width: none; }
.prose > p:first-child { color: #334e60; font-size: 1.18rem; }
.prose h2 { margin: 2.2em 0 .65em; font-size: clamp(1.75rem, 3vw, 2.8rem); }
.prose h3 { margin: 1.8em 0 .55em; }
.prose a:not(.btn) { color: #087d87; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-block: .45rem; }
.prose img { margin-block: 35px; border-radius: 20px; box-shadow: var(--shadow); }
.content-grid, .grid-2, .feature-grid, .sector-grid { display: grid; gap: 20px; margin-block: 38px; }
.content-grid, .grid-2 { grid-template-columns: repeat(2, 1fr); }
.content-card { padding: 28px; background: var(--mist); border: 1px solid var(--line); border-radius: 16px; }
.content-card p { margin: 12px 0 0; color: var(--muted); font-size: .93rem; }
.media-card { overflow: hidden; background: var(--navy); border-radius: 18px; }
.media-card img { width: 100%; height: 235px; margin: 0; object-fit: cover; border-radius: 0; box-shadow: none; }
.media-card > div { padding: 27px; color: #c7d9e3; }
.media-card h3 { margin: 7px 0 12px; color: #fff; }
.tag { color: var(--lime); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 30px; background: var(--mist); border-top: 5px solid var(--aqua); border-radius: 0 0 16px 16px; }
.feature b { color: var(--lime-dark); font-size: .75rem; }
.feature h3 { margin: 22px 0 12px; }
.feature p { margin: 0; color: var(--muted); font-size: .9rem; }
.sector-grid { grid-template-columns: repeat(3, 1fr); }
.sector-grid > div { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; }
.sector-grid span { color: var(--aqua-dark); font-size: .72rem; font-weight: 850; }
.sector-grid strong { font-size: .9rem; }
.notice { margin-block: 30px; padding: 22px 25px; background: #f0f8dc; border-left: 5px solid var(--lime-dark); border-radius: 4px 13px 13px 4px; color: #3d510f; }
.contact-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; margin-block: 42px; }
.contact-panel > div { min-width: 0; padding: 32px; color: #c8d9e2; background: var(--navy); border-radius: 18px; }
.contact-panel > div:last-child { background: var(--ink-2); }
.contact-panel span { color: var(--lime); font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.contact-panel h2 { overflow-wrap: break-word; margin: 12px 0 18px; color: #fff; font-size: clamp(1.35rem, 2.35vw, 2.05rem); }
.contact-panel > div:last-child h2 { font-size: clamp(1.05rem, 1.8vw, 1.55rem); letter-spacing: -.025em; }
.contact-panel p { font-size: .9rem; }
.contact-panel a { color: var(--lime) !important; font-weight: 800; }
.data-table-wrap { overflow-x: auto; margin-block: 38px; border: 1px solid var(--line); border-radius: 16px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th { padding: 16px 18px; color: #fff; background: var(--navy); text-align: left; }
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tbody tr:nth-child(even) { background: var(--mist); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.check-list { padding: 0 !important; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 13px; height: 8px; border-left: 3px solid var(--lime-dark); border-bottom: 3px solid var(--lime-dark); transform: rotate(-45deg); }
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-block: 40px; }
.compare article { padding: 34px; color: #c8d8e1; background: var(--navy); border-radius: 18px; }
.compare article:last-child { background: var(--ink-2); }
.compare article > span { color: var(--lime); font-size: .76rem; font-weight: 850; letter-spacing: .12em; }
.compare h2 { margin: 14px 0 24px; color: #fff; font-size: 2rem; }
.compare .check-list li::before { border-color: var(--aqua); }

.site-footer { color: #bacbd4; background: #071827; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: clamp(45px, 8vw, 100px); padding-block: 72px; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: #93a8b5; }
.footer-grid > div:first-child > p { max-width: 470px; margin: 24px 0 0; font-size: .88rem; }
.site-footer h2 { margin-bottom: 20px; color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-block: 8px; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--lime); }
.footer-grid p, .footer-grid li { font-size: .86rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .78rem; }

@media (max-width: 1120px) {
  .site-header__inner { min-height: 78px; }
  .nav-toggle { display: block; }
  .primary-nav { position: fixed; inset: var(--nav-offset, 116px) 0 0; display: none; overflow-y: auto; padding: 24px 20px 50px; color: #fff; background: var(--navy); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { width: min(100%, 620px); margin: auto; display: grid; gap: 7px; }
  .primary-nav a { padding: 15px 17px; font-size: 1rem; }
  .primary-nav a:hover, .primary-nav .current-menu-item > a { color: #fff; background: var(--navy-soft); }
  .primary-nav li:last-child a { margin: 10px 0 0; color: var(--navy); text-align: center; }
  .hero__grid { min-height: auto; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .topbar__inner { padding-block: 8px; }
  .topbar__inner > span { display: none; }
  .topbar__inner > div { width: 100%; justify-content: space-between; gap: 12px; }
  .hero__grid, .split, .compare-home { grid-template-columns: 1fr; }
  .hero__grid { gap: 58px; padding-block: 62px 82px; }
  .hero__copy { max-width: 650px; }
  .hero__media { width: min(92%, 520px); margin-inline: auto; }
  .hero__media img { aspect-ratio: 4 / 3.7; }
  .factbar__grid { grid-template-columns: repeat(2, 1fr); }
  .factbar__grid > div:nth-child(2) { border-right: 0; }
  .factbar__grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(10,30,49,.18); }
  .cards--3, .feature-grid, .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .cards article > b { margin-bottom: 32px; }
  .section-head { display: block; }
  .section-head > p { margin-top: 22px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:first-child { grid-column: 1 / -1; }
  .cta { align-items: flex-start; flex-direction: column; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .topbar { font-size: .7rem; }
  .topbar__inner > div { flex-direction: column; align-items: center; gap: 1px; padding-block: 3px; }
  .site-header__inner { min-height: 72px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__text strong { font-size: .86rem; }
  .brand__text small { font-size: .57rem; }
  .nav-toggle { width: 44px; height: 44px; }
  .hero__grid { padding-top: 52px; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .hero h1 span:last-child { font-size: .33em; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero__media { width: calc(100% - 15px); }
  .hero__media::before { inset: -12px 12px 12px -12px; }
  .hero__media figcaption { right: -8px; bottom: -25px; min-width: 220px; }
  .factbar__grid { grid-template-columns: 1fr; }
  .factbar__grid > div { min-height: 68px; border-right: 0; border-bottom: 1px solid rgba(10,30,49,.18); }
  .factbar__grid > div:last-child { border-bottom: 0; }
  .cards--3, .gallery-grid, .content-grid, .grid-2, .feature-grid, .sector-grid, .compare, .contact-panel { grid-template-columns: 1fr; }
  .gallery-grid figure:first-child { grid-column: auto; }
  .gallery-grid img { height: 270px; }
  .intro__panel > div { grid-template-columns: 75px 1fr; }
  .compare article { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom .container { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

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