
/* ========================================================
   FUENTES HALLOWEEN (Google Fonts)
   ======================================================== */
@import url('https://fonts.googleapis.com/css2?family=Butcherman&family=Creepster&family=Jolly+Lodger&display=swap');

/* Estilo VAMPIRE (Creepster) para ttulos de seccin */
.section-title {
  font-family: 'Creepster', cursive !important;
  letter-spacing: 3px !important;
  font-weight: normal !important;
  font-size: 3.5rem !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Estilo ZOMBIE (Jolly Lodger) para etiquetas (tags) y subttulos */
.section-tag, .hero-moderno-tag {
  font-family: 'Jolly Lodger', cursive !important;
  font-size: 2rem !important;
  letter-spacing: 2px !important;
  color: var(--primary) !important;
}

/* Estilo SPOOKY (Butcherman) para el ttulo principal del Hero */
.hero-moderno-title {
  font-family: 'Butcherman', cursive !important;
  font-size: 5.5rem !important;
  letter-spacing: 4px !important;
  color: #fff !important;
  text-shadow: 0 0 15px rgba(211, 84, 0, 0.8) !important;
}

/* Nombres del equipo con fuente Spooky suave */
.equipo-info h3 {
  font-family: 'Creepster', cursive !important;
  font-size: 2.2rem !important;
  letter-spacing: 2px !important;
  color: var(--primary) !important;
}

.octubre-hide {
  display: none !important;
}
.octubre-overlay {
  background: linear-gradient(to top, rgba(239, 227, 212, 1) 0%, rgba(239, 227, 212, 0) 15%) !important;
}



/* CARRUSEL */
.hero-slider-octubre {
  background-color: #f1e4d3 !important;
}

.hero-dot {
  background: rgba(74, 47, 29, 0.3) !important;
}
.hero-dot:hover {
  background: rgba(74, 47, 29, 0.6) !important;
}
.hero-dot.active {
  background: rgba(74, 47, 29, 1) !important;
}



/* ESCRITORIO Y GENERAL */
.hero-slider-octubre .slide-promo {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: transparent !important;
}

/* SPLIT FOTOS (Lado a lado) */
.hero-slider-octubre .slide-split {
  display: flex !important;
  width: 100%;
  height: 100%;
  background: transparent !important;
}
.hero-slider-octubre .split-half {
  flex: 1;
  height: 100%;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative;
}
/* Separador visual elegante */
.hero-slider-octubre .split-half:first-child {
  border-right: 2px solid #f1e4d3;
}

/* MÓVIL EXCEPCIONES */
@media (max-width: 768px) {
  /* Promos (Horizontales) */
  .hero-slider-octubre .slide-promo {
    background-size: contain !important;
    background-position: center 80px !important;
    background-color: #f1e4d3 !important;
  }
  
  .site-header .logo-mazu {
    font-size: 1.5rem !important;
  }
}

/* ========================================================
   HALLOWEEN UI (Elegancia Oscura y Realismo)
   ======================================================== */

/* Header Oscuro con Glow Sutil */
.site-header {
  background: linear-gradient(180deg, rgba(20, 15, 10, 0.95) 0%, rgba(30, 20, 15, 0.85) 100%) !important;
  border-bottom: 1px solid rgba(211, 84, 0, 0.2) !important;
  box-shadow: 0 4px 20px rgba(211, 84, 0, 0.15) !important;
  backdrop-filter: blur(10px);
}
.site-header, 
.site-header .nav-links a,
.site-header .logo-mazu,
.site-header .logo-sub {
  color: #f1e4d3 !important; /* Texto claro */
}

/* Footer Oscuro */
.site-footer {
  background: linear-gradient(0deg, rgba(15, 10, 5, 1) 0%, rgba(40, 25, 15, 1) 100%) !important;
  color: #f1e4d3 !important;
  border-top: 1px solid rgba(211, 84, 0, 0.2) !important;
  position: relative;
}
.site-footer a, .site-footer p, .site-footer h3 {
  color: #e6ccb8 !important;
}

/* Botones Embrujados (Realismo Neon/Glow) */
.btn-primary, .btn-outline, .hero-moderno-content .btn, .booking-btn {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover, .btn-outline:hover, .hero-moderno-content .btn:hover {
  background-color: #d35400 !important;
  color: #ffffff !important;
  border-color: #d35400 !important;
  /* Multi-layered box-shadow para realismo */
  box-shadow: 0 0 10px rgba(211, 84, 0, 0.4), 
              0 0 20px rgba(211, 84, 0, 0.3), 
              0 0 40px rgba(211, 84, 0, 0.2),
              inset 0 0 10px rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px);
}

/* ANIMACIONES REALISTAS (Caída de hojas) */
@keyframes leafFall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  25% { transform: translate3d(20px, 25vh, 0) rotate(45deg); }
  50% { transform: translate3d(-20px, 50vh, 0) rotate(90deg); }
  75% { transform: translate3d(15px, 75vh, 0) rotate(135deg); opacity: 0.8; }
  100% { transform: translate3d(-10px, 105vh, 0) rotate(180deg); opacity: 0; }
}

.hw-leaf {
  animation-name: leafFall;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-iteration-count: infinite;
}

/* Diferentes tiempos y pesos para realismo */
.hw-leaf-1 { animation-duration: 14s; animation-delay: 0s; }
.hw-leaf-2 { animation-duration: 18s; animation-delay: 2s; }
.hw-leaf-3 { animation-duration: 12s; animation-delay: 5s; }
.hw-leaf-4 { animation-duration: 16s; animation-delay: 7s; }
.hw-leaf-5 { animation-duration: 19s; animation-delay: 3s; }
.hw-leaf-6 { animation-duration: 15s; animation-delay: 9s; }

/* Vuelo de Murciélagos */
@keyframes batSwoop1 {
  0%   { transform: translate3d(0vw, 0, 0) scale(1) rotate(0deg); }
  25%  { transform: translate3d(-30vw, -30px, 0) scale(0.9) rotate(-5deg); }
  50%  { transform: translate3d(-60vw, 15px, 0) scale(1.05) rotate(5deg); }
  75%  { transform: translate3d(-90vw, -10px, 0) scale(0.95) rotate(-5deg); }
  100% { transform: translate3d(-120vw, 0, 0) scale(1) rotate(0deg); }
}

@keyframes batSwoop2 {
  0%   { transform: translate3d(0vw, 0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(60vw, 40px, 0) scale(1.1) rotate(10deg); }
  100% { transform: translate3d(120vw, -15px, 0) scale(1) rotate(0deg); }
}

.hw-bat-1 { animation: batSwoop1 22s cubic-bezier(0.25, 0.1, 0.25, 1) infinite; }
.hw-bat-2 { animation: batSwoop2 28s cubic-bezier(0.25, 0.1, 0.25, 1) infinite; animation-delay: 4s; }

/* Mantener el Gatito en el Footer */
@keyframes catTailSwish {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}
@keyframes catBlink {
  0%, 96%, 100% { transform: scaleY(1); }
  98% { transform: scaleY(0.1); }
}
.cat-tail {
  transform-origin: 30px 85px;
  animation: catTailSwish 6s ease-in-out infinite;
}
.cat-eyes {
  transform-origin: center;
  animation: catBlink 5s infinite;
}

/* CORRECCIÓN DE VUELO DE MURCIÉLAGOS */
@keyframes batSwoop1 {
  0%   { transform: translate3d(0vw, 0, 0) scale(1) rotate(0deg); }
  25%  { transform: translate3d(30vw, -30px, 0) scale(0.9) rotate(5deg); }
  50%  { transform: translate3d(60vw, 15px, 0) scale(1.05) rotate(-5deg); }
  75%  { transform: translate3d(90vw, -10px, 0) scale(0.95) rotate(5deg); }
  100% { transform: translate3d(120vw, 0, 0) scale(1) rotate(0deg); }
}

@keyframes batSwoop2 {
  0%   { transform: translate3d(0vw, 0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(-60vw, 40px, 0) scale(1.1) rotate(-10deg); }
  100% { transform: translate3d(-120vw, -15px, 0) scale(1) rotate(0deg); }
}

/* ========================================================
   CAPA DE REALISMO ATMOSFÉRICO (Cine & Niebla)
   ======================================================== */

/* Ruido Cinematográfico (Film Grain) usando SVG puro como Data URI */
.hw-grain {
  position: absolute;
  inset: -100%; /* Extra grande para no recortarse */
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)" opacity="0.1"/%3E%3C/svg%3E');
  opacity: 0.8;
  mix-blend-mode: overlay;
  z-index: 1;
}

/* Iluminación de Velas (Ambient Glow) */
.hw-candle {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 85%, rgba(211, 84, 0, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 85% 20%, rgba(211, 84, 0, 0.08) 0%, transparent 50%);
  animation: candlePulse 5s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  z-index: 2;
}

@keyframes candlePulse {
  0% { opacity: 0.7; transform: scale(1); }
  30% { opacity: 1; transform: scale(1.02); }
  60% { opacity: 0.6; transform: scale(0.98); }
  100% { opacity: 0.9; transform: scale(1.01); }
}

/* Niebla Volumétrica (Volumetric Fog) */
.hw-fog {
  position: absolute;
  bottom: -20vh;
  width: 250vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(230, 210, 190, 0.05) 0%, transparent 65%);
  filter: blur(50px);
  mix-blend-mode: screen;
  z-index: 3;
}
.hw-fog-1 {
  left: -50vw;
  animation: fogDrift1 35s ease-in-out infinite alternate;
}
.hw-fog-2 {
  left: -10vw;
  bottom: -10vh;
  height: 90vh;
  background: radial-gradient(ellipse at center, rgba(200, 200, 200, 0.04) 0%, transparent 60%);
  animation: fogDrift2 45s ease-in-out infinite alternate-reverse;
}

@keyframes fogDrift1 {
  0% { transform: translateX(0) scale(1); }
  100% { transform: translateX(15vw) scale(1.1); }
}
@keyframes fogDrift2 {
  0% { transform: translateX(0) scale(1.1); }
  100% { transform: translateX(-15vw) scale(1); }
}



/* FANTASMA AMIGABLE */
.hw-ghost {
  position: absolute;
  bottom: -200px;
  left: -10vw;
  width: 120px;
  opacity: 0;
  animation: ghostFloat 35s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
}

@keyframes ghostFloat {
  0% { transform: translate(0, 0) scale(0.8) rotate(-15deg); opacity: 0; }
  15% { opacity: 0.9; }
  50% { transform: translate(80vw, -70vh) scale(1.1) rotate(15deg); opacity: 0.6; }
  85% { opacity: 0.9; }
  100% { transform: translate(130vw, -150vh) scale(1.3) rotate(-10deg); opacity: 0; }
}

.hw-ghost-2 {
  width: 60px; /* Mas pequeno */
  animation: ghostFloat2 40s ease-in-out infinite;
  animation-delay: 8s; /* Sale despues */
}

@keyframes ghostFloat2 {
  0% { transform: translate(110vw, 120vh) scale(0.6) rotate(15deg); opacity: 0; }
  20% { opacity: 0.7; }
  50% { transform: translate(-10vw, 30vh) scale(0.8) rotate(-10deg); opacity: 0.4; }
  80% { opacity: 0.8; }
  100% { transform: translate(-40vw, -20vh) scale(1) rotate(5deg); opacity: 0; }
}

/* ANIMACION REALISTA ERRATICA DE MURCIELAGOS */
.hw-bat-1 {
  animation: batFlight1 12s linear infinite !important;
}
.hw-bat-2 {
  animation: batFlight2 14s linear infinite !important;
  animation-delay: 5s !important;
}

@keyframes batFlight1 {
  0%   { transform: translate(0vw, 5vh) rotate(0deg) scale(0.5); opacity: 0; }
  10%  { transform: translate(15vw, -5vh) rotate(-25deg) scale(0.6); opacity: 0.8; }
  25%  { transform: translate(30vw, 15vh) rotate(15deg) scale(0.7); opacity: 0.9; }
  40%  { transform: translate(45vw, -10vh) rotate(-30deg) scale(0.6); opacity: 0.9; }
  55%  { transform: translate(60vw, 20vh) rotate(20deg) scale(0.8); opacity: 0.9; }
  75%  { transform: translate(85vw, 0vh) rotate(-15deg) scale(0.7); opacity: 0.9; }
  90%  { transform: translate(105vw, 25vh) rotate(25deg) scale(0.6); opacity: 0.8; }
  100% { transform: translate(120vw, 5vh) rotate(0deg) scale(0.5); opacity: 0; }
}

@keyframes batFlight2 {
  0%   { transform: translate(0vw, 20vh) rotate(0deg) scale(0.8); opacity: 0; }
  15%  { transform: translate(-20vw, 45vh) rotate(30deg) scale(0.9); opacity: 0.8; }
  35%  { transform: translate(-45vw, 10vh) rotate(-20deg) scale(0.7); opacity: 0.9; }
  50%  { transform: translate(-60vw, 50vh) rotate(35deg) scale(1.0); opacity: 0.9; }
  70%  { transform: translate(-80vw, 5vh) rotate(-25deg) scale(0.8); opacity: 0.9; }
  85%  { transform: translate(-100vw, 40vh) rotate(15deg) scale(0.9); opacity: 0.8; }
  100% { transform: translate(-120vw, 20vh) rotate(0deg) scale(0.8); opacity: 0; }
}

.hw-bat-3 {
  animation: batFlight1 16s linear infinite !important;
  animation-delay: 2s !important;
  left: -200px;
  top: 30vh;
}
.hw-bat-4 {
  animation: batFlight2 18s linear infinite !important;
  animation-delay: 7s !important;
  right: -200px;
  top: 15vh;
}

.hero-moderno-ctas.octubre-hide { display: none !important; }
.hero-moderno-ctas { display: none !important; }
