/*
Theme Name: TPS Alüminyum
Theme URI: https://tpsalu.com/
Author: Ahmet Kara
Description: TPS Alüminyum için mimari korkuluk, çit ve balkon sistemlerine yönelik modern kurumsal WordPress teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: tps-aluminyum
*/

:root {
  --ink: #102c42;
  --ink-soft: #365269;
  --blue: #117ab7;
  --blue-dark: #0d5f93;
  --green: #68c900;
  --green-dark: #4d9d00;
  --silver: #aeb8bf;
  --paper: #ffffff;
  --mist: #f4f8fa;
  --line: #e2eaee;
  --shadow: 0 24px 70px rgba(13, 54, 81, .12);
  --radius: 20px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button, input, textarea, select { font: inherit; }
.wrap { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 99; padding: 12px 18px; background: white; }
.skip-link:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(226,234,238,.8); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); min-width: 230px; }
.brand-mark { width: 60px; height: 46px; flex: 0 0 auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 20px; font-weight: 850; letter-spacing: -.055em; white-space: nowrap; }
.brand-name em { color: #77848d; font-style: normal; }
.brand-sub { margin-top: 6px; color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .19em; white-space: nowrap; }
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; align-items: center; gap: 31px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: #314a5d; font-size: 13px; font-weight: 700; transition: color .2s; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { color: var(--ink-soft); font-size: 12px; font-weight: 700; white-space: nowrap; }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 26px; cursor: pointer; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 7px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .01em; box-shadow: 0 8px 22px rgba(17,122,183,.18); transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(17,122,183,.25); }
.button-green { background: var(--green); color: #143411; box-shadow: 0 8px 22px rgba(104,201,0,.2); }
.button-green:hover { background: #58b300; color: #102c42; }
.button-outline { color: var(--ink); background: transparent; border: 1px solid #c9d7df; box-shadow: none; }
.button-outline:hover { color: var(--blue); background: #fff; border-color: var(--blue); }

.hero { position: relative; overflow: hidden; padding: 82px 0 75px; background: linear-gradient(120deg, #f4f9fb 0%, #fff 55%, #f4f8fa 100%); }
.hero:before { position: absolute; content: ""; width: 470px; height: 470px; right: -135px; top: -200px; border: 1px solid rgba(17,122,183,.11); border-radius: 50%; box-shadow: 0 0 0 36px rgba(17,122,183,.025), 0 0 0 74px rgba(104,201,0,.025); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow:before { content: ""; width: 27px; height: 3px; background: var(--green); border-radius: 4px; }
.hero h1 { max-width: 650px; margin: 19px 0 18px; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -.055em; font-weight: 850; }
.hero h1 span { color: var(--blue); }
.hero-copy { max-width: 545px; margin: 0 0 29px; color: #607486; font-size: 16px; }
.hero-buttons { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 33px; color: #617789; font-size: 12px; font-weight: 650; }
.proof-dots { display: flex; }
.proof-dots span { display: block; width: 10px; height: 10px; border-radius: 50%; margin-right: -2px; background: var(--green); border: 2px solid white; }
.proof-dots span:nth-child(2) { background: var(--blue); }
.proof-dots span:nth-child(3) { background: var(--silver); }
.hero-art { position: relative; min-height: 370px; display: grid; place-items: center; }
.hero-art:before { content: ""; position: absolute; width: 84%; height: 82%; border-radius: 50%; background: radial-gradient(circle, rgba(17,122,183,.12), rgba(17,122,183,0) 70%); }
.art-card { position: relative; width: min(100%, 500px); border: 8px solid white; border-radius: 18px; background: linear-gradient(140deg,#eef5f7,#fff); box-shadow: var(--shadow); overflow: hidden; }
.art-card svg { display: block; width: 100%; }
.art-sticker { position: absolute; right: -5px; bottom: 28px; padding: 13px 18px; border-radius: 10px; background: var(--green); color: #183711; font-size: 11px; font-weight: 850; letter-spacing: .04em; box-shadow: 0 12px 30px rgba(67,119,25,.22); }

.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { display: flex; align-items: center; gap: 13px; padding: 22px 20px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; background: #edf7fc; color: var(--blue); font-size: 18px; font-weight: 800; }
.trust-item:nth-child(even) .trust-icon { background: #f2fae9; color: var(--green-dark); }
.trust-item strong { display: block; font-size: 12px; line-height: 1.3; }
.trust-item small { display: block; margin-top: 3px; color: #8292a0; font-size: 10px; }

.section { padding: 88px 0; }
.section-soft { background: var(--mist); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-head h2 { max-width: 600px; margin: 11px 0 0; font-size: clamp(30px, 4vw, 43px); line-height: 1.14; letter-spacing: -.045em; }
.section-head p { max-width: 440px; margin: 0; color: #6c7e8d; font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.product-card { position: relative; min-height: 290px; padding: 27px; border: 1px solid #e7eef1; border-radius: 13px; background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-card:hover { transform: translateY(-5px); border-color: #c9e1ee; box-shadow: 0 18px 38px rgba(15,61,87,.09); }
.product-index { color: #a2b2bd; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.product-icon { position: absolute; top: 23px; right: 24px; width: 63px; height: 63px; display: grid; place-items: center; border-radius: 14px; background: #eef7fb; color: var(--blue); }
.product-card:nth-child(3n + 2) .product-icon { background: #f2f9e9; color: var(--green-dark); }
.product-card:nth-child(3n) .product-icon { background: #f0f3f5; color: #6d7d87; }
.product-icon svg { width: 34px; height: 34px; }
.product-card h3 { max-width: 220px; margin: 43px 0 9px; font-size: 20px; line-height: 1.25; letter-spacing: -.03em; }
.product-card p { max-width: 310px; margin: 0 0 19px; color: #718493; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; font-weight: 850; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; }
.about-visual { position: relative; min-height: 400px; border-radius: 17px; overflow: hidden; background: linear-gradient(150deg,#e6f2f7,#f8fbfc); }
.about-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-badge { position: absolute; right: 20px; bottom: 20px; padding: 18px 20px; max-width: 175px; background: white; border-radius: 10px; box-shadow: 0 12px 40px rgba(13,54,81,.12); }
.about-badge strong { display: block; color: var(--blue); font-size: 25px; line-height: 1.1; }
.about-badge span { color: #718493; font-size: 11px; }
.about-copy h2 { margin: 12px 0 17px; font-size: clamp(31px,4vw,44px); line-height: 1.1; letter-spacing: -.05em; }
.about-copy > p { color: #6a7e8d; font-size: 14px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 20px; margin: 26px 0 30px; }
.feature { display: flex; align-items: flex-start; gap: 11px; font-size: 12px; font-weight: 750; }
.check { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; color: #367800; background: #e9f7da; font-size: 12px; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: process; }
.process-step { position: relative; padding: 23px 22px 21px; border-top: 2px solid #cfe2ea; counter-increment: process; }
.process-step:before { content: "0" counter(process); display: block; margin-bottom: 26px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.process-step h3 { margin: 0 0 7px; font-size: 16px; }
.process-step p { margin: 0; color: #748796; font-size: 12px; }
.process-step:after { position: absolute; content: ""; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

.cta-band { padding: 50px 0; background: var(--ink); color: white; overflow: hidden; position: relative; }
.cta-band:after { content: ""; position: absolute; right: -70px; top: -190px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.025),0 0 0 75px rgba(255,255,255,.025); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-inner h2 { max-width: 700px; margin: 0; font-size: clamp(27px,3.5vw,39px); line-height: 1.15; letter-spacing: -.04em; }
.cta-inner p { margin: 8px 0 0; color: #b4c4ce; font-size: 13px; }

.site-footer { padding: 60px 0 22px; background: #0b2233; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1fr; gap: 45px; padding-bottom: 45px; }
.site-footer .brand { color: white; }
.site-footer .brand-name em { color: #b2bdc4; }
.site-footer .brand-sub { color: #57b0dd; }
.footer-about p { max-width: 300px; color: #9eb2bf; font-size: 12px; }
.footer-title { margin: 0 0 16px; color: white; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.footer-links { display: grid; gap: 9px; }
.footer-links a, .footer-contact p { color: #9eb2bf; font-size: 12px; }
.footer-links a:hover { color: white; }
.footer-contact p { margin: 0 0 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #7e94a2; font-size: 10px; }

.content-area { min-height: 50vh; padding: 65px 0; }
.entry-title { font-size: clamp(30px,4vw,48px); line-height: 1.1; letter-spacing: -.04em; }
.entry-content { max-width: 820px; color: #4e6576; }
.entry-content img { border-radius: 12px; }
.post-card { padding: 25px 0; border-bottom: 1px solid var(--line); }
.post-card h2 { margin: 0 0 8px; font-size: 24px; }
.post-meta { color: #8798a4; font-size: 12px; }
.pagination { display: flex; gap: 8px; margin-top: 30px; }
.pagination a, .pagination span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 6px; }
.pagination .current { background: var(--blue); color: white; }
.page-hero { padding: 55px 0; background: var(--mist); }
.page-hero h1 { margin: 10px 0 0; font-size: clamp(33px,4vw,50px); line-height: 1.1; letter-spacing: -.05em; }
.menu-fallback { display: flex; gap: 20px; }
.menu-fallback a { color: #314a5d; font-size: 13px; font-weight: 700; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute !important; white-space: nowrap; }

@media (max-width: 980px) {
  .main-nav ul { gap: 18px; }
  .header-phone { display: none; }
  .hero-grid { gap: 30px; }
  .trust-item { padding-inline: 13px; }
  .about-grid { gap: 38px; }
  .footer-grid { gap: 25px; }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--content), calc(100% - 34px)); }
  .header-inner { min-height: 72px; }
  .brand { min-width: 0; gap: 9px; }
  .brand-mark { width: 47px; height: 39px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 7px; }
  .header-actions .button { display: none; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 12px 22px 20px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px rgba(16,44,66,.08); }
  .main-nav.is-open { display: grid; gap: 0; }
  .main-nav ul { display: grid; gap: 0; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid #edf2f4; }
  .hero { padding: 59px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { font-size: clamp(38px, 10vw, 55px); }
  .hero-art { min-height: 270px; }
  .art-card { width: 95%; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-item { border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: 0; }
  .trust-item:first-child { padding-left: 13px; }
  .section { padding: 65px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card { min-height: 270px; padding: 21px; }
  .product-card h3 { font-size: 18px; }
  .product-icon { width: 53px; height: 53px; right: 18px; top: 18px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-visual { min-height: 310px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { display: block; }
  .cta-inner .button { margin-top: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 245px; }
  .feature-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
}
