/*
Theme Name: onparmaksite
Theme URI: https://onparmak.net
Author: onparmak.net
Author URI: https://onparmak.net
Description: Gelismis web sitesi dizini, reklam ve tanitim temasi.
Version: 10.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: onparmaksite
*/

:root {
  --ops-primary: #123848;
  --ops-primary-2: #1e5367;
  --ops-accent: #31c6d4;
  --ops-accent-2: #e7fbfd;
  --ops-bg: #eef6f8;
  --ops-card: #ffffff;
  --ops-text: #253741;
  --ops-muted: #6c7d85;
  --ops-border: #dbe8ec;
  --ops-shadow: 0 14px 35px rgba(18, 56, 72, .10);
  --ops-radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ops-bg);
  color: var(--ops-text);
  font: 14px/1.55 Arial, Helvetica, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.ops-container { width: 1180px; max-width: calc(100% - 32px); margin: 0 auto; }

.ops-topbar { background: #fff; border-bottom: 1px solid var(--ops-border); }
.ops-topbar .ops-container,
.ops-brand .ops-container,
.ops-nav .ops-container { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.ops-topbar .ops-container { min-height: 42px; color: var(--ops-muted); }
.ops-topbar a { text-decoration: none; font-weight: 700; color: var(--ops-primary); }
.ops-contact, .ops-toplinks { display: flex; gap: 22px; align-items: center; }

.ops-brand { background: #fff; padding: 24px 0; }
.ops-logo { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.ops-logo strong { font-size: 32px; letter-spacing: -.5px; color: var(--ops-primary); }
.ops-logo span { color: var(--ops-muted); font-size: 13px; }
.ops-header-ad {
  flex: 1;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 22px;
  background: linear-gradient(135deg, #dcecf1, #f7fbfc);
  color: var(--ops-primary);
  font-size: 20px;
  font-weight: 800;
}
.ops-actions { display: flex; gap: 12px; }
.ops-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: var(--ops-accent);
  color: var(--ops-primary);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
.ops-button.secondary { background: #dce8ec; }

.ops-nav { background: var(--ops-accent); box-shadow: inset 0 -3px rgba(18,56,72,.14); }
.ops-nav .ops-container { justify-content: flex-start; gap: 0; }
.ops-nav a {
  min-height: 66px;
  padding: 15px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,.35);
  border-right: 1px solid rgba(18,56,72,.12);
  color: var(--ops-primary);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.ops-nav small { display: block; font-weight: 400; text-transform: none; }

.ops-hero {
  padding: 66px 0;
  background:
    linear-gradient(rgba(238,246,248,.78), rgba(238,246,248,.95)),
    radial-gradient(circle at 20% 20%, #bdeff5, transparent 36%),
    linear-gradient(135deg, #dcecf1, #fff);
  text-align: center;
}
.ops-hero h1 { margin: 0 0 12px; font-size: 38px; line-height: 1.15; color: var(--ops-primary); }
.ops-hero p { margin: 0 auto 28px; max-width: 720px; color: var(--ops-muted); font-size: 18px; }
.ops-search { display: grid; grid-template-columns: 1fr 190px 150px; gap: 12px; max-width: 850px; margin: 0 auto; }
.ops-search input, .ops-search select {
  min-height: 54px;
  border: 1px solid var(--ops-border);
  border-radius: 6px;
  padding: 0 16px;
  background: #fff;
}
.ops-search button { min-height: 54px; cursor: pointer; }

.ops-main { padding: 32px 0 56px; }
.ops-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; }
.ops-panel, .ops-sidebar-box {
  background: var(--ops-card);
  border: 1px solid var(--ops-border);
  border-radius: var(--ops-radius);
  box-shadow: var(--ops-shadow);
  overflow: hidden;
}
.ops-section-title {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  background: var(--ops-primary);
  color: #fff;
}
.ops-section-title.accent { background: var(--ops-accent); color: var(--ops-primary); }
.ops-section-title h2, .ops-sidebar-box h3 { margin: 0; font-size: 18px; text-transform: uppercase; }
.ops-section-title a { color: inherit; font-weight: 800; text-decoration: none; }

.ops-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 24px; }
.ops-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ops-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ops-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--ops-border);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
}
.ops-card img { width: 100%; height: 150px; object-fit: cover; background: #eff6f8; }
.ops-card-body { padding: 14px; display: flex; flex-direction: column; gap: 7px; }
.ops-card h3 { margin: 0; font-size: 16px; color: var(--ops-primary); }
.ops-card p { margin: 0; color: var(--ops-muted); font-size: 13px; }
.ops-card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--ops-muted); font-size: 12px; }
.ops-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ops-accent);
  color: var(--ops-primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ops-sidebar { display: flex; flex-direction: column; gap: 18px; }
.ops-sidebar-box h3 {
  padding: 15px 18px;
  background: var(--ops-primary);
  color: #fff;
}
.ops-sidebar-box ul { list-style: none; padding: 16px 18px; margin: 0; }
.ops-sidebar-box li a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ops-border); text-decoration: none; font-weight: 700; }
.ops-ad { padding: 22px; text-align: center; background: linear-gradient(135deg, #fff, var(--ops-accent-2)); }
.ops-ad strong { display: block; font-size: 21px; color: var(--ops-primary); }
.ops-ad span { display: block; margin-top: 10px; color: var(--ops-muted); }
.ops-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ops-border); }
.ops-stats div { padding: 22px; background: #fff; text-align: center; }
.ops-stats strong { display: block; color: var(--ops-primary); font-size: 28px; }
.ops-stats span { color: var(--ops-muted); text-transform: uppercase; font-size: 12px; }

.ops-single { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
.ops-single-hero { padding: 28px; }
.ops-single-hero h1 { margin: 0 0 10px; color: var(--ops-primary); }
.ops-meta-list { display: grid; gap: 10px; margin-top: 18px; }
.ops-meta-list a, .ops-meta-list span { padding: 12px 14px; background: var(--ops-accent-2); border-radius: 6px; text-decoration: none; }
.ops-content { padding: 28px; }

.ops-footer { padding: 28px 0; background: var(--ops-primary); color: #d8eef2; }
.ops-footer a { color: #fff; }

@media (max-width: 980px) {
  .ops-layout, .ops-single { grid-template-columns: 1fr; }
  .ops-grid, .ops-grid.three, .ops-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-search { grid-template-columns: 1fr; }
  .ops-brand .ops-container, .ops-topbar .ops-container, .ops-nav .ops-container { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .ops-grid, .ops-grid.three, .ops-grid.five, .ops-stats { grid-template-columns: 1fr; }
  .ops-hero h1 { font-size: 28px; }
  .ops-actions { width: 100%; flex-direction: column; }
  .ops-nav a { flex: 1 1 100%; }
}
