/* Estilos generales */
body {
  background-color: #1a1a1a;
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}
/* Hero principal con la foto del gato */
.hero {
  background: url('gato-enjaulao.jpg') center/cover no-repeat;
  height: 100vh;
  position: relative;
  display: flex;              /* activa flexbox */
  flex-direction: column;     /* organiza en columna */
  justify-content: flex-start;/* alinea arriba */
  align-items: center;        /* centrado horizontal */
  padding-top: 40px;          /* espacio desde arriba */
  text-align: center;
}

/* Título principal en negro */
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #000; /* negro */
  text-shadow: 2px 2px 6px #242222; /* sombra clara para contraste */
  margin: 0; /* elimina márgenes extra */
}
@media (max-width: 576px) {
  .hero {
    padding-top: 20px; /* menos espacio en móvil */
  }
}

@media (min-width: 992px) {
  .hero {
    padding-top: 60px; /* más espacio en escritorio */
  }
}

/* Subtítulo */
.hero h2 {
  font-size: 1.5rem;
  color: #666;
}

/* Logo flotante CMF */
.logo {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  font-weight: bold;
  color: #3d3c3c;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  z-index: 1000;
  transition: transform 0.3s ease, background 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.8);
}

/* Banner intermedio CMF sobrio y angosto */
.banner-funk {
  background: linear-gradient(135deg, #444, #222);
  padding: 20px 10px; /* más angosto */
  text-align: center;
  border-top: 2px solid #888;   /* línea metálica superior */
  border-bottom: 2px solid #888; /* línea metálica inferior */
}

/* Textos del banner estáticos */
.banner-funk h1.funk-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #e0e0e0;
  text-shadow: 2px 2px 6px #000;
  font-family: 'Trebuchet MS', sans-serif;
  letter-spacing: 2px;
  display: inline-block;
}

.banner-funk h3.funk-subtitle {
  font-size: 1.5rem;
  font-weight: normal;
  color: #d0d0d0;
  text-shadow: 1px 1px 4px #000;
  font-family: 'Trebuchet MS', sans-serif;
  letter-spacing: 1px;
  display: inline-block;
  margin-top: 10px;
}

/* Animación rebote lento */
@keyframes reboteLento {
  0%   { transform: translateY(0) scale(1); }
  30%  { transform: translateY(-20px) scale(1.05); }
  50%  { transform: translateY(0) scale(0.97); }
  70%  { transform: translateY(-10px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}

/* Animación de sombras ondeadas tipo waves */
@keyframes sombrasOndeadas {
  0% {
    text-shadow: 2px 2px 6px #000, -2px -2px 6px #666;
  }
  25% {
    text-shadow: -2px 2px 8px #444, 2px -2px 8px #222;
  }
  50% {
    text-shadow: 2px -2px 10px #666, -2px 2px 10px #333;
  }
  75% {
    text-shadow: -2px -2px 8px #222, 2px 2px 8px #555;
  }
  100% {
    text-shadow: 2px 2px 6px #000, -2px -2px 6px #666;
  }
}

/* Fondo extendido con la foto fondo-bajo con efecto parallax */
.background-knob {
  background: url('fondo-bajo.jpg') center/cover no-repeat;
  background-attachment: fixed; /* clave para parallax */
  position: relative;
}

.background-knob::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6); /* oscurece la foto */
  z-index: 0;
}

.background-knob section {
  position: relative;
  z-index: 1;
}

/* Secciones generales */
section {
  padding: 60px 20px;
}

/* Títulos de secciones con rebote lento + sombras ondeadas */
section h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #f0f0f0;
  text-shadow: 2px 2px 6px #000;
  animation: reboteLento 5s infinite ease-in-out, sombrasOndeadas 7s infinite ease-in-out;
}
.social-boxes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Casillas base */
.box {
  background-color: #222; /* sobrio */
  color: #f5f5f5;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* Efecto al pasar el cursor */
.box:hover {
  transform: translateY(-8px) scale(1.05);
  animation: reboteSuave 0.6s ease;
}

/* Animación de rebote */
@keyframes reboteSuave {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Colores específicos por plataforma */
.correo:hover {
  background-color: #0078D4; /* azul sobrio tipo Outlook */
}

.youtube:hover {
  background-color: #CC0000; /* rojo elegante */
}

.spotify:hover {
  background-color: #1DB954; /* verde característico */
}
/* Párrafo antes del footer */
.mensaje-footer {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ff1a1a; /* rojo vibrante */
  opacity: 0;     /* invisible al inicio */
  animation: fadeIn 2s ease forwards; /* animación */
  text-align: center;
  margin-bottom: 20px;
}

/* Animación fade-in */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* Footer general */
footer {
  background-color: #111;
  color: #f5f5f5;
  padding: 20px;
  display: flex;
  justify-content: center; /* centrado */
  align-items: center;
  font-size: 0.9rem;
}

/* Logo giratorio centrado */
.footer-logo-rotating img {
  width: 200px;   /* grande y destacado */
  height: auto;
  animation: girarIzquierda 8s linear infinite;
  filter: drop-shadow(0 0 2px #00bfff); /* brillo muy suave */
}

@keyframes girarIzquierda {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* Texto copyright */
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 10px;
}




















