/*
Theme Name: Kompozit Kapak
Theme URI: https://kompozitkapak.com
Author: NA-ME A.S.
Description: Kompozit rogar ve menhol kapaklari icin ozel tasarlanmis, hizli yuklenen, hafif WordPress temasi. Harici kutuphane ve JavaScript icermez.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kompozit-kapak
Tags: custom-menu, one-column, custom-logo
*/

:root {
  --bg: #f6f5f1;
  --panel: #ffffff;
  --ink: #171a1d;
  --muted: #5c6470;
  --line: #e3dfd6;
  --accent: #e08a00;
  --accent-dark: #a96700;
  --steel: #2e4a5e;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

.topbar { background: var(--ink); color: #cfd4da; font-size: 13.5px; padding: 7px 0; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar .tag { font-family: var(--mono); letter-spacing: .04em; color: #9aa3ad; }

.site-head { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand a { color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: .02em; }
.brand a:hover { text-decoration: none; }
.brand .sub { font-family: var(--mono); font-size: 11.5px; color: var(--accent-dark); letter-spacing: .08em; }

.nav-toggle-box { display: none; }
.nav-toggle { display: none; font-size: 26px; cursor: pointer; user-select: none; }

.site-nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 10px 13px; color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 8px; }
.site-nav a:hover { background: var(--bg); text-decoration: none; color: var(--accent-dark); }
.site-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; min-width: 230px; padding: 6px; box-shadow: 0 12px 30px rgba(20,22,25,.1); }
.site-nav li:hover > .sub-menu { display: block; }
.site-nav .sub-menu li { width: 100%; }

.hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero p.lead { font-size: 18.5px; color: var(--muted); max-width: 54ch; margin-bottom: 28px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 15.5px; border: 2px solid var(--ink); }
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn.ghost { color: var(--ink); }
.btn.ghost:hover { border-color: var(--accent-dark); color: var(--accent-dark); text-decoration: none; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.hero-note { position: absolute; left: 14px; bottom: 14px; background: rgba(23,26,29,.92); color: #fff; border-radius: 10px; padding: 10px 14px; font-size: 13px; font-family: var(--mono); }

.specbar { background: var(--ink); color: #fff; }
.specbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.spec { padding: 22px 18px; border-left: 1px solid rgba(255,255,255,.09); }
.spec:first-child { border-left: 0; }
.spec b { display: block; font-size: 22px; font-family: var(--mono); color: var(--accent); }
.spec span { font-size: 13.5px; color: #b7bec7; }

.section { padding: 68px 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -.01em; margin: 8px 0 12px; }
.sec-head p { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.section.alt .card { background: var(--bg); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .num { font-family: var(--mono); color: var(--accent-dark); font-size: 13px; letter-spacing: .1em; display: block; margin-bottom: 12px; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14.5px; }
.card img { border-radius: 10px; margin-bottom: 16px; border: 1px solid var(--line); }

.cmp { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { background: var(--ink); color: #fff; font-size: 14px; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td.win { color: var(--accent-dark); font-weight: 700; }

.video-frame { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cta { background: var(--steel); color: #fff; }
.cta .wrap { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; }
.cta h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 10px; }
.cta p { color: #c6d2db; }
.cta .btn { border-color: #fff; color: #fff; }
.cta .btn.solid { background: var(--accent); border-color: var(--accent); color: #171a1d; }
.cta .btn.solid:hover { background: #fff; border-color: #fff; }
.cta-info { font-size: 15.5px; line-height: 2; }
.cta-info b { color: var(--accent); font-family: var(--mono); font-weight: 600; display: block; font-size: 12.5px; letter-spacing: .1em; }
.cta-info a { color: #fff; }

.page-head { background: var(--panel); border-bottom: 1px solid var(--line); padding: 46px 0 38px; }
.page-head h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.015em; }
.page-body { padding: 52px 0 76px; }
.page-body .content { max-width: 1000px; }
.content h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.content h3 { font-size: 1.2rem; margin: 1.3em 0 .4em; }
.content p, .content ul, .content ol { margin-bottom: 1em; }
.content ul, .content ol { padding-left: 1.3em; }
.content table { border-collapse: collapse; width: 100%; margin: 1.2em 0; }
.content table td, .content table th { border: 1px solid var(--line); padding: 10px 13px; }
.content blockquote { border-left: 4px solid var(--accent); padding: 8px 18px; background: var(--panel); border-radius: 0 10px 10px 0; margin: 1.2em 0; color: var(--muted); }

.site-foot { background: var(--ink); color: #b7bec7; margin-top: 0; }
.site-foot .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 34px; padding: 52px 0 40px; }
.site-foot h4 { color: #fff; font-size: 15px; margin-bottom: 12px; letter-spacing: .02em; }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #dbe1e8; }
.site-foot .brandline { font-weight: 800; color: #fff; font-size: 18px; margin-bottom: 10px; }
.site-foot .sub { font-family: var(--mono); font-size: 11.5px; color: var(--accent); letter-spacing: .08em; margin-bottom: 14px; }
.site-foot p { font-size: 14.5px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13.5px; text-align: center; color: #8d959f; }

@media (max-width: 900px) {
  .hero .wrap, .cta .wrap { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .specbar .wrap { grid-template-columns: 1fr 1fr; }
  .spec { border-left: 0; border-top: 1px solid rgba(255,255,255,.09); }
  .site-foot .cols { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .nav-toggle-box:checked ~ .site-nav { display: block; }
  .site-head .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .site-nav ul { flex-direction: column; }
  .site-nav .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding-left: 16px; }
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; background: #fff; padding: 8px 14px; z-index: 100; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; }

.alignleft { float: left; margin: 0 1.2em .8em 0; }
.alignright { float: right; margin: 0 0 .8em 1.2em; }
.aligncenter { display: block; margin: .8em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13.5px; color: var(--muted); text-align: center; }
.sticky {}
.bypostauthor {}
.gallery-caption {}
