/* Reset básico */
.clear {clear: both;}

html {scroll-behavior: smooth;}

/*fonts*/
.petit-formal-script-regular {
  font-family: "Petit Formal Script", cursive;
  font-weight: 400;
  font-style: normal;
}

.sora{
  font-family: "Sora", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100 200 300 400 500 600 700 800;
  font-style: normal;
}

.montserrat{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100 200 300 400 500 600 700 800 900;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Sora", sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

html{font-size: 62.5%;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;}


:root {
  --naranja: #eb691e;
  --gris-medio: #808080;
  --gris-claro: #b3b3b3;
  --beige: #eae5e1;
}

/* Contenedor principal */
.main-container {
  width: 90%;
  margin: 40px auto;
  background-color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 8px;
  padding-bottom: 40px;
}


/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

a{text-decoration: none;}

.logo {
  background-image: url(../imgs/optica-veo-logo.png);
  background-repeat: no-repeat;
  width:151px;
  height: auto;
  font-size: 3rem;
  font-weight: bold;
  color: transparent;}


h2 {font-size: 5rem;
    line-height: 5rem;
    font-weight: 200;
    padding: 2rem;}

h3 {font-size: 3rem;
    font-weight: 500;
     color: var(--naranja);}

.menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  font-weight: 300;
  font-size: 2.5rem;
  color: #000;
}

.menu a:hover {
 color: var(--naranja);
}

.redes a {
  margin-left: 10px;
  font-size: 1.2rem;
}

/* Botón hamburguesa */
.burger-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 20px;
}

/* Sección Slider Principal */
.slider-principal {
  position: relative;
  width: 100%;
  height: 60vh;
  background-color: #000;
  overflow: hidden;
}

.slider-principal .slide {
  width: 100%;
  height: 100%;
}

.slider-principal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.texto-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  font-style: italic;
  z-index: 10;
  text-align: center;
}

/* video*/
.slider-video {
  background-color: var(--gris-medio);
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa todo el alto de la pantalla, podés ajustar */
  overflow: hidden;
}
.slider-video-ch {
  background-color: var(--gris-medio);
  position: relative;
  width: 100%;
  height: 40vh; /* ocupa todo el alto de la pantalla, podés ajustar */
  overflow: hidden;
}

.video-fondo {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;  /* para cubrir todo el área manteniendo proporción */
  z-index: 0;
}

.texto-encima {
  position: relative; /* queda sobre el video */
  z-index: 1;
  color: white;
  text-align: center;
  font-size: 2rem;
  padding: 20px;
  top: 50%;
  transform: translateY(-50%)}
/* fin video*/

/* Tres columnas */
.tres-columnas {
  padding: 60px 20px;
  background-color: white;
  text-align: center;
}

.tres-columnas h2{  
font-family: "Petit Formal Script", cursive;
font-weight: bold;
font-size: 3.5rem;
}

.texto-encima h2{  
font-family: "Petit Formal Script", cursive;
 opacity: 0.4;
 font-size: 7.5rem;
}

.tres-columnas h2 span {
  color: var(--naranja);
  font-style: italic;
}

.columnas {
  display: flex;
  margin-top: 40px;
  gap: 66px;
  flex-wrap: wrap; /*permite que las columnas bajen */
  justify-content: center; /* centra horizontalmente */
  align-items: flex-start;
}

.col {flex: 1 1 30%; max-width: 300px;}
.col p{  font-size: 1.5rem;}
.col h3 {font-family: /*"Sora", sans-serif;*/"Petit Formal Script", cursive; font-weight: bold; font-size: 4rem;}
.img-circular {width: 100%; 
  height: auto; 
  margin: 0 auto 20px;
  transition: transform 0.3s ease; /* transicion suave */}

.tres-columnas p {font-size: 1.5rem; line-height: 3rem;}
.img-circular:hover {transform: translateY(-12px); /* sube un poquito */}
.col b {font-family: "Sora", sans-serif; font-weight: bold; font-size: 2.5rem; color: black; }
.col a {color: black; }

.col-prod {flex: 1 1 64%; 
    max-width: 300px;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;}
.col-prod p {font-size: 1.5rem;}
.col-prod h3 {font-family: "Sora", sans-serif; font-weight: 400; font-size: 3rem;line-height: 4rem; }
#recetados , #lentes-contacto, #lentes-sol , #accesorios {text-align: center;}

/*productos*/
.grid-productos {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
  gap: 20px; /* espacio entre productos */
  padding: 10rem;}

.producto {text-align: left;}

.producto h3{font-size: 3rem;
    line-height: 3rem;
    font-weight: 200;
    color: black;}

.producto img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease; /* para el efecto hover */}

.producto img:hover {transform: translateY(-8px); /* pequeño rebote hacia arriba */}

.recetados {padding: 5%;}

.button-prod {display: flex;
    justify-content: center;
    height: 6rem;
    align-items: flex-end;
    padding-bottom: 2rem;}

/* Responsive para tablets y móviles */
@media (max-width: 1024px) {
  .grid-productos {grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */}
}

@media (max-width: 600px) {
  .grid-productos {grid-template-columns: 1fr; /* 1 columna en móviles */}
}
/*FIN productos*/

/* Slider Secundario */
.slider-secundario {
  position: relative;
  height: 300px;
 /* background-color: #ca793a;*/
  overflow: hidden;
}

.slider-secundario .slide-sec {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease-in-out;
}

.slider-secundario img {
  width: 100%;
  height: auto;
}

/* Comentarios */
.comentarios {
  padding: 60px 20px;
  text-align: center;
  background-color: white;
}

.comentarios iframe {
  width: 100%;
  height: 300px;
  border: none;
  margin-top: 30px;
}

/* logos trayectoria */
:root {
  --carrusel-velocidad: 100s!important; /* ajustá según te guste */
}

.trayectoria {
  padding: 6rem 2rem;
  text-align: center;
  background-color: white;
}

.trayectoria p {
  font-size: 2rem;
  font-weight: 600;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
  height: 80px;
  width: 100%;
}

.logo-track {
  display: flex;
  width: calc(200%);
  animation: scroll var(--carrusel-velocidad) linear infinite;
}

.logo-item {
  flex: 0 0 auto;
  padding: 0 10px;
}

.logo-item img {
  width: 151px;
  height: auto;
  max-width: 100%;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/**/

.btn-consulta {
    display: inline-block;
    margin-top: 6rem;
    padding: 1rem 2rem;
    border: 2px solid #333;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-size: 2rem;
}

.btn-consulta:hover {
  border: 2px solid var(--naranja);
  color:var(--naranja);
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 14rem;
  padding: 20px 40px;
  background-color:var(--beige);
}

footer .redes {padding-right: 17rem;}

footer .logo{
  background-image: url(../imgs/optica-veo-logo.png);
  background-repeat: no-repeat;
  width:151px;
  height: 91px;
  font-size: 3rem;
  font-weight: bold;
  color: transparent;}

/* Botón WhatsApp */
/*estilos para boton wssp solo
.whatsapp-fijo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 2rem;
  z-index: 1000;
  text-decoration: none;
}*/

.whatsapp-fijo {
  position: fixed;
  bottom: 20px;
  right: 100px;
  z-index: 1000;
  text-align: right;
}

.btn-wsp {
  background-color: #25d366; /* verde whatsapp */
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.btn-wsp img {
  width: 60%;
  height: 60%;
}

.wsp-menu {
  display: none;
  margin-bottom: 10px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  overflow: hidden;
}

.wsp-menu a {
  display: block;
  padding: 10px 12px;
  color: #333;
  text-decoration: none;
  font-size: 2.1rem;
  font-weight: 500;
  border-bottom: 1px solid #eee;
}

.wsp-menu a:last-child {
  border-bottom: none;
}

.wsp-menu a:hover {
  background-color: #f1f1f1;
}

/* Scroll Top */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;

  border: none;

  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
}

.portada{ width: 100%;
  height: auto; /* height: 100vh 100% del alto de la pantalla */
  object-fit: cover; /* Corta y ajusta la imagen para cubrir sin deformarse */}

.portada  img { width: 100%;     /* Ocupa el 100% del ancho disponible */
  height: auto;    /* Mantiene la proporción original */
  display: block;  /* Elimina espacios blancos debajo de la imagen */}

.preguntas {padding: 8rem;}
.preguntas p{font-size: 2rem; line-height: 1.9rem;}
.preguntas li {border-bottom: 1px var(--gris-medio) solid; padding: 2rem;}
.preguntas li p{font-size: 1.8rem; line-height: 1.9rem;}
.preguntas h3 {font-size: 2.3rem; font-weight: 500; color: var(--naranja);}

.cuerpo {display: flex; flex: 1 1 22%; min-width: 250px;}
.cuerpo p {font-size: 1.8rem;}
.notas li {padding: 4rem; margin-top: 1rem;}
.notas img {width: 100%;}
.notas h2 {
    font-size: 3rem;
    line-height: 3rem;
    font-weight: 200;
    padding: 1rem;}

/* Responsive */
@media (max-width:1024px) {
 .logo{background-image: url(../imgs/optica-veo-logo-mb.png); width: 105px; height:auto;}
 .menu ul {
    flex-direction: column;
    display: none;
    gap: 10px;
    margin-top: 10px;}
  .menu.active ul {display: flex;}
  .burger-btn {
    display: block;
    font-size: 3.5rem;
    margin: 0 20px;
    padding-left: 3rem;}
   .menu {width: 100%;}
   .cuerpo {display: flex; min-width: 250px; flex-direction: column;}
}


@media (max-width: 768px) {
  .columnas {
    flex-direction: column;
    align-items: center;
  }

  .main-container {
    width: 95%;
    padding: 0 10px 40px;
  }
}

@media (max-width:545px) {
 .logo{background-image: url(../imgs/optica-veo-logo.png); width: 151px; height: auto ;}
 header {display: flex; flex-direction: column;}
 header .redes{padding-top: 2rem;}
 .menu.active ul {display: flex; align-items: center;}
 .slider-secundario {position: relative; height: 120px; background-color: #fff; overflow: hidden;}
 footer .logo {background-image: url(../imgs/optica-veo-logo-ch.png); background-repeat: no-repeat; width: 60px; height: auto;}
 h2 {font-size: 4rem; line-height: 5rem; font-weight: 200; padding: 2rem;}
 }
