@import url(https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Montserrat:wght@400;800&family=Parisienne&family=Roboto&family=Teko:wght@300&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Rubik+Dirt&display=swap);

/*--variables de texto--*/
:root {
  box-sizing: border-box;
  scroll-behavior: smooth;
  --ff-parisienne: "Parisienne", cursive;
  --ff-montserrat: "Montserrat", sans-serif;
  --ff-lora: "Lora", serif;
  --ff-roboto: "Roboto", sans-serif;
  --ff-rubik-dirt: "Rubik Dirt", cursive;
  --fs-paragraphs: calc(0.8rem + 0.35vw);
  --fs-links-btns: clamp(14px, 1vh, 18px)
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit
}

html {
  scroll-padding-top: 100px
}

body,
html {
  overflow-x: hidden;
  font-family: var(--ff-montserrat);
  box-sizing: border-box;
  font-size: 16px
}

html {
  scroll-behavior: smooth; /* Efecto de desplazamiento suave */
  scroll-padding-top: 80px; /* Ajusta esto si tienes un header fijo */
}

a {
  text-decoration: none
}

ul {
  list-style: none
}

/*--variables de color del texto span--*/
span {
  color: #7c7c7c;
  padding: 0 40px
}

.bloque {
  padding: 30px;
}

.title {
  font-family: var(--ff-montserrat);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

.texto {
  font-family: var(--ff-montserrat);
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.cajafoto {
  display: flex;
  /* Para que el contenedor de las fotos esté en modo flex */
  justify-content: center;
  /* Centra el contenido horizontalmente */
  margin-top: 50px;
}

.foto {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
}

.foto img {
  max-width: 300px; /* Ajusta el tamaño máximo de las imágenes */
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background-color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.foto img:hover {
  transform: scale(1.2);
  z-index: 10;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.foto1 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
}

.foto1 img {
  max-width: 300px; /* Ajusta el tamaño máximo de las imágenes */
  width: 50%;
  height: auto;
  max-height: 300px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background-color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.foto1 img:hover {
  transform: scale(1.2);
  z-index: 10;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.color--whitesmoke {
  background-color: whitesmoke;
}

.color--celeste {
  background-color: #e2f6f8;
}



/*!---------scrollbar------*/
/*este cambia el ancho del scrollbar*/
::-webkit-scrollbar {
  width: 10px;
}

/*este cambia el color del scrollbar*/
::-webkit-scrollbar-thumb {
  background: rgb(152, 152, 152);
  border-radius: 10px;
}


/*!--------Navbar------------*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  background: rgb(0 0 0 / .8);
  backdrop-filter: saturate(180%) blur(10px);
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  z-index: 11;
  color: whitesmoke
}

.logo {
  font-family: var(--ff-rubik-dirt);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .2rem;
  padding: 0 1.2rem;
  font-weight: 300;
  color: #fefcfc
}

span.logo--text {
  padding: 0 !important;
  max-width: 150px;
  display: block
}

.logo--img {
  height: auto !important;
  border: none !important
}

a.logo--link {
  display: flex;
  flex-direction: row;
  gap: 20px
}

.nav-links {
  display: flex;
  align-items: center
}

/*--navbar circulo con letras rojas al seleccionar*/
.nav-links

/*.ctn:hover a*/
  {
  color: #fc036b
}

/*--navbar letras familia y margenes*/
.nav-links li {
  font-family: var(--ff-montserrat);
  margin: 0 15px
}

/*--navbar circulo con letras rojas al seleccionar*/
.nav-links li a {
  color: #fff;
  cursor: pointer
}

.menu-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  width: 30px;
  cursor: pointer;
  display: none
}


/*--social navbar--*/
.socialnav {
  /*width: 960px;*/
  margin: 20px;
}

.socialnav li {
  list-style: none;
}

.socialnav a {
  margin-right: 10px;
  font-size: 40px;
  background-color: transparent;
  border-radius: 50%;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.socialnav a:hover {
  background-color: #fc036b;
}

.socialnav .azul:hover {
  background-color: #2770d0;
}

.socialnav i {
  display: inline;
  text-align: center;
  color: whitesmoke;
}


/*---Animaciones-----*/
/*navbar circulo con letras rojas al seleccionar*/
.cir_border {
  padding: 6px 20px;
  font-weight: 500;
  border: 2px hidden whitesmoke;
  border-radius: 20px;
  margin: 0 -10px;
  text-transform: uppercase;
  font-size: 14px
}

.cir_border:hover {
  color: #fc036b
}


/*navbar circulo alrededor d cada menu*/
.active {
  border: 2px solid whitesmoke;
  border-radius: 20px;
  color: #fc036b;
  cursor: pointer;
}

/*---end animaciones------*/



/*!----------hero-------------*/
.hero {
  position: relative;
  height: 30em;

}

.hero-content {
  font-family: var(--ff-montserrat);
  letter-spacing: .5rem;
  text-transform: uppercase;
  text-align: center;
  padding: 8rem;
  margin-bottom: 15px;
  width: 100%;
  position: absolute;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: rgb(0 0 0 / .6);
  margin-top: 0%;
}

.hero-content h2 {
  font-size: clamp(18px, 5vw, 6rem);
  margin-top: 50px;
}

.hero-fondo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /*Ajuste según necesito mover la foto*/
  z-index: -1;
}
/*---end hero----*/



/*!---Sección descripción página---*/
.descripcion {
  color: #fff;
  /*max-width: 800px;*/
}

.contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
  padding: 20px;
  padding-top: 0%;
  padding-bottom: 0%;
}
/*---end descripción página---*/


/*!---Sección bloques mecanizado---*/
/* Sección bloques mecanizado */
.seccion--bloque {
  padding: 100px;
}

.bloque--title {
  font-family: var(--ff-montserrat);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

.bloque--texto {
  font-family: var(--ff-montserrat);
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.bloque--cajafoto {
  margin-top: 50px;
}

.bloque--foto {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
  justify-content: center;
}

/* Ajustar imágenes sin deformarlas */
.bloque--foto figure {
  position: relative;
  max-width: 400px;
  width: 100%;
  height: 200px; /* ajustes del tamaño de las fotos */
  overflow: hidden;
  transition: transform 0.5s ease-in-out;
  border-radius: 8px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
  background-color: #000000;
  position: relative;
}

.bloque--foto figure:hover {
  transform: scale(1.3);
  z-index: 10;
  box-shadow: 10px 0 10px rgba(0, 0, 0, 0.9);
  background-color: #000000;
  position: relative;
}

.bloque--foto img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantiene la proporción sin deformar */
  border-radius: 8px;
  transition: transform 0.3s ease;
}

/* Texto centrado sobre la imagen */
.bloque--foto figcaption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 10px 20px;
  font-family: var(--ff-montserrat);
  font-size: 1.4rem;
  text-align: center;
  border-radius: 8px;
  font-weight: bold;
}
/*--end bloques mecanizado---*/


/*!------Modal--------*/
.modal {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal.hide {
  opacity: 0;
  visibility: hidden;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px #fff;
  opacity: 0;
  transform: translateY(50px) scale(0.8);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.modal.show .modal-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal.hide .modal-content {
  opacity: 0;
  transform: translateY(50px) scale(0.8);
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
/*---Fin Modal-----*/


/*!---CAMBIO DE FONDO CUANDO SELECCIONA VISTA OSCURA O CLARA---*/
/*cambio color H2 de cada sección al  cambiar dia-noche*/
body {
  background-color: rgb(240, 251, 254);
  color: black;
}

/*cambio color fondo página al cambiar dia-noche*/
body.dark {
  background-color: black;
  color: white;
}

/* Cuando el modo oscuro esté activado */
body.dark .texto {
  color: whitesmoke;
  /* Color blanco en modo oscuro */
}

body.dark .color--celeste{
  background-color: #000000;
}

body.dark .color--whitesmoke {
  background-color: #000000;
}

.checkbox {
  opacity: 0;
  position: absolute;
}

.label {
  width: 48px;
  height: 22px;
  background-color: #111;
  display: flex;
  border-radius: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  position: relative;
  transform: scale(1.5);
}

/*bolita cambio de dia-noche*/
.ball {
  width: 20px;
  height: 18px;
  background-color: white;
  position: absolute;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

.checkbox:checked+.label .ball {
  transform: translateX(24px);
}

/*botón selector dia-noche*/
.fa-moon-o {
  color: white;
}

/*sol selector dia-noche*/
.fa-sun-o {
  color: yellow;
}

/*luna selector dia-noche*/
.color {
  color: white;
}
/*---end-----*/



/*!------------footer--------------------*/
.footer {
  width: 100%;
  min-height: 100px;
  padding: 20px 80px;
  margin: 0;
  background: #222;
  text-align: center;
}

.container-footer {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(3, 1fr);
}

.logo_2_img {
  margin-right: auto;
  max-width: 130px;
}

.logo_2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  max-width: 150px;
  border-radius: 5%;
}

.social {
  width: 360px;
  margin: 30px auto;
}

.social li {
  list-style: none;
}

.social a {
  margin-right: 10px;
  font-size: 35px;
  background-color: transparent;
  border-radius: 50%;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social a:hover {
  background-color: #fc036b;
}

.social i {
  display: inline;
  text-align: center;
  color: whitesmoke;
}



/*!--------Banner de cookies------------*/
/* Estilos para el banner de cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 16px;
  z-index: 1000; /* para que se muestre por encima de otros elementos */
}

.cookie-banner a {
  color: #4CAF50;
  text-decoration: none;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.accept-btn, .reject-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  margin-left: 20px;
  border-radius: 10px;
}

.reject-btn {
  background-color: #f44336; /* Rojo para el botón de rechazar */
}

.accept-btn:hover, .reject-btn:hover {
  opacity: 0.8;
}
