/*
Theme Name: Orator
Theme URI: https://orator.com.tr
Author: Orator Savunma San. Tic. Ltd. Şti.
Description: Custom Editorial Heritage theme for Orator — manufacturer of a lever-action rifle platform in .357 Magnum and .44 Magnum, Turkey.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: orator
*/

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  background: oklch(0.97 0.008 75);
  color: oklch(0.22 0.02 50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: oklch(0.5 0.09 55); text-decoration: none; }
a:hover { color: oklch(0.4 0.09 55); }
.disp { font-family: 'Bitter', Georgia, serif; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; background: oklch(0.97 0.008 75); color: oklch(0.22 0.02 50); }
button, input[type="submit"] { font-family: inherit; cursor: pointer; }

/* ---------- Nav ---------- */
.o-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; height: 88px;
  background: oklch(0.99 0.004 75); border-bottom: 1px solid oklch(0.88 0.01 70);
  position: sticky; top: 0; z-index: 100;
}
.o-nav-brand { display: flex; align-items: center; gap: 12px; }
.o-nav-mark {
  width: 34px; height: 34px; border-radius: 50%; background: oklch(0.55 0.09 55);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.o-nav-mark span { color: oklch(0.99 0.004 75); font-size: 16px; font-weight: 700; }
.o-nav-brand-name { font-size: 23px; font-weight: 700; letter-spacing: 0.5px; }
.o-nav-links { display: flex; align-items: center; gap: 34px; }
.o-nav-links a.o-link {
  font-size: 14px; font-weight: 500; color: oklch(0.35 0.02 50);
}
.o-nav-links a.o-link.is-active {
  font-family: 'Bitter', serif; font-weight: 700; color: oklch(0.22 0.02 50);
  border-bottom: 2px solid oklch(0.55 0.09 55); padding-bottom: 6px;
}
.o-nav-contact {
  font-family: 'Bitter', serif; background: oklch(0.22 0.02 50); color: oklch(0.99 0.004 75);
  font-size: 13px; font-weight: 600; padding: 11px 22px; display: inline-block;
}
.o-nav-lang { display: flex; gap: 6px; font-size: 12.5px; color: oklch(0.55 0.02 55); padding-left: 20px; border-left: 1px solid oklch(0.88 0.01 70); }
.o-nav-lang a { color: oklch(0.55 0.02 55); }
.o-nav-lang a.is-active { color: oklch(0.22 0.02 50); font-weight: 600; }
.o-nav-toggle { display: none; }

/* ---------- Hero (home) ---------- */
.o-hero { position: relative; width: 100%; height: 560px; overflow: hidden; }
.o-hero img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.o-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.2 0.02 50 / 0.05) 0%, oklch(0.15 0.02 50 / 0.88) 100%); }
.o-hero-copy { position: absolute; left: 64px; right: 64px; bottom: 56px; max-width: 680px; }
.o-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 3px; color: oklch(0.78 0.09 60); margin-bottom: 16px; text-transform: uppercase; }
.o-hero-copy h1 { font-size: 52px; line-height: 1.15; font-weight: 700; color: oklch(0.99 0.006 75); margin: 0 0 20px; }
.o-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.o-btn-solid { font-family: 'Bitter', serif; background: oklch(0.78 0.09 60); color: oklch(0.18 0.02 50); font-weight: 700; font-size: 14.5px; padding: 14px 28px; display: inline-block; border: none; }
.o-btn-outline-light { font-family: 'Bitter', serif; border: 1px solid oklch(0.6 0.02 75); color: oklch(0.99 0.006 75); font-weight: 600; font-size: 14.5px; padding: 14px 28px; display: inline-block; }
.o-btn-dark { font-family: 'Bitter', serif; background: oklch(0.22 0.02 50); color: oklch(0.99 0.004 75); font-weight: 700; font-size: 14.5px; padding: 15px 30px; display: inline-block; border: none; text-align: center; }

/* ---------- Page hero (inner pages) ---------- */
.o-page-hero { padding: 72px 64px 48px; max-width: 760px; }
.o-page-hero p { font-size: 16.5px; line-height: 1.7; color: oklch(0.42 0.02 50); margin: 0; }
.o-page-hero h1 { font-size: 40px; line-height: 1.25; font-weight: 700; margin: 0 0 20px; }

/* ---------- Spotlight ---------- */
.o-spotlight { display: flex; align-items: center; gap: 64px; padding: 80px 64px; flex-wrap: wrap; }
.o-spotlight > div { flex: 1; min-width: 280px; }
.o-spotlight h2 { font-size: 36px; font-weight: 700; margin: 0 0 18px; line-height: 1.2; }
.o-spotlight p { font-size: 16.5px; line-height: 1.7; color: oklch(0.4 0.02 50); margin: 0 0 24px; max-width: 460px; }
.o-spotlight-link { font-family: 'Bitter', serif; font-size: 14.5px; font-weight: 600; border-bottom: 2px solid oklch(0.55 0.09 55); padding-bottom: 4px; display: inline-block; }
.o-spotlight-img { display: flex; justify-content: center; }
.o-spotlight-img img { width: 100%; max-width: 520px; }

/* ---------- Grids ---------- */
.o-section { padding: 0 64px 80px; }
.o-section-title { font-size: 13px; font-weight: 600; letter-spacing: 2.5px; color: oklch(0.5 0.09 55); margin-bottom: 28px; text-transform: uppercase; text-align: center; }
.o-h2-center { font-size: 30px; font-weight: 700; margin: 0 0 12px; text-align: center; }
.o-sub-center { font-size: 15px; color: oklch(0.45 0.02 50); text-align: center; margin-bottom: 40px; }
.o-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.o-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.o-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.o-card { background: oklch(0.99 0.004 75); border: 1px solid oklch(0.88 0.01 70); padding: 20px 18px 22px; }
.o-card img { width: 100%; margin-bottom: 16px; }
.o-card-title { font-family: 'Bitter', serif; font-size: 14.5px; font-weight: 700; }
.o-caliber-card { background: oklch(0.99 0.004 75); border: 1px solid oklch(0.88 0.01 70); padding: 36px 32px; }
.o-caliber-card .name { font-family: 'Bitter', serif; font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.o-caliber-card .note { font-size: 14px; color: oklch(0.45 0.02 50); line-height: 1.6; margin-bottom: 18px; }

/* ---------- Heritage band ---------- */
.o-heritage { background: oklch(0.2 0.02 50); color: oklch(0.94 0.01 75); padding: 72px 64px; text-align: center; }
.o-heritage blockquote { font-family: 'Bitter', serif; font-size: 30px; line-height: 1.4; font-weight: 600; max-width: 820px; margin: 0 auto 28px; }
.o-heritage cite { font-size: 13.5px; letter-spacing: 2px; color: oklch(0.7 0.03 70); text-transform: uppercase; font-style: normal; }

/* ---------- CTA strip ---------- */
.o-cta-split { display: flex; gap: 1px; background: oklch(0.88 0.01 70); flex-wrap: wrap; }
.o-cta-split > div { flex: 1; min-width: 280px; background: oklch(0.94 0.012 70); padding: 44px 64px; }
.o-cta-split h3 { font-family: 'Bitter', serif; font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.o-cta-split p { font-size: 14.5px; color: oklch(0.45 0.02 50); margin-bottom: 18px; }
.o-cta-dark { margin: 0 64px 80px; background: oklch(0.2 0.02 50); color: oklch(0.94 0.01 75); padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.o-cta-dark h3 { font-family: 'Bitter', serif; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.o-cta-dark p { font-size: 14.5px; color: oklch(0.8 0.02 75); margin: 0; }

/* ---------- Footer ---------- */
.o-footer { background: oklch(0.16 0.015 50); color: oklch(0.75 0.01 70); padding: 64px 64px 32px; }
.o-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.o-footer-grid h4 { font-family: 'Bitter', serif; font-size: 20px; font-weight: 700; color: oklch(0.97 0.006 75); margin-bottom: 14px; }
.o-footer-grid p { font-size: 13.5px; line-height: 1.7; max-width: 260px; margin: 0; }
.o-footer-col-title { font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px; color: oklch(0.97 0.006 75); margin-bottom: 16px; }
.o-footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.o-footer-links a { color: oklch(0.75 0.01 70); }
.o-footer-bottom { border-top: 1px solid oklch(0.3 0.015 50); padding-top: 24px; font-size: 12.5px; color: oklch(0.55 0.01 70); }

/* ---------- Page inner sections (products/warranty/service/about) ---------- */
.o-inner-section { padding: 64px 64px 0; }
.o-inner-section h2 { font-family: 'Bitter', serif; font-size: 24px; font-weight: 700; margin: 0 0 28px; }
.o-inner-section:last-of-type { padding-bottom: 64px; }
.o-caliber-row { display: flex; align-items: center; gap: 32px; background: oklch(0.99 0.004 75); border: 1px solid oklch(0.88 0.01 70); padding: 32px; }
.o-caliber-row img { width: 220px; flex-shrink: 0; margin: 0; }
.o-caliber-row .name { font-family: 'Bitter', serif; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.o-caliber-row .note { font-size: 13.5px; color: oklch(0.45 0.02 50); line-height: 1.7; }
.o-spec-table { background: oklch(0.99 0.004 75); border: 1px solid oklch(0.88 0.01 70); padding: 8px 32px; }
.o-spec-row { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid oklch(0.9 0.008 70); font-size: 14.5px; }
.o-spec-row:last-child { border-bottom: none; }
.o-spec-row .label { color: oklch(0.5 0.02 55); }
.o-spec-row .value { font-weight: 600; }
.o-banner-dark { margin: 64px 64px 0; background: oklch(0.2 0.02 50); color: oklch(0.94 0.01 75); padding: 40px 48px; text-align: center; }
.o-banner-dark .title { font-family: 'Bitter', serif; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.o-banner-dark .body { font-size: 14px; color: oklch(0.8 0.02 75); }

.o-about-hero { padding: 72px 64px 0; max-width: 760px; }
.o-about-hero h1 { font-family: 'Bitter', serif; font-size: 44px; line-height: 1.2; font-weight: 700; margin: 0 0 22px; }
.o-about-hero p { font-size: 17px; line-height: 1.7; color: oklch(0.42 0.02 50); margin: 0 0 20px; }
.o-about-band { padding: 48px 64px; }
.o-about-band img { width: 100%; height: 340px; object-fit: cover; object-position: center 55%; }
.o-values { padding: 24px 64px 80px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; }
.o-values h3 { font-family: 'Bitter', serif; font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.o-values p { font-size: 14.5px; line-height: 1.7; color: oklch(0.42 0.02 50); margin: 0; }

.o-steps .o-card .step-num { font-family: 'Bitter', serif; font-size: 28px; font-weight: 700; color: oklch(0.55 0.09 55); margin-bottom: 14px; }
.o-steps .o-card h3 { font-family: 'Bitter', serif; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.o-steps .o-card p { font-size: 14px; color: oklch(0.45 0.02 50); line-height: 1.7; margin: 0; }

.o-returns-box { background: oklch(0.99 0.004 75); border: 1px solid oklch(0.88 0.01 70); padding: 28px 32px; }
.o-returns-box p { font-size: 14.5px; color: oklch(0.42 0.02 50); line-height: 1.8; margin: 0; }
.o-coverage-card h3 { font-family: 'Bitter', serif; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.o-coverage-card p { font-size: 14px; color: oklch(0.45 0.02 50); line-height: 1.7; margin: 0; }

/* ---------- Contact page ---------- */
.o-contact-wrap { display: flex; gap: 64px; padding: 72px 64px 88px; flex-wrap: wrap; }
.o-contact-wrap > div { flex: 1; min-width: 320px; }
.o-contact-wrap h1 { font-family: 'Bitter', serif; font-size: 40px; line-height: 1.25; font-weight: 700; margin: 0 0 24px; }
.o-contact-wrap p.lead { font-size: 16px; line-height: 1.7; color: oklch(0.42 0.02 50); margin: 0 0 36px; max-width: 420px; }
.o-email-label { font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px; color: oklch(0.5 0.02 55); margin-bottom: 10px; text-transform: uppercase; }
.o-email-caption { font-size: 12px; color: oklch(0.55 0.02 55); margin-top: 14px; }
.o-contact-form { flex: 1; background: oklch(0.99 0.004 75); border: 1px solid oklch(0.88 0.01 70); padding: 40px; }
.o-field { margin-bottom: 18px; }
.o-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.o-field input[type="text"], .o-field input[type="email"], .o-field textarea {
  width: 100%; border: 1px solid oklch(0.82 0.01 70); background: oklch(1 0 0);
  padding: 12px 14px; font-size: 14px; font-family: inherit; color: oklch(0.22 0.02 50);
}
.o-field textarea { height: 120px; resize: vertical; }
.o-honeypot { position: absolute; left: -9999px; top: -9999px; }
.o-captcha-box { display: flex; align-items: center; gap: 12px; border: 1px solid oklch(0.82 0.01 70); background: oklch(0.97 0.006 75); padding: 14px 16px; margin-bottom: 18px; }
.o-captcha-box label { font-size: 13.5px; color: oklch(0.4 0.02 50); margin: 0; white-space: nowrap; }
.o-captcha-box input { width: 64px !important; text-align: center; }
.o-captcha-note { margin-left: auto; font-size: 10.5px; color: oklch(0.6 0.02 70); text-align: right; line-height: 1.3; }
.o-form-submit { width: 100%; border: none; font-family: 'Bitter', serif; background: oklch(0.22 0.02 50); color: oklch(0.99 0.004 75); font-weight: 700; font-size: 14.5px; padding: 15px 0; text-align: center; margin-top: 6px; }
.o-form-note { padding: 0 64px 24px; font-size: 13.5px; }
.o-form-note.success { color: oklch(0.4 0.12 150); }
.o-form-note.error { color: oklch(0.5 0.15 25); }

/* ---------- Mobile nav toggle ---------- */
@media (max-width: 900px) {
  .o-nav { padding: 0 24px; }
  .o-nav-links { position: fixed; top: 88px; left: 0; right: 0; background: oklch(0.99 0.004 75); flex-direction: column; align-items: flex-start; padding: 20px 24px 28px; gap: 18px; border-bottom: 1px solid oklch(0.88 0.01 70); display: none; }
  .o-nav-links.is-open { display: flex; }
  .o-nav-toggle { display: block; background: none; border: none; font-size: 22px; }
  .o-hero-copy, .o-page-hero, .o-about-hero, .o-contact-wrap, .o-section, .o-inner-section, .o-footer, .o-values, .o-about-band { padding-left: 24px; padding-right: 24px; }
  .o-hero-copy { left: 24px; right: 24px; }
  .o-spotlight, .o-contact-wrap { padding-left: 24px; padding-right: 24px; }
  .o-footer-grid, .o-grid-4, .o-grid-3, .o-grid-2, .o-values { grid-template-columns: 1fr; }
  .o-hero-copy h1 { font-size: 34px; }
  .o-about-hero h1 { font-size: 32px; }
  .o-cta-dark, .o-banner-dark { margin-left: 24px; margin-right: 24px; }
}
