/*
Theme Name: İş Güvenliği Malzemeleri
Theme URI: https://isguvenligimalzemeleri.com.tr
Author: yaşar
Description: İş güvenliği ekipmanları, markalar, teknik şartnameler ve sektör blogu için özel olarak hazırlanmış kurumsal WordPress teması. Kategoriler, Markalar, Bloglar ve Teknik Şartnameler ana bölümlerini destekler.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: isg-tema
*/

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	color: #1a2332;
	background: #f7f8fa;
	line-height: 1.65;
	font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0d5c9e; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-family: 'Inter', sans-serif; font-weight: 700; line-height: 1.25; color: #10182b; margin: 0 0 .6em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.btn {
	display: inline-block;
	background: #f5a623;
	color: #10182b;
	font-weight: 700;
	padding: 12px 24px;
	border-radius: 6px;
	text-decoration: none;
	border: none;
	cursor: pointer;
}
.btn:hover { background: #e0961a; text-decoration: none; }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: #10182b; }

/* ---------- Top bar ---------- */
.isg-topbar { background: #10182b; color: #cfd6e4; font-size: .85rem; padding: 6px 0; }
.isg-topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.isg-topbar a { color: #cfd6e4; }

/* ---------- Header ---------- */
.isg-header { background: #ffffff; border-bottom: 3px solid #f5a623; position: sticky; top: 0; z-index: 100; }
.isg-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.isg-logo { font-size: 1.4rem; font-weight: 800; color: #10182b; letter-spacing: -.02em; }
.isg-logo span { color: #f5a623; }
.isg-nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }
.isg-primary-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.isg-primary-menu li { position: relative; }
.isg-primary-menu > li > a { display: block; padding: 8px 2px; font-weight: 600; color: #10182b; }
.isg-primary-menu > li > a:hover { color: #0d5c9e; text-decoration: none; }
.isg-primary-menu ul { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; box-shadow: 0 10px 30px rgba(16,24,43,.15); border-radius: 8px; padding: 8px 0; list-style: none; margin: 0; }
.isg-primary-menu li:hover > ul { display: block; }
.isg-primary-menu ul li a { padding: 10px 18px; font-weight: 500; }

/* ---------- Hero ---------- */
.isg-hero { background: linear-gradient(120deg,#10182b,#1c2b4d); color: #fff; padding: 64px 0; }
.isg-hero h1 { color: #fff; font-size: 2.4rem; max-width: 720px; }
.isg-hero p { color: #cfd6e4; max-width: 620px; font-size: 1.1rem; }
.isg-hero .actions { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.isg-section { padding: 56px 0; }
.isg-section-title { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.isg-section-title p { color: #5a6376; }
.isg-section-alt { background: #eef1f6; }

.isg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.isg-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .isg-grid, .isg-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .isg-grid, .isg-grid.cols-3 { grid-template-columns: 1fr; } }

.isg-card { background: #fff; border-radius: 10px; padding: 22px; box-shadow: 0 2px 10px rgba(16,24,43,.06); border: 1px solid #e7eaf0; transition: transform .15s ease, box-shadow .15s ease; }
.isg-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(16,24,43,.1); }
.isg-card h3 { margin-bottom: .4em; }
.isg-card h3 a { color: #10182b; }
.isg-card .meta { font-size: .82rem; color: #8b93a3; margin-bottom: 10px; }
.isg-card p { color: #4c5568; font-size: .95rem; }
.isg-tag { display: inline-block; background: #f5a623; color: #10182b; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Breadcrumbs ---------- */
.isg-breadcrumbs { background: #eef1f6; padding: 12px 0; font-size: .9rem; color: #5a6376; }
.isg-breadcrumbs a { color: #0d5c9e; }

/* ---------- Content / single ---------- */
.isg-content-wrap { display: grid; grid-template-columns: 2.4fr 1fr; gap: 40px; padding: 48px 0; }
@media (max-width: 900px) { .isg-content-wrap { grid-template-columns: 1fr; } }
.isg-article h1 { margin-bottom: .3em; }
.isg-article .meta { color: #8b93a3; font-size: .9rem; margin-bottom: 1.6em; }
.isg-article img { border-radius: 8px; margin: 1.2em 0; }
.isg-article table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.isg-article table th, .isg-article table td { border: 1px solid #dfe3ea; padding: 10px 12px; text-align: left; }
.isg-article table th { background: #f5f6f9; }
.isg-article blockquote { border-left: 4px solid #f5a623; margin: 1.4em 0; padding: .6em 1.2em; background: #fff9ec; color: #4c5568; }

.isg-sidebar .widget { background: #fff; border: 1px solid #e7eaf0; border-radius: 10px; padding: 20px; margin-bottom: 22px; }
.isg-sidebar .widget h3 { font-size: 1.05rem; border-bottom: 2px solid #f5a623; padding-bottom: 8px; }

.isg-spec-box { background: #f7f8fa; border: 1px solid #e7eaf0; border-left: 4px solid #0d5c9e; border-radius: 8px; padding: 18px 22px; margin: 1.4em 0; }

/* ---------- Footer ---------- */
.isg-footer { background: #10182b; color: #cfd6e4; padding: 48px 0 20px; margin-top: 40px; }
.isg-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 780px) { .isg-footer .container { grid-template-columns: 1fr 1fr; } }
.isg-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.isg-footer ul { list-style: none; padding: 0; margin: 0; }
.isg-footer ul li { margin-bottom: 8px; }
.isg-footer a { color: #a7b0c2; }
.isg-footer .bottom { text-align: center; font-size: .82rem; color: #7c85a0; margin-top: 32px; padding-top: 20px; border-top: 1px solid #26314d; }

/* ---------- Pagination ---------- */
.isg-pagination { display: flex; gap: 8px; justify-content: center; margin: 30px 0; }
.isg-pagination a, .isg-pagination span { padding: 8px 14px; border-radius: 6px; background: #fff; border: 1px solid #e7eaf0; }
.isg-pagination .current { background: #10182b; color: #fff; }

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
	.isg-nav-toggle { display: block; }
	.isg-primary-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; gap: 0; padding: 10px 0; box-shadow: 0 10px 20px rgba(16,24,43,.1); }
	.isg-primary-menu.is-open { display: flex; }
	.isg-primary-menu > li > a { padding: 12px 20px; }
	.isg-primary-menu ul { position: static; box-shadow: none; display: block; padding-left: 14px; }
}
