
/* ========================
   @font-face y Tipografía
======================== */
@font-face {
  font-family: 'Lacartooniere';
  src: url('https://staging.holaedukai.com/wp-content/uploads/2025/06/4443lacartooniere.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* ========================
   Header Scroll y Logo
======================== */
.scroll-menu {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  transition: all 0.4s ease-in-out;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: none;
  padding: 0px 0;
}

.scroll-menu.shrink {
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.scroll-menu img {
  transition: max-height 0.3s ease;
  max-height: 200px;
}

.scroll-menu.shrink img {
  max-height: 40px;
}

/* ========================
   Parallax y Video
======================== */
.bb-parallax-container {
  position: relative;
  height: auto;
  will-change: transform;
}

.bb-parallax-img {
  display: block;
  width: 100%;
  height: 500;
  transform: translateY(0);
  transition: transform 1.21s linear;
}

.parallax-video {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.parallax-video .fl-row-content {
  position: relative;
  z-index: 2;
}

.parallax-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.fl-row-bg-video {
  will-change: transform;
  transform: translateY(0px);
  transition: transform 0.1s ease-out;
}

/* ========================
   Títulos animados
======================== */
.titulo-animado {
  font-size: 3rem;
  font-weight: bold;
  animation: cambioColor 4s infinite;
}

@keyframes cambioColor {
  0% { color: #cdec6c; }
  33% { color: #aa87bc; }
  66% { color: #67cde5; }
  100% { color: #cdec6c; }
}

.titulo-degrade {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(90deg, #172d66, #172d66, #9b7ccf, #aa87bc, #9b7ccf, #172d66, #172d66);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: moverDegrade 8s ease-in-out infinite;
}

@keyframes moverDegrade {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========================
   Entradas animadas
======================== */
.bloque {
  opacity: 0;
  transition: all 0.8s ease-out;
  will-change: transform, opacity;
}

.bloque.arriba {
  transform: translateY(-50px);
}

.bloque.abajo {
  transform: translateY(50px);
}

.bloque.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   Imágenes hover
======================== */
.photo-img {
  transition: all 0.4s ease-in-out;
  border-radius: 8px;
}

.photo-img:hover {
  box-shadow: 0 12px 28px rgba(255, 105, 180, 0.25), 0 6px 14px rgba(0, 0, 0, 0.2);
  filter: brightness(1.05) saturate(1.1);
}

/* ========================
   Botones
======================== */
.boton-gradiente {
  background: linear-gradient(90deg, #172d66, #9b7ccf, #aa87bc);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.4s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.boton-gradiente:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.boton-morado-azul {
  position: relative;
  display: inline-block;
  padding: 12px 42px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(45deg, #9966b6, #9966b6);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.boton-morado-azul::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: left 0.8s ease-in-out;
  z-index: 2;
  pointer-events: none;
}

.boton-morado-azul:hover::before {
  left: 130%;
}

.boton-morado-azul:hover {
  background: linear-gradient(45deg, #2d9fd9, #2d9fd9);
  box-shadow: 0 4px 12px rgba(45, 159, 217, 0.2);
  transform: translateY(-1px);
}
