* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*-----FONTS-----*/
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2"),
    url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Inter-Light";
  src: url("../fonts/Inter-Light.woff2") format("woff2"),
    url("../fonts/Inter-Light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Inter-Bold";
  src: url("../fonts/Inter-Bold.woff2") format("woff2"),
    url("../fonts/Inter-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Inter-ExtraLight";
  src: url("../fonts/Inter-ExtraLight.woff2") format("woff2"),
    url("../fonts/Inter-ExtraLight.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "LFTEticaSheriff-Regular";
  src: url("../fonts/LFTEticaSheriff-Regular.woff2") format("woff2"),
    url("../fonts/LFTEticaSheriff-Regular.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "LFTEticaSheriff-SemiBd";
  src: url("../fonts/LFTEticaSheriff-SemiBd.woff2") format("woff2"),
    url("../fonts/LFTEticaSheriff-SemiBd.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "LFTEticaSheriff-Bold";
  src: url("../fonts/LFTEticaSheriff-Bold.woff2") format("woff2"),
    url("../fonts/LFTEticaSheriff-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

:root {
  --verde: #1f9562;
  --verde2: #024c36;
  --dorado: #efb810;
  --gris: #8e8e93;
  --max-width: 1200px;

  /* Fuentes */
  --font-title: "LFTEticaSheriff-Bold", serif;
  --font-subtitle1: "LFTEticaSheriff-SemiBd", serif;
  --font-subtitle2: "LFTEticaSheriff-Regular", serif;

  --font-paragraph: "Inter", sans-serif;

  /* Tamaños de fuente */
  --font-size-title: 60px;
  --font-size-subtitle: 35px;
  --font-size-paragraph: 20px;
}

body {
  font-family: "Inter", sans-serif;
}

/*SELECCIÓN DE TEXTO*/
/* Cambiar color de selección de texto */
::selection {
  background: var(--verde);
  color: white;
}

/* Para compatibilidad con Firefox */
::-moz-selection {
  background: var(--verde);
  color: white;
}

/**************************
      BANNER TITULO
***************************/
.banner-titulo {
    width: 100%;
    height: 630px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url('../img/banners/banner-recetas.webp');
    background-size: cover;
    background-position: center;
    position: relative;
}

.custom-shape-divider-bottom-1753727012 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom-1753727012 svg {
  position: relative;
  display: block;
  width: calc(300% + 1.3px);
  height: 251px;
}

.custom-shape-divider-bottom-1753727012 .shape-fill {
  fill: #ffffff;
}

.video-background {
  width: 100%;
  height: 630px;
  margin-top: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  /* border-radius: 0 0 50% 50%; */
  /* border-bottom-right-radius: 30%;
        border-bottom-left-radius: 30%; */
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: 177.77778vh; /* 100 * (16 / 9) */
  /* height: 100vh; */
  height: 56.25vw;
  pointer-events: none; /* para que no bloquee clics */
}

.banner-titulo .image-container {
  position: relative;
  z-index: 1;
}

.banner-titulo .image-container {
  position: relative;
  display: inline-block;
}

.banner-titulo .image-container img {
  max-width: 100%;
  height: auto;
}

.title {
  font-family: var(--font-title);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  font-weight: bold;
  color: white;
  text-align: center;
  white-space: nowrap;
  width: fit-content;
  padding: 10px;
}

/* Ajustes para dispositivos móviles */
@media screen and (max-width: 768px) {
  .banner-titulo {
    height: 258px;
    /* background-image: url('../img/banners/titulo-mobile.png'); */
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .image-container {
    position: relative;
    display: inline-block;
    width: 250px;
  }

  .image-container img {
    content: url("../img/banners/contenedor-titulo2.svg");
    max-width: 100%;
    height: auto;
  }

  .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-weight: bold;
    color: white;
    text-align: center;
    white-space: normal;
    /* Permite que el texto se divida en dos líneas */
    line-height: 1.2;
    max-width: 80%;
  }
}

/**************************
     RECETAS-HOME
***************************/
.recetas-florida {
  /* padding: 40px 20px; */

  /* background-color: var(--verde);
  background-image: url('../img/pattern/olas1.png');*/
  background-repeat: repeat;
  background-size: 419px 335px;
  text-align: center;
}

.titulo-recetas-florida {
  font-family: var(--font-title);
  color: var(--verde);
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 40px;
  transition: transform 0.6s ease;
}

/* .contenedor-recetas-florida {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
} */
.contenedor-recetas-florida {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


.receta-categoria-florida {
  font-family: var(--font-title);
  text-decoration: none;
  color: white;
  text-align: center;
  transition: transform 0.3s ease;
}

.circulo-florida {
  width: 270px;
  height: 270px;
  border: 7px solid var(--dorado);
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
}

.circulo-florida img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.5s ease;
  will-change: transform;
}

.rotate-down {
  transform: rotate(25deg);
}

.rotate-up {
  transform: rotate(-25deg);
}

.receta-categoria-florida span {
  font-family: var(--font-subtitle1);
  color: var(--verde);
  display: block;
  font-size: 30px;
}

.receta-categoria-florida:hover {
  animation: pulse 0.6s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

@media (max-width: 768px) {
  .video-background{
    height: 430px;
  }
  .recetas-florida {
    padding: 40px 20px;
  }
  .contenedor-recetas-florida {
    gap: 20px;
  }

  .custom-shape-divider-bottom-1753727012 svg{
    display: none;
  }
  .banner-titulo {
    overflow: hidden;
  }

  .circulo-florida {
    border: 4px solid var(--dorado);
    width: 80px;
    height: 80px;
  }

  .receta-categoria-florida span {
    font-size: 0.85rem;
  }

  .titulo-recetas-florida {
    font-size: 1.8rem;
  }
}

/**************************
     RECETAS
***************************/
.recetas-todas {
  background: white;
  padding: 60px 20px;
}

.recetas-todas-detalle {
  background: white;
  padding: 130px 20px;
}

.recetas-todas-contenedor {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.recetas-todas-titulo {
  font-family: var(--font-title);
  font-size: 60px;
  color: var(--verde);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.btn-recetas {
  display: inline-block;
  background-color: var(--dorado);
  color: white;
  padding: 10px 25px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 60px;
  transition: background 0.3s;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease 0.2s;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.5rem;
}

.pagination button {
  font-family: var(--font-subtitle1);
  background-color: var(--dorado);
  color: var(--verde);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
}

.pagination button.active {
  background-color: var(--verde);
  color: #fff;
}

.btn-recetas:hover {
  background-color: var(--verde);
  color: white;
}


.grid-recetas {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}

.bloque-receta {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.bloque-receta img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1/1;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.bloque-receta:hover img {
  transform: scale(1.1);
}

.bloque-receta p {
  font-family: var(--font-subtitle1);
  color: var(--verde);
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.2;
  max-width: 270px;
  margin-left: auto;
  margin-right: auto;
}

.bloque-receta p a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}


@media (max-width: 900px) {
  .grid-recetas {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .grid-recetas {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .recetas-todas-titulo {
    font-size: var(--font-size-subtitle);
  }
}

/*RECETAS DETALLE*/
.recetas-detalle-superior {
  background: white;
  padding: 130px 20px;
}

.recetas-detalle-contenedor {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  overflow: hidden;
}

.recetas-detalle-img {
  display: flex;
  justify-content: center;
  flex: 1 1 500px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.img-receta {
  width: 500px;
  height: 500px;
  border: 8px solid var(--dorado);
  border-radius: 50%;
  object-fit: cover;
  transition: transform 1.2s ease-in-out;
}

.recetas-detalle-texto {
  flex: 1 1 500px;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.recetas-detalle-texto h2 {
  font-family: var(--font-title);
  font-size: 60px;
  color: var(--verde);
  margin-bottom: 10px;
}

.recetas-detalle-texto .descripcion {
  font-family: var(--font-subtitle2);
  color: var(--dorado);
  margin-bottom: 15px;
  font-size: 25px;
}

.detalle-tiempo {
  font-family: var(--font-subtitle2);
  font-size: 25px;
  color: var(--gris);
  margin-bottom: 20px;
}

.compartir-titulo {
  font-family: var(--font-title);
  font-size: 25px;
  color: var(--verde);
  margin-bottom: 10px;
}

.redes {
  display: flex;
  gap: 12px;
}

.icono-red {
  width: 45px;
  height: 45px;
  transition: transform 0.3s ease;
}

.icono-red:hover {
  animation: rebote 0.6s ease;
}

@keyframes rebote {
  0% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .recetas-detalle-contenedor {
    margin-top: 100px;
    flex-direction: column;
    text-align: center;
  }

  .img-receta {
    width: 220px;
    height: 220px;
  }

  .redes {
    justify-content: center;
  }
}

/*INGREDIENTES-PREPARACIÓN*/
.ingredientes-preparacion {
  padding: 40px 20px;
  background-color: #fff;
}

.ingredientes-preparacion-contenedor {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 40px;
  border: 2px solid var(--verde);
  border-radius: 12px;
  padding: 40px;
  box-sizing: border-box;
}

.ingredientes-columna,
.preparacion-columna {
  font-family: var(--font-subtitle2);
  box-sizing: border-box;
  color: var(--gris);
  font-size: 18px;
  line-height: 1.6;
}

.ingredientes-columna h3,
.preparacion-columna h3 {
  font-family: var(--font-title);
  color: var(--verde);
  font-weight: bold;
  font-size: 30px;
  margin-bottom: 20px;
}

.ingredientes-columna ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.preparacion-columna ol {
  list-style-type: decimal;
  padding-left: 20px;
  margin: 0;
}

.ingredientes-columna li,
.preparacion-columna li {
  margin-bottom: 10px;
}

.ingredientes-preparacion span {
  color: var(--verde);
  font-family: var(--font-subtitle1);
}

@media (max-width: 768px) {
  .ingredientes-preparacion-contenedor {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
  .recetas-detalle-img {
    flex: none;
  }
  .recetas-detalle-texto h2 {
    font-size: 35px;
  }
  .recetas-detalle-texto .descripcion,
  .detalle-tiempo {
    font-size: 20px;
  }
  .recetas-detalle-texto {
    flex: auto;
  }
  .recetas-detalle-superior {
    padding: 0 20px;
  }
  .ingredientes-preparacion-contenedor h3 {
    font-size: var(--font-size-paragraph);
  }
  .ingredientes-preparacion-contenedor li {
    font-size: 15px;
  }
}

/*VER VIDEO*/
.ver-video-section {
  max-width: 1200px;
  padding: 1rem;
  margin: 0 auto;
  text-align: center;
}

.ver-video-section h2 {
  font-family: var(--font-title);
  font-size: 30px;
  color: var(--verde);
  margin-bottom: 1rem;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 931px;
  aspect-ratio: 931 / 596;
  margin: 0 auto;
}

.video-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.video-thumbnail,
.video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 97%;
  height: auto;
  transform: translate(-50%, calc(-50% + 25px));
  border-radius: 8px;
  aspect-ratio: 902 / 507;
  object-fit: cover;
  z-index: 0;
}

/* Botón Play */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 10%;
  /* Escala automáticamente */
  max-width: 80px;
  min-width: 35px;
  height: auto;
  z-index: 3;
  transition: transform 0.2s ease;
}

.play-button img {
  width: 100%;
  height: auto;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
  .video-thumbnail {
    transform: translate(-50%, calc(-50% + 10px));
  }
}

/*RECETAS-CARRUSEL*/
.new-container-carrucel {
  padding-top: 50px;
  padding-bottom: 50px;
}

.titulo-recetas-carrucel {
  font-family: var(--font-title);
  font-size: 60px;
  color: var(--verde);
  text-align: center;
}

.subtitulo-recetas-carrusel {
  font-family: var(--font-subtitle2);
  text-align: center;
  color: var(--dorado);
  font-size: 25px;
  margin-bottom: 50px;
}

.new-slider-wrapper {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  cursor: grab;
}

.new-card-list {
  display: flex;
  transition: transform 0.5s ease;
}

.new-card-item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.new-image-container {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
}

.new-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-nombre {
  font-family: var(--font-subtitle1);
  font-size: 30px;
  color: var(--verde);
  padding: 8px 20px;
  border-radius: 30px;
  display: inline-block;
}

.new-overlay {
  display: none !important;
}

/* Botón final */
.florida-btn-container {
  text-align: center;
  margin-top: 30px;
}

.florida-btn-dorado {
  font-family: var(--font-subtitle1);
  background-color: var(--dorado);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.florida-btn-dorado:hover {
  background-color: #e6a600;
}

@media screen and (max-width: 1024px) {
  .new-card-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .new-image-container {
    width: 220px;
    height: 220px;
  }

  .new-recipe-name {
    font-size: 16px;
  }
}

@media screen and (max-width: 620px) {
  .new-card-item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .new-image-container {
    width: 200px;
    height: 200px;
    margin: 8px auto;
  }

  .new-recipe-name {
    font-size: 14px;
    padding: 6px 16px;
  }
}

@media screen and (max-width: 768px) {
  .titulo-recetas-carrucel {
    font-size: var(--font-size-subtitle);
  }
  .new-container-carrucel {
    padding: 20px;
  }

  .new-title_carrucel {
    margin-top: 30px;
    font-size: 30px;
    font-weight: bold;
  }

  .new-parrafo_carrucel {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .subtitulo-recetas-carrusel {
    font-size: 16px;
  }
}

/* Olas */
.ola-superior-wrapper,
.ola-inferior-wrapper {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.ola-img {
  display: block;
  width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}
