/* ============================================================
   ANGI REINA — Estilos globales
   ============================================================ */

/* === FONT FACE ===
   Descomentá cuando tengas el archivo de Final Six:
   @font-face {
     font-family: 'Final Six';
     src: url('../fonts/FinalSix.woff2') format('woff2');
     font-weight: normal;
     font-style: normal;
   }
*/

/* Fallback tipográfico mientras no está Final Six */
.font-display { font-family: 'Playfair Display', 'Times New Roman', serif; }

/* === RESET BASE === */
html,
body { height: 100%; margin: 0; }

*,
*::before,
*::after { box-sizing: border-box; }

/* === SCROLL BEHAVIOR === */
html { scroll-behavior: smooth; }

/* ============================================================
   ANIMACIONES DE ENTRADA
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays para animaciones encadenadas */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ============================================================
   COMPONENTES
   ============================================================ */

/* --- Cards --- */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  border-color: #9f78ff;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(159, 120, 255, 0.15);
}

/* --- Navigation links (underline animado) --- */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #9f78ff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* --- Timeline dot --- */
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #9f78ff;
  border: 3px solid #FFFEEC;
  box-shadow: 0 0 0 2px #9f78ff;
}

/* ============================================================
   PORTAFOLIO — Grid con overlay
   ============================================================ */
.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.grid-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 19, 37, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.grid-item:hover .overlay {
  opacity: 1;
}

/* ============================================================
   HERO
   ============================================================ */

/* Forma orgánica para el retrato */
.portrait-shape {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

@media (max-width: 768px) {
  .portrait-shape {
    border-radius: 20px;
  }
}

/* ============================================================
   CTA — Pulse glow en botón principal
   ============================================================ */
.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% { box-shadow: 0 0 0 0 rgba(159, 120, 255, 0.3); }
  50%  { box-shadow: 0 0 30px 10px rgba(159, 120, 255, 0.15); }
}
