﻿/* ============================================================
   PORTFOLIO SENIOR DESIGN OVERLAY  -  style-v2.css
   ============================================================ */

:root {
  --bg-dark:       #0a0e16;
  --surface-dark:  #131826;
  --border-dark:   rgba(25,194,193,0.14);
  --text-dark:     #e6eaf2;
  --text-dim-dark: #8a93a6;
  --accent:        #19c2c1;
}

body.theme-dark { background-color: var(--bg-dark); color: var(--text-dark); }
body.theme-dark .site-header, body.theme-dark .site-navigation { background: #0d1120 !important; border-bottom: 1px solid var(--border-dark); }
body.theme-dark .site-navigation .nav > li > a { color: var(--text-dark) !important; }
body.theme-dark .site-footer { background: #0d1120; color: var(--text-dark); }
body.theme-dark .section-skills-matrix, body.theme-dark .section-philosophy { background: var(--bg-dark); }
body.theme-dark .skill-tile { background: var(--surface-dark); border-color: var(--border-dark); color: var(--text-dark); }
body.theme-dark .skill-tile .skill-name { color: var(--text-dark); }
body.theme-dark .skill-tile .skill-exp  { color: var(--text-dim-dark); }
body.theme-dark .ep-card { background: var(--surface-dark); }
body.theme-dark .ep-card h4 { color: var(--text-dark); }
body.theme-dark .ep-card p  { color: var(--text-dim-dark); }
body.theme-dark .section-case-studies { background: var(--bg-dark); }
body.theme-dark .cs-card { background: var(--surface-dark); border-color: var(--border-dark); }
body.theme-dark .cs-block { background: #0d1120; border-color: var(--border-dark); }

.theme-toggle { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); cursor: pointer; border-radius: 999px; width: 38px; height: 38px; line-height: 36px; padding: 0; margin-top: 8px; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-on-scroll { opacity: 1; transform: none; transition: none; } }

.hero-badge { display: inline-block; background: rgba(25,194,193,0.18); color: var(--accent); border: 1px solid rgba(25,194,193,0.4); border-radius: 20px; padding: 5px 16px; font-size: 13px; font-family: "Varela", sans-serif; letter-spacing: 0.5px; margin-bottom: 18px; }

.hero-actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-cta-primary { background: var(--accent); color: #fff !important; padding: 12px 28px; border-radius: 6px; font-family: "Varela", sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; border: 2px solid var(--accent); transition: all 0.25s ease; display: inline-block; }
.hero-cta-primary:hover { background: transparent; color: var(--accent) !important; }

.hero-cta-secondary { background: transparent; color: #fff !important; padding: 12px 28px; border-radius: 6px; font-family: "Varela", sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; border: 2px solid rgba(255,255,255,0.6); transition: all 0.25s ease; display: inline-block; }
.hero-cta-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.hero-cv-link { display: inline-block; color: #d7f6f5; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0 0; opacity: 0.95; }
.hero-cv-link:hover { color: #fff; opacity: 1; }

.hero-current-status { margin-top: 14px; color: rgba(255,255,255,0.82); font-size: 13px; }
.hero-current-status .status-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #6cffc8; margin-right: 8px; position: relative; top: 1px; animation: statusPulse 2s infinite; }
@keyframes statusPulse { 0% { box-shadow: 0 0 0 0 rgba(108,255,200,.55); } 70% { box-shadow: 0 0 0 10px rgba(108,255,200,0); } 100% { box-shadow: 0 0 0 0 rgba(108,255,200,0); } }

.nav-cta-item a.nav-cta { background: var(--accent) !important; color: #fff !important; border-radius: 4px; padding: 6px 16px !important; margin-left: 8px; font-family: "Varela", sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; line-height: 32px; }
.nav-cta-item a.nav-cta:hover { background: #13a09f !important; }

.section-skills-matrix { padding: 70px 0; background: #fafafa; }
.section-skills-matrix h2 { text-align: center; margin-bottom: 6px; }
.section-skills-matrix .section-subtitle { text-align: center; margin-bottom: 40px; }

.skill-group-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #666; margin-bottom: 14px; }

.skill-matrix { display: flex; flex-wrap: wrap; gap: 16px; }

.skill-tile { background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 18px 16px; text-align: center; transition: box-shadow 0.2s, transform 0.2s; min-width: 140px; flex: 1 1 140px; max-width: 200px; }
.skill-tile:hover { box-shadow: 0 6px 20px rgba(25,194,193,0.15); transform: translateY(-3px); }
.skill-tile i { font-size: 28px; color: var(--accent); margin-bottom: 10px; display: block; }
.skill-tile .skill-name { font-weight: 700; font-size: 14px; color: #333; display: block; margin-bottom: 4px; }
.skill-tile .skill-exp { font-size: 12px; color: #666; }

.section-philosophy { padding: 70px 0; background: #fff; }
.section-philosophy h2 { text-align: center; margin-bottom: 6px; }
.section-philosophy .section-subtitle { text-align: center; margin-bottom: 40px; }

.ep-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.ep-card { border-left: 3px solid var(--accent); padding: 20px 20px 20px 22px; background: #fafafa; border-radius: 0 6px 6px 0; flex: 1 1 240px; }
.ep-card i { font-size: 22px; color: var(--accent); margin-bottom: 10px; display: block; }
.ep-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.ep-card p { font-size: 13px; color: #666; margin: 0; line-height: 1.6; }

.section-github { padding: 70px 0; background: #0b0f17; }
.section-github h2, .section-github .section-subtitle { text-align: center; color: var(--text-dark); }

.gh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 28px; }

.gh-repo-card { display: block; background: var(--surface-dark); border: 1px solid var(--border-dark); border-radius: 12px; padding: 18px; color: var(--text-dark); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.gh-repo-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.28); border-color: rgba(25,194,193,0.32); color: var(--text-dark); text-decoration: none; }
.gh-topline { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px; }
.gh-topline i { color: var(--accent); }
.gh-repo-card p { margin: 0 0 14px; color: var(--text-dim-dark); font-size: 13px; line-height: 1.6; }
.gh-meta { display: flex; align-items: center; gap: 8px; color: #c8d0df; font-size: 12px; }
.gh-lang-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.gh-lang-dot.csharp { background: #178600; }
.gh-lang-dot.mvc    { background: var(--accent); }
.gh-lang-dot.api    { background: #7c5cff; }
.gh-lang-dot.arch   { background: #f59e0b; }

.cs-architecture { margin-top: 28px; padding: 18px; border: 1px solid rgba(25,194,193,0.18); border-radius: 8px; background: rgba(25,194,193,0.04); }
.cs-arch-header { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #e6eaf2; margin-bottom: 12px; }
.cs-arch-header i { color: var(--accent); }
.cs-arch-diagram { background: #0b0f17; border-radius: 8px; overflow: hidden; padding: 10px; }
.cs-arch-diagram img { width: 100%; height: auto; display: block; }
.cs-arch-caption { margin: 12px 0 0; font-size: 13px; color: var(--text-dim-dark); line-height: 1.6; }

.cs-preview { margin-top: 22px; border: 1px solid rgba(25,194,193,0.18); border-radius: 10px; overflow: hidden; background: #0b0f17; }
.cs-preview-chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #131826; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cs-preview-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cs-preview-dot.red { background: #ff5f57; }
.cs-preview-dot.yellow { background: #febc2e; }
.cs-preview-dot.green  { background: #28c840; }
.cs-preview-url { margin-left: 10px; color: var(--text-dim-dark); font-size: 12px; }
.cs-preview-viewport { height: 180px; background-size: cover; background-position: center; }

.rulex-preview   { background-image: linear-gradient(135deg,rgba(25,194,193,.18),rgba(10,14,22,.92)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 260'%3E%3Crect width='800' height='260' fill='%230b0f17'/%3E%3Crect x='28' y='30' width='220' height='200' rx='14' fill='%23131826' stroke='%2319c2c1'/%3E%3Crect x='50' y='54' width='176' height='18' rx='4' fill='%2319c2c1' fill-opacity='.18'/%3E%3Crect x='50' y='88' width='120' height='12' rx='4' fill='%23e6eaf2' fill-opacity='.75'/%3E%3Crect x='50' y='116' width='150' height='12' rx='4' fill='%238a93a6'/%3E%3Crect x='286' y='30' width='220' height='200' rx='14' fill='%23131826' stroke='%2319c2c1'/%3E%3Ccircle cx='396' cy='86' r='44' fill='none' stroke='%2319c2c1' stroke-width='10'/%3E%3Ctext x='396' y='92' fill='%23e6eaf2' font-size='22' font-family='Arial' text-anchor='middle'%3ERuleX%3C/text%3E%3Crect x='544' y='30' width='228' height='200' rx='14' fill='%23131826' stroke='%2319c2c1'/%3E%3Cpath d='M574 60h168M574 92h136M574 124h150' stroke='%238a93a6' stroke-width='10' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hrfalcon-preview { background-image: linear-gradient(135deg,rgba(25,194,193,.14),rgba(10,14,22,.92)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 260'%3E%3Crect width='800' height='260' fill='%230b0f17'/%3E%3Crect x='24' y='24' width='752' height='48' rx='12' fill='%23131826' stroke='%2319c2c1'/%3E%3Crect x='44' y='40' width='120' height='16' rx='4' fill='%2319c2c1' fill-opacity='.18'/%3E%3Crect x='180' y='40' width='120' height='16' rx='4' fill='%238a93a6'/%3E%3Crect x='24' y='88' width='230' height='148' rx='14' fill='%23131826' stroke='%2319c2c1'/%3E%3Crect x='268' y='88' width='230' height='68' rx='14' fill='%23131826' stroke='%2319c2c1'/%3E%3Crect x='268' y='168' width='230' height='68' rx='14' fill='%23131826' stroke='%2319c2c1'/%3E%3Crect x='512' y='88' width='264' height='148' rx='14' fill='%23131826' stroke='%2319c2c1'/%3E%3Ctext x='139' y='160' fill='%23e6eaf2' font-size='24' font-family='Arial' text-anchor='middle'%3EDashboard%3C/text%3E%3Ctext x='383' y='130' fill='%23e6eaf2' font-size='20' font-family='Arial' text-anchor='middle'%3EHR Modules%3C/text%3E%3C/svg%3E"); }
.oneshop-preview  { background-image: linear-gradient(135deg,rgba(25,194,193,.14),rgba(10,14,22,.92)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 260'%3E%3Crect width='800' height='260' fill='%230b0f17'/%3E%3Crect x='22' y='30' width='756' height='200' rx='16' fill='%23131826' stroke='%2319c2c1'/%3E%3Crect x='46' y='54' width='150' height='28' rx='6' fill='%2319c2c1' fill-opacity='.18'/%3E%3Crect x='46' y='102' width='194' height='106' rx='10' fill='%230b0f17' stroke='%232a3044'/%3E%3Crect x='260' y='102' width='194' height='106' rx='10' fill='%230b0f17' stroke='%232a3044'/%3E%3Crect x='474' y='102' width='194' height='106' rx='10' fill='%230b0f17' stroke='%232a3044'/%3E%3C/svg%3E"); }

@media (max-width: 768px) {
  .skill-matrix { justify-content: center; }
  .skill-tile { min-width: 130px; max-width: 46%; }
  .ep-card { flex-basis: 100%; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cs-preview { margin-top: 18px; }
}
