body {
  width: 100%;
  margin: 0;
  padding: 0;
  background-image: url("images/Recurso 8.png");
  background-size: cover;                   /* ✅ mantiene tamaño original */
  background-position: center top;         /* ✅ centrado arriba */
  background-attachment: scroll;           /* ✅ se mueve con el contenido */
  color: white;
  background-repeat: no-repeat;
  height: 100vh;
  text-align: center;
  font-family: "fonts/ClearSans-Light.ttf", sans-serif;
}

nav {
  display: flex;
  list-style: none;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-image: url("images/1x/barramenu.png");
  background-size: cover;
  background-position: center;
  z-index: 1000; /* para que esté encima de otros elementos */
  padding: 10px 0; /* opcional, para espacio */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* opcional, para darle profundidad */
}

ul {
  text-align: center;
  display: flex;
  gap: 20px;
  margin: 0;
  list-style: none;
  padding: 0;
}

li {
  text-align: center;
}

a {
  text-decoration: none;
  color: white;
  text-decoration: underline;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 30px;
  background-color: black; /* o lo que uses */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.nav-links {
  padding-top: 12px; /* o prueba con margin-top: 8px */
  list-style: none;
  display: flex;
  cursor: pointer;
  gap: 25px;
}

.nav-links li {
  margin: 10px;
  text-align: center;
}

section {
  color: white;
}

aside {
  color: white;
}

.slider-container {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  margin: auto;
}

.slider {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background-color: #111;
}

.slider-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 10px;
}

.footer {
  color: white;
}

.logo {
  width: 150px; /* Ajusta esto según el tamaño que quieras */
  aspect-ratio: 2590 / 1040; /* proporción real de tu imagen */
  background-image: url("images/qweq.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  text-indent: -9999px; /* para ocultar texto si lo usas como <a>Komba</a> */
  margin-right: 40px; /* 👈 esto acerca el menú al logo controladamente */
}

.contenedor-imagen {
  width: 300px;
  height: 300px;
  overflow: hidden;
}

#mi-imagen {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 5px;
  padding: 10px;
}

canvas {
  border: none;
}

h1 {
  font-family: 'FuenteTitulos', sans-serif;
  padding: 0 0 20px 0;
}

button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  background-image: url("images/Recurso 5.png");
  font-family: "fonts/ClearSans-Light.ttf", sans-serif;
  color: white;
  cursor: pointer;
  background-position: center;
}

button:hover {
  background-image: url("images/Recurso 6.png");
  color: black;
}

@font-face {
  font-family: 'MiFuente';
  src: url("fonts/ClearSans-Light.ttf") format("truetype");
}

@font-face {
  font-family: 'FuenteTitulos';
  src: url("fonts/cc-ultimatum-bold.otf") format("truetype");
}

.texto-declaracion {
  max-width: 90%;
  margin: 40px auto;
  text-align: justify;
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: white;
}

.texto-declaracion p {
  margin-bottom: 20px;
}
.icono {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

.instagram-link,
.facebook-link,
.tiktok-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
section p {
  margin: 2px 0;
}
h1 {
  margin-top: 90px; /* ajusta según la altura de tu menú */
  text-align: center; /* opcional, si quieres centrarlo */
  margin-bottom: 0px;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  animation: flotar 2.5s ease-in-out infinite;
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: latido 1.5s ease-in-out infinite;
}

/* Animación flotante */
@keyframes flotar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Animación de latido (cambia tamaño y opacidad) */
@keyframes latido {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}