* {
  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;
}

/* 

Inicion acordion

*/
.accordion-item {
  border-bottom: 2px solid var(--verde);
  margin-bottom: 20px;
}

.accordion-item:last-child {
  margin-bottom: 40px;
}

details {
  cursor: pointer;
}

summary {
  font-family: var(--font-subtitle1);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--verde);
  padding: 10px 0;
  list-style: none;
  position: relative;
  transition: all 0.3s ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: bold;
  color: var(--verde);
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: '-';
  /* transform: translateY(-50%) rotate(45deg); */
}

details[open] summary {
  color: var(--dorado);
}

details[open] .accordion-item {
  border-bottom-color: var(--dorado);
}

.content {
  font-family: var(--font-size-paragraph);
  padding-bottom: 20px;
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/***
        fin acordion
***/


/*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;
}

.nuestra-historia {
  font-family: sans-serif;
  overflow: hidden;
  padding-top: 130px;
}

.container-historia {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  gap: 40px;
  flex-wrap: wrap;
}

.img-atun {
  width: 500px;
  transition: transform 0.5s ease;
}
.img-atun.zoom {
  transform: scale(1.1);
}
.img-atun.shrink {
  transform: scale(0.9);
}

.intro-text {
  max-width: 400px;
  opacity: 1;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.intro-text.show {
  opacity: 1;
  transform: translateX(0);
}

.intro-text h2 span {
  color: #008c4a;
}

.btn-conocenos {
  font-family: "Inter";
  margin-top: 10px;
  background-color: var(--dorado);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.btn-conocenos:hover {
  transform: scale(1.1);
  background-color: var(--verde);
}

.historia-bloque {
  padding: 60px 0;
}

.historia-bloque .container-historia {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.historia-bloque.verde {
  /* background-image: url('../img/pattern/contenedor-verde-historia.svg');*/
  background-color: var(--verde);
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  z-index: 1;
  /* height: 699px;*/
  display: flex;
  align-items: center;

  background-image: url("../img/pattern/pattern-florida.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: cover;
  /* background-image: url(../img/pattern/olas1.png);
  background-size: 419px 335px;
  background-repeat: repeat; */
}

.historia-bloque.blanco {
  background-color: white;
  color: #333;
}

.historia-text {
  font-family: var(--font-subtitle2);
  font-size: 23px;
  max-width: 500px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.historia-text.show {
  opacity: 1;
  transform: translateX(0);
}

.anio {
  font-family: var(--font-title);
  font-size: 72px;
  color: var(--dorado);
  font-weight: bold;
}

.titulo-historia {
  font-family: var(--font-title);
  font-size: 40px;
  color: white;
  margin-top: 5px;
  margin-bottom: 10px;
}

.titulo-historia-verde {
  font-family: var(--font-title);
  font-size: 40px;
  color: var(--verde);
  margin-top: 5px;
  margin-bottom: 10px;
}

.titulo-superior {
  font-family: var(--font-title);
  font-size: 60px;
  line-height: 1;
  color: var(--verde);
  margin-top: 5px;
  margin-bottom: 10px;
}

.parrafo-historia {
  font-family: var(--font-subtitle2);
  font-size: 23px;
  color: white;
}

.parrafo-historia-superior {
  font-family: var(--font-subtitle2);
  font-size: 23px;
  color: var(--gris);
}

.historia-img {
  width: 500px;
  border: 15px solid white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* sombra suave */
  transform: rotate(-5deg);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 1;
}

/* .historia-img.show {
  opacity: 1;
  transform: rotate(-5deg) translateY(-20px);
} */
.historia-img.slide-in-right {
  -webkit-animation: slide-in-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: slide-in-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  transform: rotate(-5deg) translateY(-20px);
}
.historia-img.slide-in-left {
  -webkit-animation: slide-in-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: slide-in-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  opacity: 1;
  transform: rotate(-5deg) translateY(-20px);
}
/* ----------------------------------------------
 * Generated by Animista on 2025-7-3 0:36:17
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-right
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transform: rotate(-5deg) translateY(-20px);
    opacity: 1;
  }
}
@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transform: rotate(-5deg) translateY(-20px);
    opacity: 1;
  }
}

/**
 * ----------------------------------------
 * animation slide-in-left
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);

    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transform: rotate(-5deg) translateY(-20px);
    opacity: 1;
  }
}
@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);

    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transform: rotate(-5deg) translateY(-20px);
    opacity: 1;
  }
}

.historia-text.slide-in-left {
  -webkit-animation: slide-in-left-text 0.5s
    cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-in-left-text 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  opacity: 1;
  transform: none;
}

.historia-text.slide-in-right {
  -webkit-animation: slide-in-right-text 0.5s
    cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-in-right-text 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  opacity: 1;
  transform: none;
}

@-webkit-keyframes slide-in-left-text {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-left-text {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@-webkit-keyframes slide-in-right-text {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-right-text {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .intro,
  .historia-bloque .container-historia {
    flex-direction: column;
    text-align: center;
  }

  .historia-img {
    order: -1;
    transform: rotate(0deg);
  }

  .historia-bloque.verde {
    background-position: center top;
    background-size: cover;
  }

  .historia-img {
    width: 300px;
    border: 8px solid white;
  }

  .anio {
    font-size: 50px;
  }

  .titulo-historia {
    font-size: 35px;
  }

  .titulo-historia-verde {
    font-size: 35px;
  }

  .parrafo-historia {
    font-size: 18px;
  }

  .parrafo-historia-superior {
    font-size: 18px;
  }

  .img-atun {
    width: 300px;
  }
  .intro-text {
    max-width: 100%;
    text-align: center;
    transform: none;
  }
}

/* Olas */
.ola-superior-wrapper,
.ola-inferior-wrapper {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.ola-img {
  display: block;
  width: 100%;
  height: auto;
}
.margin-ola {
  margin-top: 100px;
}
.cont_btn_subir {
  margin-top: 100px;
  text-align: center;
}


html {
  scroll-behavior: smooth;
}
/* RESPONSIVE 
@media (max-width: 768px) {
  .intro-text {
    max-width: 100%;
    text-align: center;
    transform: none;
  }

  /* .img-atun {
    width: 100%;
    max-width: 400px;
  }

  .historia-bloque .container-historia {
    flex-direction: column;
    align-items: center;
  }

  .historia-text {
    text-align: center;
    max-width: 90%;
  } 
} */
