
/*
Theme Name: Ale Portfolio OnePage
Theme URI: https://example.local/ale-portfolio
Author: Alejandro Vázquez (via ChatGPT)
Author URI: https://example.local
Description: Tema one-page ligero tipo portfolio/CV, con secciones Hero, Sobre mí, Skills, Experiencia, Portfolio y Contacto. Incluye CPT "project" para el portfolio.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ale-portfolio
Tags: one-page, portfolio, responsive, minimal, accessibility-ready
*/
:root{
  --bg:#0b0e14;
  --bg-alt:#101522;
  --card:#131a2a;
  --text:#e6edf3;
  --muted:#9aa7b2;
  --brand:#0ea5e9;
  --brand-2:#22d3ee;
  --accent:#84cc16;
  --danger:#ef4444;
  --radius:18px;
}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;background:var(--bg);color:var(--text);}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1100px;margin:0 auto;padding:0 1.25rem}
.section{padding:96px 0}
h1,h2,h3{line-height:1.2;margin:0 0 .75rem}
h1{font-size:clamp(2rem,5vw,3.25rem)}
h2{font-size:clamp(1.5rem,3vw,2.25rem)}
p{color:var(--muted);line-height:1.7}
.btn{display:inline-block;padding:.85rem 1.25rem;border-radius:999px;background:linear-gradient(90deg,var(--brand),var(--brand-2));color:white;font-weight:600}
.btn:hover{opacity:.9;text-decoration:none}
.header{position:sticky;top:0;z-index:50;background:rgba(11,14,20,.7);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid rgba(255,255,255,.06)}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{display:flex;align-items:center;gap:.5rem;font-weight:700}
.menu{display:flex;gap:1.25rem;align-items:center}
.menu a{color:var(--text);opacity:.9}
.menu a:hover{opacity:1}
.burger{display:none;line-height:0;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:transparent;color:var(--text);padding:.5rem .6rem}
@media (max-width: 900px){
  .menu{display:none}
  .burger{display:inline-block}
  .mobile{display:none;position:absolute;left:0;right:0;top:64px;background:var(--bg-alt);border-bottom:1px solid rgba(255,255,255,.06)}
  .mobile a{display:block;padding:1rem;border-top:1px solid rgba(255,255,255,.06);color:var(--text)}
}
.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:2rem;align-items:center}
.hero .card{background:radial-gradient(120% 120% at 10% 10%, rgba(34,211,238,.15), transparent 60%), radial-gradient(120% 120% at 90% 90%, rgba(14,165,233,.12), transparent 60%),var(--card);border:1px solid rgba(255,255,255,.06);border-radius:var(--radius);padding:2rem}
.hero img{width:100%;border-radius:var(--radius);border:1px solid rgba(255,255,255,.08)}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.25rem}
.kpi{background:var(--card);border:1px solid rgba(255,255,255,.06);padding:1rem;border-radius:14px;text-align:center}
.grid{display:grid;gap:1.25rem}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
@media (max-width: 900px){
  .hero{grid-template-columns:1fr}
  .grid.cols-3{grid-template-columns:1fr}
  .grid.cols-2{grid-template-columns:1fr}
}
.card{background:var(--card);border:1px solid rgba(255,255,255,.06);padding:1.25rem;border-radius:14px}
.badge{display:inline-block;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);padding:.35rem .6rem;border-radius:999px;color:var(--text);font-size:.85rem}
.timeline{position:relative;margin-left:1rem}
.timeline::before{content:"";position:absolute;left:-1rem;top:0;bottom:0;width:2px;background:linear-gradient(var(--brand),transparent)}
.timeline-item{position:relative;margin:0 0 1.25rem 0;padding-left:1rem}
.timeline-item::before{content:"";position:absolute;left:-1.2rem;top:.5rem;width:10px;height:10px;border-radius:50%;background:var(--brand)}
.portfolio{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.portfolio .item{position:relative;overflow:hidden;border-radius:12px;border:1px solid rgba(255,255,255,.06)}
.portfolio .item img{width:100%;display:block;transition:transform .4s ease}
.portfolio .item:hover img{transform:scale(1.05)}
.footer{padding:48px 0;border-top:1px solid rgba(255,255,255,.06);color:var(--muted)}
/* Gutenberg base */
.entry-content > *{max-width:800px;margin-left:auto;margin-right:auto}
.alignwide{max-width:1100px}
.alignfull{max-width:none}
