@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
  padding: 0;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}


:root {
  --color-primario: #EFF1F5;
  --color-secundario: #fe0000;
  --color-terciario: #fe0000;
  --color-oscuro: #222;
  --borde-boton: 10px;

  --color1: #607D8B;
  --color2: #263E52;
  --color3: #EFF1F5;
  --color4: #FFFFFF;

  /* VARIABLES GLOBALES PARA MENU DE NAVEGACIÓN */
  --width: 250px;
  --padding: 10px;
  --bgColor: rgb(52, 52, 52);
  /* opcional */
  --hoverColor: rgb(23, 23, 23);
  --width-collapsed: 50px;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: var(--color4);
  overflow-x: hidden;
}

/* ================================== Estilos para Index ==================================== */

#header {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  height: 60px;
  position: fixed;
  width: 100%;
  z-index: 99;
  color: #FFFFFF;
  padding: 0px 13px 0px 13px;
}

.contenedor-header {
  height: 60px;
}

.btn-header {
  background: var(--color-secundario);
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: var(--borde-boton);
  color: #FFFFFF;
}

/* #inicio{
    padding-top: 60px;
} */
#nosotros {
  padding-top: 60px;
  padding-bottom: 60px;
}

.content-relative {
  position: relative;
}

/* ================================== Estilos para el formulario del libro ==================================== */

#contenedorLibro {
  padding-top: 60px;
}

hr {
  color: #3E5FC9;
}


.carousel-header {
  background: #EEE;
  width: 100%;
}

.carousel-header .carousel-cell {
  width: 100%;
  height: 600px;
  border-radius: 5px;
  overflow: hidden;
}

.carousel-header .carousel-cell img {
  width: 100%;
  height: 100%;
  /* Establece la altura completa del contenedor */
  object-fit: cover;
  /* Mantiene la proporción de la imagen */
  object-position: center;
  /* Centra la imagen */
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0) 80%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
  color: #ffffff;
  z-index: 1;
}

.overlay-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  max-width: 40%;
}

.overlay-subtitle {
  font-size: 1.2rem;
  max-width: 50%;
}


.resumen {
  position: relative;
  z-index: 9;
  margin-top: -50px;
  background-color: #ffffff;
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, .2);
  border-radius: 1rem;
  width: clamp(60%, 700px, 90%);
  height: auto;

  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;

}


.card-resumen p {
  margin-bottom: 0;
}

.card-resumen .num-resumen {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-terciario);
}

@media (max-width: 768px) {
  .overlay-title {
    font-size: 1.5rem;
    max-width: 100%;
  }

  .overlay-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .card-resumen p {
    font-size: 1rem;
  }

  .carousel-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0) 80%);
    justify-content: flex-end;
    text-align: center;
    padding: 0 20px 80px 20px;
  }
}

.enfasis {
  font-weight: bold;
  color: var(--color-secundario)
}

/*? Sección Principales Productos */
.contenedor-productos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.product-card {
  width: 300px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0px;
  text-align: center;
}

.product-card .image-container {
  position: relative;
}

.product-card .image-container img {
  width: 100%;
  border-radius: 15px;
}

/* Seccion servicios */
.item-servicio {
  /* background: radial-gradient(circle, #64001D, #0C2C40);  */
  background: #263E52;
  backdrop-filter: blur(10px);
  border-radius: var(--borde-boton);
  width: 100%;
  height: 60px;
  color: #FFFFFF;
  font-size: 18px;
  align-content: center;
  justify-content: center;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .item-servicio {
    background: #263E52;
    border-radius: var(--borde-boton);
    width: 100%;
    height: 100px;
    color: #FFFFFF;
    font-size: 16px;
    align-content: center;
    justify-content: center;
    margin-bottom: 10px;
  }
}

/*? Sección Contactanos */
.card-contactanos {
  background-color: #ffffff;
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, .1);
  border-radius: 1rem;
}


/*? Sección Principales Clientes */
.carousel-clientes {}

.carousel-clientes .carousel-cell {
  width: 200px;
  height: 200px;
  margin-right: 10px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-clientes .carousel-cell img {
  width: 50%;
  height: auto;
}

/*? Sección Principales Proveedores */
.carousel-proveedores .carousel-cell {
  width: 200px;
  height: 200px;
  margin-right: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-proveedores .carousel-cell img {
  width: 50%;
  height: auto;
}

.parrafo {
  text-align: justify;
}

#descripcion {
  background: #E2EAFC;
  border-radius: 5px;
  border-color: solid #3E5FC9;
  border-top: 1px solid #3E5FC9;
  border-right: 1px solid #3E5FC9;
  border-bottom: 1px solid #3E5FC9;
  border-left: 1px solid #3E5FC9;
}

#footer {
  background: var(--color-primario);
  color: #000000;

}

a {
  text-decoration: none;
  color: #000000;
}

a:hover {
  color: #565353;
}

/* ====================================ESTILOS ADMINISTRADOR ============================================ */
#color_estado {
  width: 40px;
}

#contenedorAdmin {
  padding-top: 60px;
}

/* ====================================ESTILOS LOGIN ============================================ */

#contenedorLogin {
  height: calc(100vh - 60px);
  justify-content: center;
  align-content: center;
}

#formularioLogin {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 50px;

}

#btn_login {
  background: var(--color-secundario);
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 50px;
  padding-right: 50px;
  border-radius: var(--borde-boton);
  color: #ffffff;
}

#btn_login:hover {
  background: #a93535;
  color: #EFF1F5;
}