/*
Theme Name: PVC Izgara Endüstriyel
Theme URI: https://pvcizgara.com/
Author: PVC Izgara
Description: PVC Izgara için hafif, hızlı ve ürün odaklı özel WordPress teması.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: pvc-izgara
*/

:root {
  --ink: #102331;
  --ink-soft: #294251;
  --paper: #ffffff;
  --mist: #f3f6f7;
  --line: #dce5e8;
  --accent: #f36d21;
  --accent-dark: #c94c0d;
  --teal: #0d746c;
  --teal-soft: #dff3f0;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(16, 35, 49, .12);
  --container: 1180px;
}

* { 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;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { margin: 0 0 .75rem; line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1.2rem; }
ul, ol { margin: 0 0 1.4rem; padding-left: 1.25rem; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(243, 109, 33, .55); outline-offset: 4px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--mist); }
.section--dark { color: #fff; background: var(--ink); }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-label::before { width: 25px; height: 3px; content: ""; background: var(--accent); border-radius: 9px; }
.section--dark .section-label { color: #8dd6cf; }
.section-intro { max-width: 750px; margin-bottom: 38px; color: var(--ink-soft); font-size: 1.08rem; }
.section--dark .section-intro { color: #c9d7dd; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-160%); color: #fff; background: var(--ink); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.topbar { color: #dbe8eb; background: #091a24; font-size: .86rem; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: flex-end; gap: 25px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #ffad7e; }
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(16,35,49,.08); backdrop-filter: blur(14px); }
.site-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: flex-start; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); font-weight: 900; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand__mark { width: 35px; height: 35px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 4px; background: var(--ink); border-radius: 9px; transform: rotate(-4deg); }
.brand__mark i { display: block; background: var(--accent); border-radius: 2px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 1.12rem; }
.brand__text small { margin-top: 5px; color: #5c707c; font-size: .63rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { flex: 1; padding-left: 24px; border-left: 1px solid var(--line); }
.primary-nav ul { display: flex; align-items: center; justify-content: center; gap: 23px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: block; color: var(--ink); font-size: .82rem; font-weight: 750; text-align: center; text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--accent-dark); }
.nav-toggle { display: none; width: 45px; height: 45px; align-items: center; justify-content: center; color: var(--ink); background: var(--mist); border: 0; border-radius: 10px; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { width: 22px; height: 2px; content: ""; background: currentColor; border-radius: 3px; transition: .2s; }
.nav-toggle { flex-direction: column; gap: 5px; }

.hero { position: relative; isolation: isolate; min-height: min(760px, 85vh); display: grid; align-items: center; color: #fff; background-position: center; background-size: cover; overflow: hidden; }
.hero::before { position: absolute; z-index: -2; inset: 0; content: ""; background: linear-gradient(90deg, rgba(5,20,29,.94) 0%, rgba(11,34,47,.78) 48%, rgba(11,34,47,.28) 100%); }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(to right, #000, transparent 70%); }
.hero__content { max-width: 850px; padding: 110px 0 130px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; color: #9de1da; font-size: .79rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero__eyebrow::before { width: 40px; height: 3px; content: ""; background: var(--accent); border-radius: 4px; }
.hero h1 { max-width: 850px; text-wrap: balance; }
.hero h1 span { display: block; }
.hero__lead { max-width: 690px; margin: 26px 0 34px; color: #dce8eb; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; color: #fff; background: var(--accent); border: 2px solid var(--accent); border-radius: 11px; font-size: .9rem; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: #213c4d; border-color: #213c4d; }
.btn--outline { color: var(--ink); background: transparent; border-color: #b9c9ce; }
.btn--outline:hover { color: #fff; }

.proofbar { position: relative; z-index: 5; margin-top: -52px; }
.proofbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.proof { min-height: 105px; display: flex; align-items: center; gap: 15px; padding: 22px; border-right: 1px solid var(--line); }
.proof:last-child { border-right: 0; }
.proof__icon { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; color: var(--teal); background: var(--teal-soft); border-radius: 12px; font-size: 1.2rem; }
.proof strong { display: block; font-size: .95rem; line-height: 1.25; }
.proof small { color: #687c87; }

.image-frame { position: relative; min-height: 440px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.image-frame::after { position: absolute; inset: 0; content: ""; border: 1px solid rgba(255,255,255,.35); border-radius: inherit; pointer-events: none; }
.image-badge { position: absolute; z-index: 2; right: 20px; bottom: 20px; max-width: 250px; padding: 16px 18px; color: #fff; background: rgba(16,35,49,.91); border-radius: 12px; font-size: .86rem; }
.image-badge strong { display: block; margin-bottom: 3px; color: #ffb48a; }

.card { height: 100%; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { border-color: #b9cfd4; box-shadow: 0 18px 45px rgba(16,35,49,.09); transform: translateY(-4px); }
.card__number { display: block; margin-bottom: 25px; color: var(--accent); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.card p { color: #5c707c; font-size: .95rem; }
.card__link { font-weight: 800; text-decoration: none; }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 20px; color: var(--teal); background: var(--teal-soft); border-radius: 14px; font-weight: 900; }

.media-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-card__body { padding: 24px; }
.media-card__body p { color: #647781; font-size: .93rem; }
.tag { display: inline-flex; margin-bottom: 11px; padding: 4px 10px; color: var(--teal); background: var(--teal-soft); border-radius: 999px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.app-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.app-item { min-height: 120px; display: flex; align-items: center; gap: 15px; padding: 25px; background: var(--ink); }
.app-item i { color: var(--accent); font-size: 1.35rem; font-style: normal; }
.app-item strong { font-size: 1rem; }

.cta { padding: 55px; color: #fff; background: linear-gradient(125deg, var(--teal), #07524d); border-radius: 24px; box-shadow: var(--shadow); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta h2 { max-width: 700px; margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.1rem); }
.cta p { max-width: 670px; margin: 0; color: #d7efed; }
.cta .btn { flex: 0 0 auto; background: #fff; border-color: #fff; color: var(--ink); }

.page-hero { position: relative; padding: 96px 0 86px; color: #fff; background: linear-gradient(120deg, #0c2635, #173d4f); overflow: hidden; }
.page-hero::after { position: absolute; inset: 0; content: ""; opacity: .18; background-image: linear-gradient(30deg, transparent 0 48%, #fff 49% 51%, transparent 52%); background-size: 34px 34px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.breadcrumbs { margin-bottom: 16px; color: #aac2ca; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.page-content { padding: 82px 0 95px; }
.prose { max-width: 920px; }
.prose > p:first-child { color: var(--ink-soft); font-size: 1.18rem; }
.prose h2 { margin-top: 2.7rem; font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.prose h3 { margin-top: 2rem; }
.prose img { margin: 28px 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.prose .wide { width: min(1180px, calc(100vw - 40px)); max-width: none; }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 35px 0; }
.content-card { padding: 26px; background: var(--mist); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
.content-card h3 { margin-top: 0; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 28px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 29px; }
.check-list li::before { position: absolute; top: .35em; left: 0; width: 18px; height: 18px; display: grid; place-items: center; content: "✓"; color: #fff; background: var(--teal); border-radius: 50%; font-size: .68rem; font-weight: 900; }
.data-table-wrap { margin: 32px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th, .data-table td { padding: 15px 17px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { color: #fff; background: var(--ink); }
.data-table tr:last-child td { border-bottom: 0; }
.notice { margin: 28px 0; padding: 21px 23px; color: #294251; background: #fff6ef; border: 1px solid #ffd7bd; border-radius: 14px; }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 35px; }
.contact-box { padding: 30px; background: var(--mist); border-radius: var(--radius); }
.contact-box a { font-size: 1.1rem; font-weight: 800; text-decoration: none; }

.site-footer { color: #b8cbd2; background: #081923; }
.footer-main { padding: 68px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 55px; }
.site-footer .brand { color: #fff; }
.footer-copy { max-width: 420px; margin-top: 19px; color: #9bb1ba; font-size: .94rem; }
.footer-title { margin-bottom: 20px; color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #b8cbd2; text-decoration: none; }
.footer-links a:hover { color: #ffad7e; }
.footer-contact p { margin-bottom: 10px; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: .82rem; }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom a { color: #b8cbd2; text-decoration: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: flex; }
  .primary-nav { position: absolute; top: 100%; right: 20px; left: 20px; display: none; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav li + li { border-top: 1px solid var(--line); }
  .primary-nav a { display: block; padding: 12px 4px; font-size: .95rem; }
  .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .proofbar__inner { grid-template-columns: repeat(2, 1fr); }
  .proof:nth-child(2) { border-right: 0; }
  .proof:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 66px 0; }
  .topbar__inner { min-height: 42px; justify-content: center; gap: 12px; font-size: .76rem; }
  .topbar__inner span { display: none; }
  .site-header__inner { min-height: 70px; }
  .brand__text small { display: none; }
  .hero { min-height: 720px; }
  .hero__content { padding: 90px 0 115px; }
  .hero__actions, .hero__actions .btn { width: 100%; }
  .proofbar { margin-top: -42px; }
  .proofbar__inner, .grid-2, .grid-3, .grid-4, .content-grid, .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .proof { min-height: 92px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof:last-child { border-bottom: 0; }
  .app-list { grid-template-columns: 1fr; }
  .image-frame { min-height: 340px; }
  .check-list { grid-template-columns: 1fr; }
  .cta { padding: 35px 25px; }
  .cta__inner { align-items: flex-start; flex-direction: column; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom__inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 75px 0 65px; }
  .page-content { padding: 60px 0 75px; }
}

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