/* ============================================================
   EIDEVS — skills.css
   ============================================================ */

/* ============================================================
   SKILLS HERO
   ============================================================ */
.skills-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.skills-hero .container { position: relative; z-index: 1; }

.skills-hero-orb-1 { width: 520px; height: 520px; top: -180px; right: -80px; }
.skills-hero-orb-2 { width: 360px; height: 360px; bottom: -80px; left: -60px; }

/* ============================================================
   SKILL BARS SECTION
   ============================================================ */
.skillbars-section { padding: 56px 0 var(--section-padding); }

.skillbars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
}

/* Column heading */
.skillbars-col-label {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skillbars-col-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,123,0,0.4), transparent);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Single skill row ── */
.skill-row {}

.skill-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  gap: 10px;
}

.skill-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.skill-name i {
  font-size: 14px;
  width: 16px;
  text-align: center;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.skill-pct {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-orange);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ── Bar track ── */
.skill-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

/* Glow shimmer on track */
.skill-track::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255,255,255,0.025));
}

/* ── Animated fill ── */
.skill-bar-fill {
  height: 100%;
  width: 0%; /* starts at 0; JS sets to data-width% */
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
  position: relative;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Moving shimmer on fill */
.skill-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 30px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  animation: bar-shimmer 2s ease-in-out infinite;
}

@keyframes bar-shimmer {
  0%   { transform: translateX(-30px); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateX(30px); opacity: 0; }
}

/* Gold variant */
.skill-bar-fill.gold {
  background: linear-gradient(90deg, var(--accent-gold-dim), var(--accent-gold));
}
.skill-bar-fill.gold ~ .skill-pct { color: var(--accent-gold); }

/* Blue variant */
.skill-bar-fill.blue {
  background: linear-gradient(90deg, #1a3fa8, #7499ff);
}

/* Dot badge (level label) */
.skill-level {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   TOOLS / TECH ICONS CLOUD
   ============================================================ */
.tools-section { padding: var(--section-padding) 0; }

.tools-header { margin-bottom: 48px; }

.tools-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: var(--t-mid);
  cursor: default;
}

.tool-chip i { font-size: 15px; }

.tool-chip:hover {
  color: var(--text-primary);
  border-color: rgba(255,123,0,0.3);
  background: rgba(255,123,0,0.05);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}

/* Color-specific icon tints */
.tool-chip.php    i { color: #8892b8; }
.tool-chip.js     i { color: #f7df1e; }
.tool-chip.html   i { color: #e34f26; }
.tool-chip.css    i { color: #264de4; }
.tool-chip.mysql  i { color: #00758f; }
.tool-chip.wp     i { color: #21759b; }
.tool-chip.git    i { color: #f05032; }
.tool-chip.figma  i { color: #a259ff; }
.tool-chip.wa     i { color: #25d366; }
.tool-chip.seo    i { color: var(--accent-gold); }
.tool-chip.node   i { color: #3c873a; }
.tool-chip.nginx  i { color: #009900; }

/* ============================================================
   INDUSTRIES / NICHES
   ============================================================ */
.industries-section { padding: var(--section-padding) 0; }

.industries-header { margin-bottom: 52px; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
  transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-slow);
}

.industry-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,123,0,0.22);
  box-shadow: 0 18px 56px rgba(0,0,0,0.38);
}
.industry-card:hover::before { transform: scaleX(1); }

.industry-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
  background: rgba(255,123,0,0.07);
  border: 1px solid rgba(255,123,0,0.14);
  color: var(--accent-orange);
  transition: background var(--t-mid), transform var(--t-mid);
}
.industry-card:hover .industry-icon-wrap {
  background: rgba(255,123,0,0.14);
  transform: scale(1.08);
}

/* Custom icon colours per card */
.industry-card:nth-child(2)  .industry-icon-wrap { color: #f5c518; background: rgba(245,197,24,0.07); border-color: rgba(245,197,24,0.14); }
.industry-card:nth-child(3)  .industry-icon-wrap { color: #7499ff; background: rgba(116,153,255,0.07); border-color: rgba(116,153,255,0.14); }
.industry-card:nth-child(4)  .industry-icon-wrap { color: #2ecc71; background: rgba(46,204,113,0.07); border-color: rgba(46,204,113,0.14); }
.industry-card:nth-child(5)  .industry-icon-wrap { color: #e91e8c; background: rgba(233,30,140,0.07); border-color: rgba(233,30,140,0.14); }
.industry-card:nth-child(6)  .industry-icon-wrap { color: #ff7b00; }
.industry-card:nth-child(7)  .industry-icon-wrap { color: #f5c518; background: rgba(245,197,24,0.07); border-color: rgba(245,197,24,0.14); }
.industry-card:nth-child(8)  .industry-icon-wrap { color: #00c9a7; background: rgba(0,201,167,0.07); border-color: rgba(0,201,167,0.14); }
.industry-card:nth-child(9)  .industry-icon-wrap { color: #7499ff; background: rgba(116,153,255,0.07); border-color: rgba(116,153,255,0.14); }
.industry-card:nth-child(10) .industry-icon-wrap { color: #e91e8c; background: rgba(233,30,140,0.07); border-color: rgba(233,30,140,0.14); }
.industry-card:nth-child(11) .industry-icon-wrap { color: #2ecc71; background: rgba(46,204,113,0.07); border-color: rgba(46,204,113,0.14); }
.industry-card:nth-child(12) .industry-icon-wrap { color: #ff7b00; }

.industry-card h3 {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.industry-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   EXPERIENCE STATS
   ============================================================ */
.exp-section {
  padding: var(--section-padding) 0;
}

.exp-inner {
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 72px);
  background: linear-gradient(140deg, rgba(255,123,0,0.04), transparent 70%);
  position: relative;
  overflow: hidden;
}

.exp-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-orange) 40%, var(--accent-gold) 60%, transparent);
}

.exp-header { max-width: 520px; margin-bottom: 56px; }

.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.exp-stat {
  background: var(--bg-card);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: background var(--t-mid);
}
.exp-stat:hover { background: var(--bg-surface); }

.exp-stat-icon { font-size: 20px; color: var(--accent-orange); opacity: 0.7; }
.exp-stat-num  {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.exp-stat-num.orange { color: var(--accent-orange); }
.exp-stat-num.gold   { color: var(--accent-gold); }
.exp-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================
   SKILLS CTA
   ============================================================ */
.skills-cta {
  padding: var(--section-padding) 0;
  text-align: center;
}
.skills-cta-inner {
  border: 1px solid rgba(255,123,0,0.2);
  border-radius: var(--r-xl);
  padding: clamp(56px, 8vw, 88px) clamp(24px, 6vw, 72px);
  background: linear-gradient(140deg, rgba(255,123,0,0.06), rgba(26,63,168,0.06));
  position: relative; overflow: hidden;
}
.skills-cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 220px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .skillbars-grid { grid-template-columns: 1fr; gap: 36px; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .industries-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
  .industries-grid::-webkit-scrollbar { height: 3px; }
  .industries-grid::-webkit-scrollbar-thumb { background: var(--accent-orange); border-radius: 2px; }
  .industry-card {
    min-width: 172px;
    scroll-snap-align: start;
  }
  .exp-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .exp-stat { padding: 24px 14px; }
}