/*
 Theme Name:   Vetta 25 Theme
 Theme URI:    https://www.vetta-aquatics.com
 Description:  Specific them for Vetta website
 Author:       Aitor Fdz. de Landa
 Author URI:   https://www.daeldigital.com
 Version:      1.0
*/

@charset "utf-8";
/* CSS Document */

body {
  margin: 0;
  background-color: #FFF;
  font-family: "Barlow Condensed", sans-serif;
  display:flex; /* para el footer pegado al bottom */
  height:100vh; /* para el footer pegado al bottom */
  flex-direction:column; /* para el footer pegado al bottom */
}

a {
  color: #000;
}

/* header */

/* Menú */

.menu-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: white;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0));
}

.menu-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
}

.menu-bar .logo img {
  height: 30px;
}

.menu-bar.white .logo img {
  filter: invert(1); /* hace que el SVG quede negro */
}

.menu-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-links a {
  color: white;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.menu-bar.white .menu-links a {
  color: #000;
}

.menu-links a:hover {
  color: #d0b653;
}

 .menu-bar.white .menu-links a:hover {
  color: #a08827;
}

.menu-links ul{
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-links ul {
  list-style: none;   /* quita los marcadores */
  margin: 0;          /* elimina márgenes */
  padding: 0;         /* elimina padding */
}

.menu-links li {
  display: inline-block; /* coloca los li en línea */
  margin: 0;             /* elimina márgenes */
  padding: 0 0px;       /* opcional: espacio horizontal entre ítems */
}



/* Buscador */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.search-toggle img {
  height: 18px;
  width: 18px;
  display: block;
}

.menu-bar.white .search-toggle img {
  filter: invert(0.7); /* hace que el SVG quede negro */
}

.search-input {
  display: none;
  width: 0;
  opacity: 0;
  padding: 5px 10px;
  margin-left: 5px;
  border: none;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
  background: white;
  color: black;
}

.menu-bar.white .search-input {
  background: #e6e6e6;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;       /* tema iphone */
  z-index: 999;             /* tema iphone */
}

.menu-toggle span {
  display: block;
  width: 60%;         /* tema iphone */
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-bar.white .menu-toggle span {
  background: #000;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Fondo base con gradiente y transparencia */
.menu-bar.white{
  background: #fff;
  box-shadow: 0 7px 8px rgba(0,0,0,0.2); /* sombra hacia abajo */
  color: #000;
}

/* Cuando el menú móvil está abierto, fondo más oscuro */
.menu-bar.menu-open {
  /*background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.3));*/
  background: rgba(0,0,0,0.8);
}
.menu-bar.white.menu-open {
  background: #fff;
}

/* Menú móvil en columna y sobre fondo oscuro */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 20;
  /*box-shadow: 0 8px 24px rgba(0,0,0,0.3);*/
}

.menu-bar.white .mobile-menu {
  background: #fff;
  box-shadow: 0 7px 8px rgba(0,0,0,0.2); /* sombra hacia abajo */
}

.mobile-menu a {
  display: block;
  padding: 1em 2em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 24px;
}

.menu-bar.white .mobile-menu a {
  color: #000;
}


.mobile-menu  ul {
  list-style: none;   /* quita los marcadores */
  margin: 0;          /* elimina márgenes */
  padding: 0;         /* elimina padding */
}

.mobile-menu  li {
  margin: 0;             /* elimina márgenes */
  padding: 0 0px;       /* opcional: espacio horizontal entre ítems */
}

/* Lupa alineada y con mismo padding que los enlaces del menú móvil */
.mobile-menu .search-box {
  display: flex;
  align-items: center;
  padding: 1em 2em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu .search-toggle {
  margin-right: 10px;
}

.mobile-menu .search-input {
  width: 100%;
  min-width: 0;
  padding: 5px 10px;
  margin-left: 0;
  font-size: 18px;
}

/* Opcional: ajusta el tamaño del icono lupa en móvil */
.mobile-menu .search-toggle img {
  height: 24px;
  width: 24px;
}

/* Asegura que el menú móvil solo se vea en móvil */
@media (max-width: 900px) {
  .menu-links {
    display: none;
  }
  .mobile-menu {
    display: none; /* Oculto por defecto */
    flex-direction: column;
  }
  .menu-bar.menu-open .mobile-menu {
    display: flex; /* Solo visible cuando el menú está abierto */
  }
  .mobile-menu .search-box {
    margin: 1em 1em;
  }
}

@media (max-width: 920px) {
  .menu-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

/* Fin menú */

/* Fin Header */

/* Inicio main */

main{
	position:relative;
  /* top mismo valor que margin-bottom */
	/* top:80px; */
  /* margin-bottom mismo valor que top */
	margin-bottom:80px;
  /* flex para el footer pegado al bottom */
	flex: auto;
}

/*.main-content{
	max-width:1240px;
	margin:0 auto;
}*/

.fp-scroller{
  overflow:hidden;
}
.two {
  background: green;
}

.section{
  background-size: cover;
  background-position: right;
}

.container{
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* manda el contenido al fondo */
  height: 100vh;   /* fallback clásico */
  height: 100dvh;  /* si el navegador lo soporta, sobreescribe */
}

.slidefooter{
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7));
}

.slidetext{
  padding: 40px 20px;
  max-width:1240px;
  margin: 0 auto;
  color: #fff;
}

.slidetext h2{
  text-transform: uppercase;
  font-weight: 700;
  font-size: 52px;
  margin: 0;
}

.slidetext h3{
  font-weight: 600;
  font-size: 26px;
  margin: 0;
}

.slidetext p{
  font-size: 22px;
  margin: 10px 0;
}

.slidetext a{
  color: #FFF;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 22px;
}

@media only screen and (max-width: 560px) {
  .slidetext{width:calc(100% - 40px);}
  .slidetext h2{font-size: 38px;}
  .slidetext h3{font-size: 26px;}
  .slidetext p, .slidetext a{font-size: 20px;}
}

.container img{
  margin-top: 15px;
}

@media only screen and (max-width: 560px) {
  .section{background-position: 70%;}
}

/* Fin main */

/* Inicio contenido */

/* Inicio familias */

    .families {
      margin: 0;
      height: 100%;
      width: 100%;
      overflow: hidden;
    }

    .container-blocks {
      display: flex;
      flex-direction: row;
      height: 100vh;
      width: 100vw;
    }

    .block {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: white;
      font-size: 2rem;
      text-decoration: none;
      flex-direction: column;
      position: relative;
      background: #94be6c;
      overflow: hidden;
    }


    /* Icono SVG gigante */
    .block::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 80vmax;
      height: 80vmax;
      background: no-repeat center center;
      background-size: contain;
      opacity: 0.15;
      /*transform: translate(-50%, -50%) scale(1) rotate(0deg);*/
      z-index: 0;
      pointer-events: none;
      transition: transform 0.4s ease, filter 0.2s ease;
    }

    /* Diferentes iconos por bloque */
    .block1::before {
      background-image: url("img/i-plant-care.svg"); 
      transform: translate(-45%, -45%) scale(0.5) rotate(0deg); /* posición inicial personalizada */
    }
    .block2::before {
      background-image: url("img/i-water-treatment.svg"); 
      transform: translate(-45%, -58%) scale(0.8) rotate(0deg); /* posición inicial personalizada */
    }
    .block3::before {
      background-image: url("img/i-fish-food.svg"); 
      transform: translate(-50%, -50%) scale(0.7) rotate(0deg); /* posición inicial personalizada */
    }

    /* Hover interactivo */
    /*.block:hover::before {
      transform: translate(-10%, -40%) scale(20) rotate(0deg);
      filter: hue-rotate(45deg);
    }*/

    .block1:hover::before,
    .block1.active::before {
      transform: translate(-10%, -60%) scale(20) rotate(0deg); /* posición final distinta */
    }
    .block2:hover::before,
    .block2.active::before {
      transform: translate(-50%, -80%) scale(20) rotate(0deg); /* posición final distinta */
    }
    .block3:hover::before,
    .block3.active::before {
      transform: translate(-50%, -90%) scale(20) rotate(0deg); /* posición final distinta */
    }

    .block i {
      font-size: 3rem;
      margin-bottom: 10px;
    }

    .block1 { background: #94be6c; } /* rojo */
    .block2 { background: #5b94a5; } /* azul */
    .block3 { background: #d0b653; } /* verde */

    /* Animaciones */
    @keyframes spinZoom {
      0%   { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
      50%  { transform: translate(-50%, -50%) scale(1.1) rotate(10deg); }
      100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    }

    @keyframes colorShift {
      0%   { filter: hue-rotate(0deg); }
      100% { filter: hue-rotate(60deg); }
    }

    /* Icono visible */
    .block img {
      position: relative;
      z-index: 1;
      width: 70px;      /* ajusta tamaño */
      height: auto;
      margin-bottom: 15px;
      filter: brightness(0) invert(1); /* hace que el SVG quede blanco */
      transition: transform 0.4s ease;
    }

    /* Texto */
    .block span {
      position: relative;
      z-index: 1;
      color: white;
      font-weight: 700;
      text-transform: uppercase;
      font-size: 1.8rem;
      transition: transform 0.4s ease;
    }

    /* Coordinación con el hover */
    .block:hover img,
    .block.active img {
      transform: scale(1.3) translateY(-5px);
    }
    .block:hover span,
    .block.active span {
      transform: scale(1.3) translateY(-3px);
    }

    /* En móvil: filas en lugar de columnas */
    @media (max-width: 900px) {
      .container-blocks {
        flex-direction: column;
      }
    }

/* Fin familias */

/* Inicio product lines */

.productline-band {
  width: 100%;
  background-color: #94be6c; /* verde */
  box-shadow: 0 7px 8px rgba(0,0,0,0.2); /* sombra hacia abajo */
  color: white;
  padding: 20px;
  box-sizing: border-box;
  margin: 70px 0 40px 0;
}

.productline-container {
  max-width: 1240px;
  margin: 0 auto;
}

.productline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.productline-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.productline-icon {
  width: 40px;
  height: auto;
}

/* Texto */
.productline-text {
  column-count: 2;
  column-gap: 40px;
}
.productline-text p {
  margin: 0 0 10px 0;
  text-align: justify;
}

.productline-text .productline-highlight {
  font-weight: bold;
  font-size: 1.2rem;
}

/* Móvil */
@media (max-width: 900px) {
  .productline-text {
    column-count: 1;
    position: relative;
    max-height: 80px; /* espacio limitado */
    overflow: hidden;
    transition: max-height 1s ease-in;
  }

  .productline-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(148,190,108,0) 0%, #94be6c 100%);
    transition: opacity 0.3s ease;
  }

  .productline-text .productline-full-text {
    display: block;
    font-size: 0.95rem;
  }

  .productline-text.expanded {
    transition: max-height 1s ease-out; /* más lento al expandir */
    max-height: 700px; /* valor grande para que entre el contenido */
  }

  .productline-text.expanded::after {
    opacity: 0; /* desvanecer degradado */
  }

}

  /* Botón */
  /* Botón oculto por defecto */
  .toggle-text {
    display: none;
  }

  /* En móviles se muestra */
  @media (max-width: 900px) {
  .toggle-text {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
  }

  .toggle-text .arrow {
    transition: transform 0.3s ease;
  }

  .toggle-text.active .arrow {
    transform: rotate(180deg); /* flecha arriba */
  }

}

.product-list {
  max-width: 1240px;
  margin: 10px auto;
  display: grid;
  grid-template-columns: 1fr 1fr; /* dos columnas en PC */
  gap: 60px;
}

.product-list.related_products {
  grid-template-columns: 1fr 1fr 1fr; /* tres columnas en related products */
}

@media (max-width: 900px) {
  .product-list, .product-list.related_products {
    grid-template-columns: 1fr; /* una columna en móvil */
    gap: 0;
  }
}

.product-item {
  display: flex;
  gap: 20px;
  align-items: flex-end; /* alinea el texto a la línea inferior */
  padding: 15px 15px 0 15px;
  box-sizing: border-box;
  border-bottom: solid 1px #999;
}

.product-list a{
  text-decoration: none;
  color: inherit;
}

.product-item h3{
  font-size: 42px;
  margin: 0;
  font-weight: bold;
}

@media (max-width: 900px) {
  .product-item h3{
    font-size: 32px;              /* fallback fijo */
    font-size: clamp(24px, 7vw, 42px); /* navegadores modernos */
  }
}

.product-list.related_products h3{
  font-size: 24px;
}

.product-item p{
  font-size: 24px;
  margin: 0 0 25px 0;
  color: #555;
}

@media (max-width: 900px) {
  .product-item p{
    font-size: 24px;              /* fallback fijo */
    font-size: clamp(12px, 5.5vw, 24px); /* navegadores modernos */
  }
}

.product-list.related_products p{
  font-size: 18px;
  line-height: 18px;
  margin: 0 0 10px 0;
}

.product-list .product-image img {
  width: auto;
  height: 250px;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .product-list .product-image img {
    height: auto;
  }
}

.product-list.related_products img{
  height: 150px;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* fuerza que el contenido crezca hacia arriba */
  flex: 1;
}

/* fin product lines */

/* Inicio productos */

.product-band {
  width: 100%;
  color: #191919;
  padding: 20px;
  box-sizing: border-box;
  margin: 70px 0 40px 0;
}

.product-container {
  max-width: 1240px;
  margin: 0 auto;
}

.product-container h3 {
  font-weight: 700;
  font-size: 28px;
  text-align: center;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.product-title {
  margin: 0;
  font-size: 4rem;
  font-weight: 700;
}

.product-icon {
  width: 40px;
  height: auto;
  filter: invert(0.9);
}

/* Texto */
.product-text {
  column-count: 2;
  column-gap: 40px;
  font-size: 1.25rem;
  text-align: justify;
}
.product-text p {
  margin: 0 0 10px 0;
}

.product-highlight {
  font-size: 2.0rem;
  margin: 0;
  font-weight: 300;
}

/* Contenedor principal: dos columnas y línea inferior */
.product-extra-info {
  display: flex;
  align-items: stretch;            /* ambas columnas con la misma altura */
  gap: 2rem;                       /* separación entre columnas */
  width: 100%;
  padding-bottom: 0;            /* espacio antes de la línea gris */
  border-bottom: 1px solid #ccc;   /* línea gris bajo todo el conjunto */
  box-sizing: border-box;
}

/* Columna de texto (izquierda) */
.product-text {
  flex: 0 0 calc(50% - 1rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;       /* “apoyar” las filas abajo */
  align-items: flex-start;
  box-sizing: border-box;
  padding-bottom: 80px;
}

.product-instructions h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
  font-size: 1.4rem;
}

.product-formats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.product-formats img{
  height: 2rem;
  width: auto;
  margin-bottom: 0.8rem;
}

/* Columna de imagen (derecha) */
.product-image {
  flex: 0 0 calc(50% - 1rem);
  display: flex;
  align-items: flex-end;           /* alinear imagen al fondo */
  justify-content: flex-end;
}

.product-image img {
  width: auto;
  max-width: 100%;
  max-height: 550px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Móvil */
@media (max-width: 900px) {
  .product-title {
    font-size: 3rem;              /* fallback fijo */
    font-size: clamp(24px, 14vw, 48px); /* navegadores modernos */
    line-height: 1.05;
  }

  .product-highlight {
    font-size: 1.5rem;
    font-size: clamp(12px, 7vw, 24px); /* navegadores modernos */
    line-height: 1.05;
  }

  .product-icon {
    position: absolute;
    right: 20px;
    top: 110px;
    max-height: 50px;
  }

  .product-icon .product-icon-plant-care {
    top: 100px;
  }

  img.product-icon{
    max-height: 40px;
  }

  .product-text {
    padding-bottom: 0;
  }

  .product-text.product-main-text {
    column-count: 1;
    position: relative;
    max-height: 100px; /* espacio limitado */
    overflow: hidden;
    transition: max-height 1s ease-in;
    justify-content: flex-start; /* alinea el texto arriba */
    padding-bottom: 0;
    margin-bottom: 12px;
  }

  .product-text.product-main-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(148,190,108,0) 0%, #FFF 100%);
    transition: opacity 0.3s ease;
  }

  .product-text .product-full-text {
    display: block;
    font-size: 0.95rem;
  }

  .product-text.expanded {
    transition: max-height 1s ease-out; /* más lento al expandir */
    max-height: 700px; /* valor grande para que entre el contenido */
    margin-bottom: 0;
  }

  .product-text.expanded::after {
    opacity: 0; /* desvanecer degradado */
  }

  .product-extra-info {
    display: block;
  }

  .product-image {
    display: block;
    width: 75%;
    margin: 20px auto 0 auto;
  }

  .product-instructions p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
  }
  .product-instructions.active p {
    max-height: 500px; /* pon un valor suficiente */
  }
  .product-instructions h3 {
    cursor: pointer;
    text-align: left;
  }

  .product-formats {
    margin: 0;
  }

}

  /* Botón */
  /* Botón oculto por defecto */
  .toggle-text {
    display: none;
  }

  .product-toggle-text{
    background-color: #5b94a5;
    display: none;
  }

  /* En móviles se muestra */
  @media (max-width: 900px) {
    .toggle-text {
      display: flex;
  }
}

  /* En móviles se muestra */
  @media (max-width: 900px) {
    .product-toggle-text {
      display: flex;
  }

  .product-toggle-text {
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
    background: none;
    border: none;
    color: #000;
    font-size: 2rem;
    cursor: pointer;
  }

  .product-toggle-text .arrow {
    transition: transform 0.3s ease;
  }

  .product-toggle-text.active .arrow {
    transform: rotate(180deg); /* flecha arriba */
  }

  .product-toggle-text .arrow img {
    filter: invert(0%) brightness(40%);
  }

}

/* Fin productos */

/* Inicio contenido común */

img.fullcolor{
  filter: none !important;
}

#fp-nav.claro ul li a span, 
.fp-slidesNav ul li a span{
  background: #000 !important;
}

#fp-nav.oscuro ul li a span, 
.fp-slidesNav ul li a span{
  background: #FFF !important;
}

#fp-nav.mixtoblanco ul li a span, 
.fp-slidesNav ul li a span{
  background: #FFF !important;
  border: solid 1px #000;
}

#fp-nav.mixtonegro ul li a span, 
.fp-slidesNav ul li a span{
  background: #000 !important;
  border: solid 1px #FFF;
}

/*#fp-nav ul li a span, .fp-slidesNav ul li a span{
  background: red !important;
}*/

/* Fin contenido común */

/* Fin contenido */

/* Inicio footer */

footer{
	bottom:2vh; /* para el footer pegado al bottom */
	padding:20px 20px 40px 20px;
	margin-top: 30px;
}

.footer-container{
	max-width:1240px;
	margin:0 auto;
}


/* Fin footer */

