/*
Theme Name: IZZIM
Theme URI: https://example.com/izzim
Author: IZZIM
Author URI: https://example.com
Description: ICT risk, regulatory & security advisory — a warm-neutral, finance-grade marketing theme. Home renders the full Welcome design; Services, Products, About and Contact ship as page templates. The top menu bar is managed in Appearance → Menus (assign a menu to the "Primary" location).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: corven
*/

/* ---------- base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #FBF9F5;
  color: #1F1B16;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }

/* ---------- site header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E8E1D4;
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1F1B16; }
.brand-mark {
  width: 24px; height: 24px; background: #1F1B16; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.brand-mark span { width: 9px; height: 9px; background: #B0795A; border-radius: 2px; transform: rotate(45deg); }
.brand-word { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.primary-nav ul li { margin: 0; }
.primary-nav ul a { font-size: 14px; color: #5a5347; text-decoration: none; transition: color 0.15s ease; }
.primary-nav ul a:hover { color: #1F1B16; }
.primary-nav ul .current-menu-item > a,
.primary-nav ul .current_page_item > a { color: #1F1B16; font-weight: 600; }
.nav-cta {
  font-size: 13.5px; font-weight: 500; color: #FBF9F5; background: #1F1B16;
  padding: 9px 17px; border-radius: 6px; text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: #2c261e; }
.nav-toggle { display: none; }

/* ---------- inner page banner (page.php / about) ---------- */
.page-hero { background: #1F1B16; color: #FBF9F5; }
.page-hero-inner { max-width: 1180px; margin: 0 auto; padding: 72px 40px; }
.page-hero .eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #cdbfa4;
}
.page-hero h1 {
  font-size: 46px; line-height: 1.06; letter-spacing: -0.03em; font-weight: 600;
  margin-top: 14px; max-width: 760px; text-wrap: balance;
}
.page-body { max-width: 820px; margin: 0 auto; padding: 64px 40px 88px; font-size: 17px; line-height: 1.75; color: #3a342b; }
.page-body h2 { font-size: 30px; letter-spacing: -0.02em; margin: 40px 0 14px; }
.page-body h3 { font-size: 21px; letter-spacing: -0.01em; margin: 28px 0 10px; }
.page-body p { margin: 0 0 20px; }
.page-body a { color: #5d7457; }
.page-body ul, .page-body ol { margin: 0 0 18px; padding-left: 22px; }
.page-body li { margin-bottom: 8px; }
.page-body img { border-radius: 12px; border: 1px solid #E5DDCD; }

/* ---------- site footer ---------- */
.site-footer { background: #FBF9F5; border-top: 1px solid #E8E1D4; }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 44px 40px;
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 28px;
}
.footer-brand { max-width: 320px; }
.footer-brand p { font-size: 12.5px; line-height: 1.6; color: #8a7f6c; margin-top: 14px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .col-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: #a89c86;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: #5a5347; text-decoration: none; }
.footer-col a:hover { color: #1F1B16; }
.footer-bar {
  max-width: 1180px; margin: 0 auto; padding: 18px 40px; border-top: 1px solid #E8E1D4;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bar span { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #a89c86; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-inner { padding: 14px 20px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid #E2DAC9; border-radius: 8px;
    background: transparent; cursor: pointer; font-size: 18px; color: #1F1B16;
  }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #FBF9F5; border-bottom: 1px solid #E8E1D4; padding: 8px 20px 20px;
  }
  .primary-nav.open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav ul li { border-top: 1px solid #EFE8DB; }
  .primary-nav ul a { display: block; padding: 14px 4px; font-size: 16px; }
  .nav-cta { text-align: center; margin-top: 14px; padding: 13px 16px; }

  .page-hero-inner { padding: 52px 20px; }
  .page-hero h1 { font-size: 34px; }
  .page-body { padding: 44px 20px 64px; font-size: 16px; }

  /* let the section grids stack on small screens */
  .cv-grid-2, .cv-grid-3, .cv-grid-4, .cv-split { grid-template-columns: 1fr !important; }
  .cv-pad { padding-left: 20px !important; padding-right: 20px !important; }
}
