/* ============================================================
   VOTIEN MARKETING — Complete Design System
   Bootstrap 5.3 overwrites & custom components
   ============================================================ */

:root {
    --bg: #FFFFFF;
    --bg-alt: #FAFAFA;
    --text: #1A1A1A;
    --text-muted: #5B6672;
    --accent: #B3202C;
    --accent-light: rgba(179, 32, 44, 0.08);
    --accent-hover: #8F1A24;
    --border: #E5E5E5;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px -6px rgba(0,0,0,0.08);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.2s ease;
}

/* ─── BASE ─────────────────────────────────────────── */
body { font-family: var(--font-body); color: var(--text); background: var(--bg); overflow-x: hidden; }
a { transition: var(--transition); }
img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }

/* ─── NAV ──────────────────────────────────────────── */
.votien-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 64px;
}
.votien-nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.votien-nav-logo {
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
    color: var(--text); text-decoration: none;
    display: flex; align-items: center; gap: 6px;
}
.votien-nav-logo:hover { color: var(--text); }
.votien-nav-logo span { color: var(--accent); }
.votien-nav-links {
    display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.votien-nav-links li { margin: 0; }
.votien-nav-links a {
    padding: 8px 18px; border-radius: var(--radius-sm);
    font-size: 0.9rem; font-weight: 500;
    color: var(--text-muted); text-decoration: none; transition: var(--transition);
}
.votien-nav-links a:hover,
.votien-nav-links a.active,
.votien-nav-links .current-menu-item > a { background: var(--accent-light); color: var(--accent); }
.votien-nav-cta {
    padding: 8px 20px; background: var(--accent); color: #fff !important;
    border-radius: var(--radius-sm); font-weight: 600; font-size: 0.85rem;
}
.votien-nav-cta:hover { background: var(--accent-hover) !important; }

/* Hamburger */
.votien-nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.votien-nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: var(--transition);
}
.votien-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.votien-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.votien-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── HERO ──────────────────────────────────────────── */
.votien-hero {
    padding: 120px 0 80px; background: var(--bg-alt);
    position: relative; overflow: hidden;
}
.votien-hero::before {
    content: ''; position: absolute; top: -120px; right: -120px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(179,32,44,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.votien-hero-name {
    font-family: var(--font-display); font-size: 2.8rem; font-weight: 700;
    margin-bottom: 4px; color: var(--text);
}
.votien-hero-role {
    font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px;
}
.votien-hero-summary {
    font-size: 1rem; color: var(--text-muted); max-width: 600px; line-height: 1.8;
    margin-bottom: 28px;
}
.votien-hero-contact {
    display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 32px;
}
.votien-hero-contact-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; color: var(--text-muted);
}
.votien-hero-contact-item i { color: var(--accent); width: 16px; }
.votien-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── BUTTONS ──────────────────────────────────────── */
.votien-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.9rem; text-decoration: none;
    transition: var(--transition); border: 1.5px solid transparent;
}
.votien-btn-primary {
    background: var(--accent); color: #fff; border-color: var(--accent);
}
.votien-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.votien-btn-outline {
    background: transparent; color: var(--accent); border-color: var(--accent);
}
.votien-btn-outline:hover { background: var(--accent-light); color: var(--accent); }
.votien-btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn-group .btn { border-radius: 20px !important; padding: 6px 16px; font-size: 0.82rem; }

/* ─── STATS ────────────────────────────────────────── */
.votien-stats {
    padding: 48px 0; border-bottom: 1px solid var(--border);
}
.votien-stat-num {
    font-family: var(--font-mono); font-size: 2.4rem; font-weight: 500;
    color: var(--accent); line-height: 1;
}
.votien-stat-label {
    font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px; margin-top: 6px;
}

/* ─── SECTION ──────────────────────────────────────── */
.votien-section { padding: 64px 0; }
.votien-section-alt { background: var(--bg-alt); }
.votien-section-title {
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
    margin-bottom: 6px;
}
.votien-section-subtitle {
    font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 32px;
}

/* ─── SKILLS ───────────────────────────────────────── */
.votien-skills-title {
    font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
    color: var(--accent); text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.votien-skills-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.votien-skill-tag {
    padding: 5px 12px; background: var(--accent-light); color: var(--accent);
    border-radius: 6px; font-size: 0.8rem; font-weight: 500;
}

/* Skill proof image */
.votien-skill-proof {
    margin-top: 12px; border-radius: var(--radius-sm); overflow: hidden;
    border: 1px dashed var(--border); position: relative;
    min-height: 80px; display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt); transition: var(--transition); cursor: pointer;
}
.votien-skill-proof img {
    width: 100%; height: auto; display: block;
}
.votien-skill-proof-placeholder {
    padding: 20px; text-align: center; color: var(--text-muted);
    font-size: 0.78rem;
}
.votien-skill-proof-placeholder i {
    font-size: 1.4rem; color: var(--accent); margin-bottom: 6px; display: block;
}
.votien-skill-proof.has-image .votien-skill-proof-placeholder { display: none; }

/* ─── TIMELINE ─────────────────────────────────------ */
.votien-timeline { position: relative; padding-left: 28px; }
.votien-timeline::before {
    content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
    width: 2px; background: var(--border);
}
.votien-timeline-item {
    position: relative; margin-bottom: 40px; padding-left: 20px;
}
.votien-timeline-dot {
    position: absolute; left: -24px; top: 6px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--accent); border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--accent);
}
.votien-timeline-date {
    font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent);
    font-weight: 500; margin-bottom: 4px;
}
.votien-timeline-role {
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
    color: var(--text); margin-bottom: 2px;
}
.votien-timeline-company {
    font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px;
}
.votien-timeline-desc {
    font-size: 0.88rem; color: var(--text-muted); line-height: 1.7;
    margin-bottom: 8px;
}
.votien-timeline-highlights { list-style: none; padding: 0; margin: 0; }
.votien-timeline-highlights li {
    font-size: 0.84rem; color: var(--text-muted); line-height: 1.6;
    padding-left: 16px; position: relative; margin-bottom: 4px;
}
.votien-timeline-highlights li::before {
    content: '•'; position: absolute; left: 2px; color: var(--accent); font-weight: bold;
}

/* ─── EDUCATION ────────────────────────────────────── */
.votien-edu-item {
    padding: 20px; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 12px;
}
.votien-edu-year {
    font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent);
    font-weight: 500; margin-bottom: 4px;
}
.votien-edu-name {
    font-weight: 600; font-size: 0.95rem; margin-bottom: 4px;
}
.votien-edu-desc { font-size: 0.84rem; color: var(--text-muted); }

/* ─── NODE DIVIDER ─────────────────────────────────── */
.votien-node-divider {
    display: flex; align-items: center; gap: 8px; margin: 48px 0; padding: 0 16px;
}
.votien-node-divider-line { flex: 1; height: 1px; background: var(--border); }
.votien-node-divider-dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
    flex-shrink: 0;
}

/* ─── TOOLS GRID ───────────────────────────────────── */
.votien-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.votien-tool-card {
    padding: 20px 12px; border: 1px solid var(--border); border-radius: var(--radius);
    text-align: center; text-decoration: none; color: var(--text);
    transition: all 0.2s; background: var(--bg); display: block;
}
.votien-tool-card:hover {
    border-color: var(--accent); transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(179,32,44,0.08); color: var(--text);
}
.votien-tool-card-icon { font-size: 1.8rem; margin-bottom: 8px; }
.votien-tool-card-name { font-size: 0.8rem; font-weight: 600; line-height: 1.3; }
.votien-tool-card-desc { font-size: 0.74rem; color: var(--text-muted); margin-top: 6px; line-height: 1.3; }

/* ─── TOOL SINGLE ──────────────────────────────────── */
.votien-tool-header-icon {
    width: 56px; height: 56px; background: var(--accent-light);
    border-radius: 14px; display: flex; align-items: center;
    justify-content: center; font-size: 1.5rem; flex-shrink: 0;
}
.votien-tool-embed-wrapper {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
}

/* ─── BREADCRUMB ───────────────────────────────────── */
.votien-breadcrumb {
    font-size: 13px; color: var(--text-muted); padding: 12px 0;
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.votien-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.votien-breadcrumb a:hover { color: var(--accent); }
.votien-breadcrumb span { color: var(--text); font-weight: 500; }
.votien-breadcrumb i.fa-chevron-right { font-size: 10px; color: var(--border); }

/* ─── POST CARD ────────────────────────────────────── */
.votien-post-card { border-radius: var(--radius); transition: var(--transition); }
.votien-post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg) !important; }
.votien-post-card-thumb {
    height: 200px; overflow: hidden; display: block;
    border-radius: var(--radius) var(--radius) 0 0;
}
.votien-post-card-thumb img {
    width: 100%; height: 100%; object-fit: cover; transition: var(--transition);
}
.votien-post-card:hover .votien-post-card-thumb img { transform: scale(1.05); }

/* ─── CTA SECTION ──────────────────────────────────── */
.votien-cta-section {
    background: var(--text); color: #fff; padding: 64px 0;
}
.votien-cta-title {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
    margin-bottom: 8px;
}
.votien-cta-text {
    color: rgba(255,255,255,0.6); margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto;
}

/* ─── FOOTER ───────────────────────────────────────── */
.votien-footer {
    background: var(--bg-alt); border-top: 1px solid var(--border);
    padding: 48px 0 0;
}
.votien-footer-title {
    font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
    margin-bottom: 16px; color: var(--text);
}
.votien-footer-text { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }
.votien-footer-links { list-style: none; padding: 0; margin: 0; }
.votien-footer-links li { margin-bottom: 8px; }
.votien-footer-links a {
    color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: var(--transition);
}
.votien-footer-links a:hover { color: var(--accent); padding-left: 3px; }
.votien-footer-contact { list-style: none; padding: 0; margin: 0; }
.votien-footer-contact li {
    margin-bottom: 8px; font-size: 0.84rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 8px;
}
.votien-footer-contact a { color: var(--text-muted); text-decoration: none; }
.votien-footer-contact a:hover { color: var(--accent); }
.votien-footer-contact i { width: 16px; color: var(--accent); }
.votien-footer-bottom {
    border-top: 1px solid var(--border); padding: 20px 0; margin-top: 32px;
    font-size: 0.8rem; color: var(--text-muted); text-align: center;
}
.votien-footer-bottom a { color: var(--text-muted); text-decoration: none; }
.votien-footer-bottom a:hover { color: var(--accent); }

/* ─── BACK TO TOP ──────────────────────────────────── */
.votien-back-to-top {
    position: fixed; bottom: 30px; right: 30px; z-index: 99;
    width: 44px; height: 44px; background: var(--accent); color: #fff;
    border: none; border-radius: 50%; font-size: 18px; cursor: pointer;
    opacity: 0; visibility: hidden; transition: var(--transition);
    box-shadow: var(--shadow-lg);
}
.votien-back-to-top.visible { opacity: 1; visibility: visible; }
.votien-back-to-top:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ─── SIDEBAR ──────────────────────────────────────── */
.votien-sidebar .votien-widget {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px; margin-bottom: 24px;
}
.votien-widget-title {
    font-size: 16px; font-weight: 700; margin-bottom: 16px;
    padding-bottom: 12px; border-bottom: 2px solid var(--accent-light);
}
.votien-sidebar ul { list-style: none; padding: 0; margin: 0; }
.votien-sidebar li { margin-bottom: 8px; }
.votien-sidebar a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.votien-sidebar a:hover { color: var(--accent); padding-left: 2px; }

/* ─── ENTRY CONTENT ────────────────────────────────── */
.entry-content { max-width: 800px; }
.entry-content h2, .entry-content h3 { margin-top: 32px; margin-bottom: 16px; }
.entry-content p { margin-bottom: 16px; line-height: 1.8; }
.entry-content ul, .entry-content ol { margin-bottom: 16px; padding-left: 20px; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content a:hover { color: var(--accent-hover); }
.entry-content img { border-radius: var(--radius-sm); margin: 24px 0; }
.entry-content blockquote {
    border-left: 4px solid var(--accent); padding-left: 16px;
    margin: 24px 0; color: var(--text-muted); font-style: italic;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.entry-content th, .entry-content td {
    padding: 10px 12px; border: 1px solid var(--border); text-align: left;
}
.entry-content th { background: var(--bg-alt); font-weight: 600; }

/* ─── PAGINATION ───────────────────────────────────── */
nav .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 8px; margin: 0 2px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 500; color: var(--text-muted);
    text-decoration: none; transition: var(--transition);
}
nav .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
nav .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
nav .page-numbers.prev, nav .page-numbers.next { border: none; }
nav .page-list { list-style: none; display: flex; justify-content: center; gap: 4px; margin: 0; padding: 0; }

/* ─── PRINT ────────────────────────────────────────── */
@media print {
    .votien-nav, .votien-footer, .votien-cta-section,
    .votien-back-to-top, .votien-nav-cta { display: none !important; }
    .votien-hero { padding: 40px 0; }
    .votien-section { padding: 24px 0; page-break-inside: avoid; }
    .votien-timeline::before { display: none; }
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 992px) {
    .votien-nav-links {
        display: none;
        position: fixed; top: 64px; left: 0; right: 0;
        background: #fff; padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        flex-direction: column; gap: 4px;
    }
    .votien-nav-links.active { display: flex; }
    .votien-nav-links a { padding: 10px 16px; }
    .votien-nav-toggle { display: flex !important; }
}

@media (min-width: 993px) {
    .votien-nav-toggle { display: none !important; }
}

@media (max-width: 768px) {
    .votien-hero-name { font-size: 2rem; }
    .votien-hero { padding: 100px 0 48px; }
    .votien-hero-contact { gap: 12px; flex-direction: column; }
    .votien-stat-num { font-size: 1.8rem; }
    .votien-timeline { padding-left: 20px; }
    .votien-tools-grid { grid-template-columns: repeat(2, 1fr); }
    .votien-section { padding: 40px 0; }
    .votien-section-title { font-size: 1.3rem; }
}

@media (max-width: 576px) {
    .votien-tool-header-icon { width: 44px; height: 44px; font-size: 1.2rem; }
    .votien-tools-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .votien-tool-card { padding: 14px 8px; }
    .votien-btn { padding: 10px 22px; font-size: 0.85rem; }
}
