@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Koulen&display=swap');

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

html, body {
  overflow-x: hidden;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 10px;
  background: #f5ecd2;
  color: #3b2a10;
}

body {
  font-size: 1.6rem;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ctext x='0' y='20' font-size='24' fill='%23a67c52'%3E×%3C/text%3E%3C/svg%3E") 16 16, auto;
}

a {
  text-decoration: none;
  color: crimson;
}

p {
  line-height: 1.4;
}

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  scroll-snap-align: start;
}

.hero h1 {
  font-family: 'Koulen', sans-serif;
  font-size: 9rem;
  color: #2e1a00;
  letter-spacing: 0.1rem;
  line-height: 1.2;
  margin-top: 30vh;
  margin-bottom: 1rem;
  z-index: 1;
}

.hero h2 {
  font-family: 'Inria Serif', serif;
  font-size: 2.4rem;
  letter-spacing: 0.6rem;
  color: #8e5a0c;
  margin-bottom: 2rem;
  z-index: 1;
}

.hero h1.fade-in,
.hero h2.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.hero h1.fade-in.visible,
.hero h2.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero h1.fade-in.not-visible,
.hero h2.fade-in.not-visible {
  opacity: 0;
  transform: translateY(50px);
}

.statek {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  /* Fully center horizontally and vertically */
  height: 40vh;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
  animation: floatShip 2s ease-in-out infinite alternate;
  display: block;
  filter: brightness(0) saturate(100%) sepia(60%) hue-rotate(15deg) brightness(0.9);
}

nav {
  position: fixed;
  top: 0;
  width: 100vw;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  font-family: 'Inria Serif', serif;
  background-color: rgba(245,236,210,0.5); 
  backdrop-filter: blur(4px);
  transition: background-color 0.4s ease;
  z-index: 100;
}

nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 3rem;
  padding: 0;
  margin: 0;
  max-width: 1400px;
  width: 100%;
  justify-content: space-evenly;
}

nav ol li a {
  color: #432417;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

nav ol li a:hover {
  color: #a67c52;
}

nav.active {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(245, 236, 210, 0.95);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

nav.active ol {
  flex-direction: column;
  gap: 3rem;
}

nav.active ol li a {
  font-size: 2.4rem;
}

.burger {
  display: none;
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3rem;
  z-index: 1100;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 4px;
  background-color: #3b2a10;
  margin: 6px 0;
  transition: 0.4s;
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transition: 0s;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screen-1,
.screen-2,
.screen-3 {
  height: 100vh;
  height: 100dvh;
  width: 100%;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  z-index: 100;
}

.screen-1 h2 {
  font-family: 'Inria Serif', serif;
  font-size: 10rem;
  color: #7a4a10;
  letter-spacing: 0.2em;
}

.screen-2 h1,
.screen-3 h1 {
  font-family: 'Koulen', sans-serif;
  font-size: 20rem;
  color: #2e1a00;
  letter-spacing: 0.05em;
  animation: fadeInUp 1s ease-in-out;
}

.screen-2 p,
.screen-3 p {
  max-width: 700px;
  font-size: 2.5rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.screen-3 img,
.screen-2 img {
  width: 300px;
  max-height: 30vh;
  object-fit: contain;
}

.section-mermaids,
.selkie,
.atlantyda,
.lemuria,
.kraken,
.leviatan {
  background: none;
}

#footer {
  background-color: #2e1a00;
  color: #f5ecd2;
  font-family: "Hanken Grotesk", sans-serif;
  padding: 3rem 2rem 2rem;
  width: 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 3rem;
  flex-direction: row;
}

.footer-col {
  flex: 1 1 100px;
  min-width: 250px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 2rem;
  margin-top: 0;
  padding-top: 0;
  font-size: 2rem;
  color: #f3e1b6;
}

.footer-col p,
.footer-col a {
  font-size: 1.5rem;
  line-height: 1.5;
  color: #f5ecd2;
}

.footer-col a {
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a img {
  width: 40px;
  margin-right: 1rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-icons a img:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: 4rem;
  padding-top: 1.5rem;
  font-size: 1.4rem;
  color: #c7b497;
}

@media (max-width: 800px) {
  .burger {
    display: block;
  }

  nav:not(.active) {
    display: none;
  }

  .hero h1 {
    font-size: 8rem;
    margin-top: 20vh;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .statek {
    max-height: 30vh;
  }

  .screen-1 h2 {
    font-size: 5rem;
    letter-spacing: 0.1em;
    padding: 0 1rem;
    text-align: center;
  }

  .screen-2 h1,
  .screen-3 h1 {
    font-size: 9rem;
  }

  .atlantyda-wrapper h1 {
    font-size: 7.5rem;
  }
  .screen-2 p,
  .screen-3 p {
    font-size: 2rem;
    padding: 0 1rem;
    text-align: center;
  }


  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .footer-col {
    width: 100%;
    max-width: 500px;
  }

  .social-icons a img {
    margin: 0 0.5rem;
  }

  .section-mermaids {
    display: flex !important;
    flex-direction: column !important;
    text-align: right !important;
    align-items: flex-end !important;
    padding-right: 5vw !important;
  }
  .section-mermaids p {
    text-align: right !important;
  }

  .section-shallow-screen.screen-3 {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    align-items: flex-start !important;
    padding-left: 5vw !important;
  }

  .section-shallow-screen.screen-3 p {
    text-align: left !important;
  }

  .section-civilizations-screen.screen-2 {
    display: flex !important;
    flex-direction: column !important;
    text-align: right !important;
    align-items: flex-end !important;
    padding-right: 2rem !important;
    margin-right: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  .section-civilizations-screen.screen-2 p {
    text-align: right !important;
  }

  .section-civilizations-screen.screen-3 {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    align-items: flex-start !important;
    padding-left: 5vw !important;
  }

  .section-civilizations-screen.screen-3 p {
    text-align: left !important;
  }
}


.decor-mermaid-wrap {
  position: relative;
  width: 100%;
  height: 0;
}
.decor-mermaid-big {
  position: absolute;
  top: -80dvh; 
  left:auto;
  height: 180vh; 
  max-width: none;
  object-fit: contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.section-mermaids {
  position: relative;
  z-index: 2;
  overflow: visible;
  align-items: flex-end;
  text-align: right;
  padding-right: 5vw;
}


.decor-selkie-wrap {
  position: relative;
  width: 100%;
  height: 0;
  z-index: 1;
}



.decor-selkie-right {
  position:absolute;
  top: -100dvh;
  right: 0;
  height: 120vh;
opacity: 0.5;
}

.decor-selkie-left {
  position: absolute;
  left: 0;
  opacity: 0.5;
  height: 120vh;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}


.section-shallow-screen.screen-3 {
  position: relative;
  z-index: 2;
  overflow: visible;
  align-items: flex-start;
  text-align: left;
  padding-left: 5vw;
}

@media (max-width: 800px) {
  .decor-mermaid-big {
    left: -50px;
    top: -60vh;
    height: 150vh;
    opacity: 0.50;
  }
}
#civilizations {
  position: relative;
  z-index: 1;
}

.background-atlantyda {
  width: 100%;
  position: absolute;
  top: 90dvh;
  left: 50%;
  transform: translateX(-50%);
  height: 200vh;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

.background-atlantyda img {
  height: 200vh;
}

.section-civilizations-screen.screen-2 {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding-right: 5vw;
  margin-right: 0;
}

.atlantyda-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.section-civilizations-screen.screen-3 {
  align-items: flex-start;
  text-align: left;
  padding-left: 5vw;
}


a:hover,
button:hover,
.burger:hover {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='12' stroke='%23a67c52' stroke-width='4' fill='none' /%3E%3C/svg%3E") 16 16, auto;
}

a:hover {
  color: #a67c52;
}


.floating-cloud {
  position: absolute;
  top: 10rem;
  left: 4rem;
  width: 400px;
  height: auto;
  opacity: 0.3;
  animation: floatCloud 4s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.mirrored-cloud {
  position: absolute;
  top: 15rem;
  right: 4rem;
  width: 400px;
  height: auto;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1) rotate(-12deg) translateY(0px);
  animation: floatCloudMirrored 4.5s ease-in-out infinite alternate;
}
@keyframes floatCloud {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(20px);
  }
}
@keyframes floatCloudMirrored {
  0% {
    transform: scaleX(-1) rotate(-12deg) translateY(0px);
  }
  100% {
    transform: scaleX(-1) rotate(-12deg) translateY(20px);
  }
}

@media (max-width: 1000px) {
  .mirrored-cloud {
    top: 35%;
    height: 30vh;
    right: -20vh;
    transform: translateX(-50%);
  }
  
  .floating-cloud {
    left: -20vh;
    height: 30vh;
    transform: translateX(-50%);
  }
}




@keyframes floatShip {
  0% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}


html, body {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  height: 100%;
  overflow-y: scroll;
}

.screen-1,
.screen-2,
.screen-3 {
  scroll-snap-align: start;
  height: 100vh;
  height: 100dvh;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.not-visible {
  opacity: 0;
  transform: translateY(50px);
}
#footer {
  scroll-snap-align: start;
}
/* Newsletter styles */
.footer-newsletter {
  margin-top: 0;
  padding-top: 0;
  width: 100%;
  max-width: 500px;
  text-align: left;
  align-self: flex-start;
}

.footer-newsletter h4 {
  font-size: 2rem;
  color: #f3e1b6;
  margin-bottom: 2rem;
  margin-top: 0;
  padding-top: 0;
}

.newsletter-form-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.newsletter-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
}

.newsletter-form input[type="email"] {
  padding: 0.4rem 1rem;
  font-size: 1.6rem;
  border: none;
  border-radius: 20px;
  width: 100%;
  max-width: 300px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.newsletter-form button {
  background-color: #a67c52;
  color: #fff;
  border: none;
  padding: 1.5rem 2rem;
  font-size: 1.6rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background-color: #8a623f;
}
@media (min-width: 800px) {
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: flex-start;
    gap: 3rem;
  }
  .footer-newsletter {
    margin-top: 0;
    padding-top: 0;
    width: 100%;
    max-width: 500px;
    text-align: left;
    align-self: flex-start;
  }
  .newsletter-form-wrapper {
    justify-content: flex-start;
  }
  .newsletter-form button {
    padding: 1.5rem 2rem;
  }

  .section-civilizations-screen.screen-2 h1 {
    font-size: 12vw;
    max-width: 100%;
    word-break: break-word;
    text-align: right;
  }
}