/* General */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #1a1a1a;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}

/* Cabecera */
.header {
  width: 100%;
  background-color: #121212;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.logo img {
  max-height: 50px;
}

.menu {
  position: relative;
}

.menu-toggle {
  display: none; /* Solo visible en pantallas pequeñas */
  background: none;
  border: none;
  color: #f0f0f0;
  font-size: 24px;
  cursor: pointer;
}

.menu-items {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu-items li {
  margin: 0 10px;
}

.menu-items li a {
  text-decoration: none;
  color: #f0f0f0;
  font-weight: bold;
  transition: color 0.3s;
}

.menu-items li a:hover {
  color: #00bcd4;
}

/* Carrusel */
.carousel {
  position: relative;
  width: 80%;
  height: 800px;
  perspective: 1200px; /* Perspectiva 3D */
  overflow: hidden;
  margin-top: -200px;
}

.carousel-track {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  transform-style: preserve-3d; /* Asegura el efecto 3D */
}

.carousel-item {
  position: absolute;
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  opacity: 0.6;
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease;
}

.carousel-item.center {
  transform: translateZ(300px) scale(1.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.carousel-item.left {
  transform: translateX(-220px) translateZ(100px) scale(0.9);
}

.carousel-item.right {
  transform: translateX(220px) translateZ(100px) scale(0.9);
}

.carousel-item.far-left {
  transform: translateX(-440px) scale(0.7);
}

.carousel-item.far-right {
  transform: translateX(440px) scale(0.7);
}

/* Media Queries */
@media (max-width: 768px) {
  .menu-items {
    display: none;
    flex-direction: column;
    background-color: #121212;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    z-index: 15;
  }

  .menu-items.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  /* Mantener perspectiva y escalas en móviles */
  .carousel {
    height: 450px;
    perspective: 800px; /* Perspectiva ajustada para móviles */
    margin-top: -70px;
  }

  .carousel-item {
    width: 150px;
    height: 200px;
  }

  .carousel-item.center {
    transform: translateZ(200px) scale(1.2); /* Asegurar efecto frontal */
  }

  .carousel-item.left {
    transform: translateX(-180px) translateZ(50px) scale(0.9);
  }

  .carousel-item.right {
    transform: translateX(180px) translateZ(50px) scale(0.9);
  }

  .carousel-item.far-left {
    transform: translateX(-360px) scale(0.7);
  }

  .carousel-item.far-right {
    transform: translateX(360px) scale(0.7);
  }
}

/* para politicas privacidad*/

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  color: #000000;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #007BFF;
  text-align: center;
}

h2 {
  color: #0056b3;
}

ul {
  list-style: disc;
  margin-left: 20px;
}

a {
  color: #007BFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
/* Contenedor principal para que el contenido crezca y el footer quede abajo */
.footer {
  background: #222; /* Color de fondo */
  color: white; /* Color del texto */
  text-align: center; /* Centrar el texto */
  padding: 15px 20px; /* Espaciado interno */
  font-size: 14px;
  position: relative; /* Se mantiene al final del contenido */
  bottom: 0;
  width: 100%;
}
/* Para asegurarse de que el footer siempre esté abajo en pantallas con poco contenido */
.footer {
  position: sticky;
  top: 100vh;
}

.image-description {
  text-align: center;
  margin-top: 15px;
  font-size: 18px;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 5px;
  width: 80%;
  max-width: 500px;
  display: block; /* Asegurar que sea visible */
}
