/* Header */
.main_header {
  position: fixed;
  width: 100%;
  height: auto;
  top: 0;
  background: rgba(255, 255, 255, 0.466);
  backdrop-filter: blur(10px);
  transform: translateX(0%);
  z-index: 1;
  align-items: center;
  justify-content: center;
  animation: slideInDown 1500ms ease-out;

  a {
    position-area: relative;
  }
  img {
    max-width: 45%;
    height: auto;
    display: block;
  }
  .logo {
    transition: var(--transition);
  }

  .logo:hover {
    transform: scale(1.08);
  }
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 2rem;
}

#cao {
  scroll-margin-top: 15rem; /* ajusta según el alto de tu encabezado */
}
#descripsion {
  scroll-margin-top: 5rem; /* ajusta según el alto de tu encabezado */
}

/* General Styles */
body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1500px;
  margin: 0rem auto;
  padding: 0rem 1rem;
}

.product {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0rem 0rem 30px rgba(0, 0, 0, 0.356);
  margin: 6rem 0 2rem 0;
}

.product img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.product-details {
  padding: 2rem;
}

.product-details h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-details p {
  margin-bottom: 1.5rem;
}

.price {
  font-size: 1.6rem;
  color: #2196f3;
  font-weight: bold;
  margin-bottom: 1rem;
}

.btn-buy {
  background-color: #2196f3;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn-buy:hover {
  background-color: #0d8bf2;
}

/* contenedor de de las vistas carac, modulos, Funcionalidades */
.features {
  position: relative;
  background-size: cover;
  background-image: linear-gradient(to bottom, rgba(0, 0, 1, 0.6) 100%),
    url(/assets/imagenes/FondoEscritorio.png);
  background-attachment: fixed;
  background-repeat: no-repeat;
  border-radius: 1rem 1rem 0 0;
  color: #fff;
}
/* Características */
.carrousel {
  max-width: inherit;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: grid;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

.carrousel .cambio {
  display: flex;
  align-items: center;
  justify-self: center;
  border-style: solid;
  border-width: 1px;
  border-color: #e08711;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.carrousel .cambio-part {
  padding-inline: 1rem;
  color: #d37b00;
  transition: all 1s ease;
  cursor: pointer;
}
.carrousel .cambio-part.activo {
  background-color: #e08711;
  color: #fdfdfd;
  font-style: italic;
  border-radius: 1rem;
  animation: floatDelayed 3s ease-in-out infinite;
}

.targets {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.target {
  width: 300px;
  text-decoration: none;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background-color: #ffffffd0;
  color: rgb(0, 0, 0);
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  list-style: none;
}

.target li {
  display: flex;
  align-items: center;
}

#caracteristicas {
  scroll-margin-top: 15rem; /* ajusta según el alto de tu encabezado */
}
#funcionalidades {
  scroll-margin-top: 15rem; /* ajusta según el alto de tu encabezado */
}
#modulos {
  scroll-margin-top: 15rem; /* ajusta según el alto de tu encabezado */
}

/* Funciones */
.functions {
  margin-bottom: 3rem;
}

.functions h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.function-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Testimonios */
.testimonials {
  background-color: #f0f0f0;
  border-radius: 12px;
  padding: 2rem;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.testimonial {
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.testimonial span {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  color: #666;
}

/* Responsive */
@media (min-width: 768px) {
  .product {
    flex-direction: row;
  }

  .product img {
    width: 50%;
  }

  .product-details {
    width: 50%;
  }

  .function-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.container-especifico {
  position: relative;
  width: 1300px;
  height: 1200px;
}

ul.container-especifico li.section-card {
  width: inherit;
  width: inherit;
  position: absolute;
  opacity: 0;
  z-index: 1;
  left: 0;
  top: 1rem;
  transition: opacity 0.4s ease-in-out;
  text-align: center;
}

ul.container-especifico li.section-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

li.section-card {
  height: auto;
}

/* ul.container-especifico li:first-child {
  opacity: 1;
} */
ul.container-especifico li:target {
  opacity: 1;
  z-index: 1;
}
