/*
Theme Name: Edgard Mvogo — Azure AI Consultant
Theme URI: https://example.com
Author: Edgard Herve Mvogo
Author URI: https://example.com
Description: A compelling one-site portfolio and blog theme for a freelance Azure AI Platform & Gateway consultant. Homepage showcases hero, services/hire-me, skills, projects & GitHub repos, gigs/experience, MCT training, testimonials, and latest articles — all editable from the dashboard with no plugins. Includes custom post types for Projects, Gigs, and Testimonials, a one-click demo installer, and full blog support. Built for WordPress on Hostinger.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edgard-consulting
Tags: portfolio, blog, one-column, custom-menu, custom-logo, featured-images, translation-ready, threaded-comments
*/

:root {
  --bg: #0a0f1c;
  --bg-2: #0f1728;
  --surface: #131d33;
  --surface-2: #18243f;
  --text: #eaf1fb;
  --muted: #a3b3cc;
  --line: rgba(255,255,255,.10);
  --accent: #38bdf8;
  --accent-2: #34d399;
  --accent-3: #a78bfa;
  --warn: #fbbf24;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --maxw: 1140px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1100px 500px at 12% -8%, rgba(56,189,248,.16), transparent 60%),
    radial-gradient(900px 500px at 92% 4%, rgba(167,139,250,.14), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
h1,h2,h3,h4 { line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
.container { width: min(var(--maxw), calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Accessibility */
.skip-link { position:absolute; left:-999px; }
.skip-link:focus { left:1rem; top:1rem; z-index:20; background:#fff; color:#000; padding:.6rem 1rem; border-radius:8px; }
.screen-reader-text { position:absolute!important; width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px); }

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:.5rem; padding:.85rem 1.35rem; border-radius:999px;
  font-weight:700; text-decoration:none; border:1px solid transparent; cursor:pointer; font-size:.98rem;
  transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color:#04121f; }
.btn-primary:hover { filter: brightness(1.06); color:#04121f; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width:100%; justify-content:center; }

/* Header */
.site-header { position: sticky; top:0; z-index:30; background: rgba(10,15,28,.82);
  backdrop-filter: blur(16px); border-bottom:1px solid var(--line); }
.nav { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:70px; }
.brand { display:inline-flex; align-items:center; gap:.65rem; font-weight:800; text-decoration:none; color:var(--text); font-size:1.05rem; }
.brand-mark { width:38px; height:38px; border-radius:11px; display:grid; place-items:center;
  background: linear-gradient(135deg, var(--accent), var(--accent-3)); color:#06121f; font-weight:900; }
.brand small { display:block; font-weight:500; font-size:.72rem; color:var(--muted); letter-spacing:.02em; }
.nav-menu ul { list-style:none; display:flex; gap:1.15rem; margin:0; padding:0; align-items:center; }
.nav-menu a { color:var(--muted); text-decoration:none; font-size:.94rem; font-weight:500; }
.nav-menu a:hover, .nav-menu .current-menu-item>a, .nav-menu .current_page_item>a { color:var(--accent); }
.nav-cta { display:inline-flex; }
.menu-toggle { display:none; background:none; border:1px solid var(--line); border-radius:10px; color:var(--text);
  padding:.5rem .7rem; cursor:pointer; }

/* Hero */
.hero { padding: 84px 0 40px; }
.hero .eyebrow { color:var(--accent); font-weight:800; letter-spacing:.16em; text-transform:uppercase; font-size:.78rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); margin:.5rem 0; }
.hero .lead { font-size:1.2rem; color:var(--muted); max-width:760px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.6rem; }
.hero-badges { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.8rem; }
.badge { display:inline-flex; align-items:center; gap:.4rem; padding:.4rem .8rem; border-radius:999px;
  background: var(--surface); border:1px solid var(--line); font-size:.82rem; color:var(--muted); font-weight:600; }
.badge strong { color: var(--accent-2); }

/* Stats strip */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap:1rem; margin-top:2.4rem; }
.stat { background: var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:1.1rem 1.2rem; }
.stat .num { font-size:1.9rem; font-weight:800; color:var(--text); }
.stat .lbl { color:var(--muted); font-size:.85rem; }

/* Sections */
.section { padding: 64px 0; }
.section-head { max-width:720px; margin-bottom:2rem; }
.section-head .eyebrow { color:var(--accent-3); font-weight:800; letter-spacing:.14em; text-transform:uppercase; font-size:.76rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin:.35rem 0; }
.section-head p { color:var(--muted); font-size:1.05rem; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }

/* Generic card */
.card { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border:1px solid var(--line); border-radius:var(--radius); padding:1.5rem; box-shadow: var(--shadow); }
.grid { display:grid; gap:1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }

/* Services / hire me */
.service h3 { font-size:1.2rem; }
.service .price { color:var(--accent-2); font-weight:800; margin-top:.4rem; }
.service ul { color:var(--muted); padding-left:1.1rem; margin:.6rem 0 0; }
.service ul li { margin-bottom:.3rem; }
.service .tag { display:inline-block; margin-bottom:.7rem; font-size:.72rem; font-weight:800; text-transform:uppercase;
  letter-spacing:.08em; color:var(--accent); background:rgba(56,189,248,.14); padding:.25rem .6rem; border-radius:999px; }

/* Skills */
.skill-group h3 { font-size:1.05rem; margin-bottom:.7rem; }
.chips { display:flex; flex-wrap:wrap; gap:.45rem; }
.chip { font-size:.82rem; padding:.32rem .7rem; border-radius:999px; background: var(--surface-2);
  border:1px solid var(--line); color:var(--text); }

/* Projects */
.project { display:flex; flex-direction:column; }
.project .meta { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; margin-bottom:.7rem; }
.pill { font-size:.72rem; font-weight:800; padding:.25rem .6rem; border-radius:999px;
  background: rgba(52,211,153,.16); color: var(--accent-2); text-transform:uppercase; letter-spacing:.05em; }
.pill.alt { background: rgba(56,189,248,.14); color: var(--accent); }
.pill.muted { background: rgba(255,255,255,.08); color: var(--muted); }
.project h3 { font-size:1.22rem; }
.project p { color:var(--muted); flex:1; }
.tech { display:flex; flex-wrap:wrap; gap:.4rem; margin:.8rem 0; }
.tech span { font-size:.76rem; color:var(--muted); border:1px solid var(--line); border-radius:6px; padding:.15rem .5rem; }
.project-links { display:flex; gap:1rem; margin-top:.6rem; font-weight:700; font-size:.92rem; }
.project-links a { text-decoration:none; }
.project-links a:hover { text-decoration:underline; }

/* Experience / gigs timeline */
.timeline { position:relative; }
.gig { display:grid; grid-template-columns: 150px 1fr; gap:1.4rem; padding:1.3rem 0; border-top:1px solid var(--line); }
.gig:first-child { border-top:0; }
.gig .when { color:var(--accent); font-weight:700; font-size:.9rem; }
.gig .role { font-weight:700; }
.gig .org { color:var(--muted); font-size:.9rem; margin-bottom:.4rem; }
.gig p { color:var(--muted); margin:0; }
.gig .tech { margin-top:.6rem; }

/* Training / MCT */
.mct { display:grid; grid-template-columns: 1.1fr .9fr; gap:1.5rem; align-items:center; }
.mct .card { height:100%; }
.mct-list { list-style:none; padding:0; margin:.5rem 0 0; }
.mct-list li { display:flex; gap:.6rem; align-items:flex-start; color:var(--muted); margin-bottom:.55rem; }
.mct-list li::before { content:"✓"; color:var(--accent-2); font-weight:900; }

/* Testimonials */
.quote { font-size:1.02rem; }
.quote .who { margin-top:.9rem; font-size:.9rem; color:var(--muted); }
.quote .who strong { color:var(--text); }

/* Blog cards */
.post-card { display:flex; flex-direction:column; overflow:hidden; padding:0; }
.post-card .thumb { aspect-ratio: 16/9; background: var(--surface-2); overflow:hidden; }
.post-card .thumb img { width:100%; height:100%; object-fit:cover; }
.post-card .body { padding:1.3rem 1.4rem 1.5rem; display:flex; flex-direction:column; flex:1; }
.post-card .date { color:var(--accent); font-size:.8rem; font-weight:700; }
.post-card h3 { font-size:1.12rem; margin:.35rem 0 .5rem; }
.post-card h3 a { color:var(--text); text-decoration:none; }
.post-card h3 a:hover { color:var(--accent); }
.post-card p { color:var(--muted); font-size:.94rem; flex:1; }
.post-card .readmore { font-weight:700; font-size:.9rem; text-decoration:none; margin-top:.5rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, rgba(56,189,248,.14), rgba(167,139,250,.14));
  border:1px solid var(--line); border-radius: var(--radius-lg); padding: 2.6rem; text-align:center; }
.cta-band h2 { font-size: clamp(1.8rem,4vw,2.6rem); }
.cta-band p { color:var(--muted); max-width:620px; margin-inline:auto; }
.cta-actions { display:flex; gap:.8rem; justify-content:center; flex-wrap:wrap; margin-top:1.4rem; }

/* Article */
.article { max-width: 780px; padding: 70px 0; }
.article .eyebrow { color:var(--accent); font-weight:700; font-size:.85rem; }
.article h1 { font-size: clamp(2rem,5vw,3.2rem); margin:.4rem 0; }
.article .article-meta { color:var(--muted); font-size:.9rem; margin-bottom:1.5rem; }
.entry-content { font-size:1.06rem; }
.entry-content h2 { margin-top:2rem; font-size:1.6rem; }
.entry-content h3 { margin-top:1.6rem; font-size:1.25rem; }
.entry-content p, .entry-content li { color: #d4dff0; }
.entry-content a { color: var(--accent); }
.entry-content img { border-radius:12px; margin:1.2rem 0; }
.entry-content blockquote { border-left:3px solid var(--accent); margin:1.2rem 0; padding:.4rem 0 .4rem 1.2rem; color:var(--muted); }
.entry-content pre { background:#0b1220; border:1px solid var(--line); border-radius:12px; padding:1rem; overflow-x:auto; }
.entry-content code { background: rgba(255,255,255,.08); padding:.12em .4em; border-radius:6px; font-size:.92em; }
.entry-content pre code { background:none; padding:0; }
.tags-row { display:flex; flex-wrap:wrap; gap:.45rem; margin:1.2rem 0; }
.tags-row a { font-size:.82rem; text-decoration:none; border:1px solid var(--line); border-radius:999px; padding:.25rem .7rem; color:var(--muted); }
.tags-row a:hover { color:var(--accent); border-color:var(--accent); }

/* Page hero (archives, blog index, generic pages) */
.page-hero { padding: 70px 0 20px; }
.page-hero h1 { font-size: clamp(2rem,5vw,3.4rem); }
.page-hero p { color:var(--muted); font-size:1.08rem; max-width:680px; }

/* Pagination */
.pagination { display:flex; gap:.5rem; flex-wrap:wrap; padding: 1rem 0 3rem; }
.pagination .page-numbers { border:1px solid var(--line); border-radius:10px; padding:.45rem .85rem; text-decoration:none; color:var(--muted); }
.pagination .page-numbers.current { background:var(--accent); color:#04121f; font-weight:800; border-color:transparent; }
.pagination a.page-numbers:hover { color:var(--accent); }

/* Comments */
.comments-area { max-width:780px; margin-inline:auto; padding-bottom:60px; }
.comments-area input, .comments-area textarea { width:100%; background:var(--surface); border:1px solid var(--line);
  border-radius:10px; color:var(--text); padding:.7rem; margin-bottom:.8rem; font-family:inherit; }
.comment-list { list-style:none; padding:0; }
.comment-list .comment { border:1px solid var(--line); border-radius:12px; padding:1rem; margin-bottom:1rem; background:var(--surface); }

/* Footer */
.site-footer { border-top:1px solid var(--line); padding: 46px 0 30px; margin-top:40px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:2rem; }
.footer-grid h4 { font-size:.85rem; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.footer-grid a { color:var(--muted); text-decoration:none; display:block; margin-bottom:.4rem; font-size:.94rem; }
.footer-grid a:hover { color:var(--accent); }
.footer-bottom { margin-top:2rem; padding-top:1.4rem; border-top:1px solid var(--line); color:var(--muted); font-size:.86rem;
  display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; }

/* Utility */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}

/* WP core */
.alignleft{float:left;margin:.4rem 1.4rem 1rem 0}.alignright{float:right;margin:.4rem 0 1rem 1.4rem}
.aligncenter{margin-inline:auto}.wp-caption-text{color:var(--muted);font-size:.85rem;text-align:center}
.sticky,.bypostauthor{display:block}

/* Responsive */
@media (max-width: 900px){
  .grid-3{grid-template-columns:1fr 1fr}
  .stats{grid-template-columns:1fr 1fr}
  .mct{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 680px){
  .nav-menu{ position:absolute; top:70px; left:0; right:0; background:var(--bg-2); border-bottom:1px solid var(--line);
    display:none; padding:1rem 20px; }
  .nav-menu.open{ display:block; }
  .nav-menu ul{ flex-direction:column; align-items:flex-start; gap:.9rem; }
  .menu-toggle{ display:inline-flex; }
  .nav .nav-cta{ display:none; }
  .grid-2,.grid-3{grid-template-columns:1fr}
  .gig{grid-template-columns:1fr; gap:.4rem}
  .stats{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr}
  .cta-band{padding:1.8rem}
}
