/* Custom overrides for Miguel Machado resume/portfolio */

/* Neon tech-blue accent theme (overrides the template's default pink) */
:root {
  --color-primary: #00d4ff;
  --color-primary-alt: #00d4ffd9;
  --color-primary-2nd: #2e7cff;
  --color-primary-3rd: #7dd3fc;
  --color-primary-4th: #0071ff;
  --color-subtitle: #00d4ff;
  --gradient-box: linear-gradient(to right, #0071ff, #00e5ff);
}

/* Neon glow accents on top of the blue palette */
.logo-text .dot {
  text-shadow: 0 0 8px var(--color-primary), 0 0 18px var(--color-primary-alt);
}

.section-head .section-sub-title,
.section-sub-title {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.55);
}

/* High contrast dark text on light cyan-blue buttons for maximum readability */
.tmp-btn:not(.btn-border),
.tmp-btn.btn-active,
.tmp-btn.btn-border:hover {
  color: #041836 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.45), 0 0 40px rgba(0, 113, 255, 0.25);
}
.tmp-btn:not(.btn-border) .btn-text,
.tmp-btn:not(.btn-border) .btn-icon i,
.tmp-btn.btn-border:hover .btn-text,
.tmp-btn.btn-border:hover .btn-icon i {
  color: #041836 !important;
}
.tmp-btn:not(.btn-border):hover,
.tmp-btn.btn-active:hover {
  color: #020d1f !important;
  box-shadow: 0 0 26px rgba(0, 212, 255, 0.7), 0 0 60px rgba(0, 113, 255, 0.4);
}
.tmp-btn.btn-border:hover {
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.55);
}

.service-card-v1 .service-card-icon {
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.65));
}

.year-of-expariance-wrapper .year-expariance-wrap .year-number,
.counter-card .counter-title {
  text-shadow: 0 0 16px rgba(0, 212, 255, 0.6), 0 0 36px rgba(0, 113, 255, 0.35);
}

.progress-charts .progress .progress-bar {
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.7);
}

.portfolio-placeholder {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}
.portfolio-placeholder i {
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.7));
}

.tmp-arrow-icon-btn:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.social-link a:hover {
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.55);
}

.my-skill-card .card-icon i {
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.5));
}

.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-transform: none;
}
.logo-text .dot {
  color: var(--color-primary);
}
.tmp-sidebar-area .logo-text,
.footer-area .logo-text {
  font-size: 26px;
}

.company-wordmark-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 60px;
}
.company-wordmark {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 20px;
  color: var(--color-gray);
  text-align: center;
  letter-spacing: -0.01em;
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.support-company-logo:hover .company-wordmark {
  opacity: 1;
  color: var(--color-primary);
}

.tmp-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.portfolio-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1b1b1c 70%);
  color: var(--color-white);
}
.portfolio-placeholder i {
  font-size: 42px;
  opacity: 0.9;
}
.portfolio-placeholder span {
  font-family: var(--font-secondary);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: 0.85;
}

.tmp-badge-list span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 14px;
  font-family: var(--font-secondary);
  color: var(--color-gray);
}

/* ==========================================
   Projects Developed Section
   ========================================== */

.project-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 26px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-2nd));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.12), 0 0 0 1px rgba(0, 212, 255, 0.08);
  transform: translateY(-4px);
}
.project-card:hover::before {
  opacity: 1;
}

.project-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.project-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 113, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.project-icon i {
  font-size: 22px;
  color: var(--color-primary);
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.5));
  transition: all 0.3s ease;
}
.project-card:hover .project-icon {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 113, 255, 0.18));
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}
.project-card:hover .project-icon i {
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
}

.project-card-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.project-title {
  font-family: var(--font-secondary);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.35;
  margin: 0;
}

.project-role {
  font-family: var(--font-secondary);
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}
.project-role i {
  font-size: 12px;
}

.project-desc {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.65;
  color: #c4d4e8;
  margin: 0;
  opacity: 0.92;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.project-tags span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 4px 13px;
  font-size: 12px;
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--color-gray);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.project-card:hover .project-tags span {
  border-color: rgba(0, 212, 255, 0.18);
}
.project-tags span.tag-highlight {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 113, 255, 0.12));
  border-color: rgba(0, 212, 255, 0.35);
  color: var(--color-primary);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

@media (max-width: 575px) {
  .project-card {
    padding: 22px 18px;
  }
  .project-title {
    font-size: 16px;
  }
  .project-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
  .project-icon i {
    font-size: 18px;
  }
  .project-tags span {
    font-size: 11px;
    padding: 3px 10px;
  }
  .project-desc {
    font-size: 14.5px;
    line-height: 1.55;
  }
}

/* ==========================================================
   Correção da Barra Azul (.active-bg) na Seção Experiência Aplicada
   ========================================================== */
.services-widget.v1 {
  position: relative !important;
  z-index: 1 !important;
}

.services-widget.v1 .service-item {
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
}

.services-widget.v1 .active-bg {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  border-radius: 16px !important;
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ==========================================================
   Alinhamento de Altura do Card "Anos de Experiência"
   ========================================================== */
.year-of-expariance-wrapper {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

