/* Custom Styles for Mayra Malavé - Professional Communication Portfolio */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --color-primary: #F7B81B;
  --color-primary-hover: #E2A40E;
  --color-primary-light: #FFF8E7;
  --color-dark: #1E2024;
  --color-dark-surface: #26292E;
  --color-gray-bg: #EAEBED;
  --color-card-bg: #FFFFFF;
  --color-text-muted: #6B7280;
  --color-border: #E5E7EB;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-gray-bg);
  color: #1E2024;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Montserrat', sans-serif;
}

.font-mono-code {
  font-family: 'Space Grotesk', sans-serif;
}

/* Template Signature Section Title Box */
.section-title-box {
  display: inline-block;
  border: 2px solid #26292E;
  padding: 0.75rem 3rem;
  letter-spacing: 0.22em;
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  background: transparent;
  color: #1E2024;
  position: relative;
  transition: all 0.3s ease;
}

.section-title-box::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
}

.section-title-box:hover {
  background: #FFFFFF;
  box-shadow: 4px 4px 0px #1E2024;
}

/* Yellow Accent Sidebar Styling */
.sidebar-brand-strip {
  background: linear-gradient(180deg, #F9BE23 0%, #EAA20F 100%);
  box-shadow: inset -2px 0 10px rgba(0, 0, 0, 0.05);
}

/* Nav Item Styling */
.nav-link-item {
  position: relative;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1E2024;
  padding: 0.6rem 0.5rem;
  display: block;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.nav-link-item:hover, .nav-link-item.active {
  color: #000000;
  font-weight: 900;
  transform: translateX(3px);
}

.nav-link-item.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: #1E2024;
  border-radius: 2px;
}

/* Stats Counter Box */
.stat-counter-card {
  background: #1E2024;
  color: #FFFFFF;
  border-radius: 4px;
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-counter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.3);
}

.stat-counter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #CBD5E1;
  font-weight: 700;
}

/* Service Card (What I do) */
.service-feature-card {
  border: 1px solid #E5E7EB;
  background: #FAFAFA;
  border-radius: 6px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.service-feature-card:hover {
  background: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Portfolio Card Hover Effect */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.15);
  border-color: var(--color-primary);
}

.portfolio-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover img {
  transform: scale(1.06);
}

.portfolio-badge {
  background-color: rgba(247, 184, 27, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #111827;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Editorial Card & Badges */
.editorial-card {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #FFFFFF;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.editorial-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.editorial-badge-autoria {
  background-color: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.editorial-badge-coautoria {
  background-color: #E0E7FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

.editorial-badge-traducao {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.editorial-badge-comunitario {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Testimonial Card */
.testimonial-bubble {
  background: #1E2024;
  color: #FFFFFF;
  border-radius: 6px;
  padding: 1.5rem;
  position: relative;
  border-top: 3px solid var(--color-primary);
  transition: all 0.3s ease;
}

.testimonial-bubble:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -8px rgba(0,0,0,0.3);
}

/* Sticky Quick Nav Pill */
.quick-dock {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F1F1;
}
::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Modal styling */
.modal-overlay {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
}

/* Filter Tab active state */
.filter-tab.active {
  background-color: #1E2024;
  color: var(--color-primary);
  border-color: #1E2024;
}

/* Animation utilities */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}
