@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond&display=swap");

* {
  box-sizing: border-box;
  user-select: none;
  scroll-behavior: smooth;
  color: #000;
  background-color: white;
}

a {
  color: #000;
  text-decoration: none;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  color: white;
  background: black;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1rem, 5vw, 5rem);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  color: hsl(0, 0, 80%);
  width: 90vw;
  max-width: 1200px;
}

.section-heading {
  color: #111;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 2rem 0;
  font-size: 1rem;
  text-align: center;
}

header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  width: 100%;
  z-index: 3;
  height: 7em;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(0.66rem, 2vw, 1rem);
  letter-spacing: 0.5em;
}

.clip-text {
  overflow: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px 15px 20px; /* extra right padding for hamburger */
  background-color: #fff;
  position: relative;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
}

.nav-links li {
  width: 100%;
  padding: 10px;
  text-align: center;
}

.nav-links li:hover {
  background-color: #0000000f;
}

.hamburger span {
  transition: all 0.5s ease; /* Adjust duration and easing as needed */
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

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

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

.nav-links li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.hamburger {
  display: block;
  cursor: pointer;
  width: 25px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.hamburger span {
  display: block;
  height: 3px;
  background: black;
  margin-bottom: 4px;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #fff;
  position: fixed;
  top: 60px;
  right: 20px;
  width: 250px;
  height: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.hamburger.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

header.visible,
footer.visible,
.book-feature.visible,
.hamburger.visible {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 1s ease;
}

section {
  height: 100%;
  width: 100%;
  top: 0;
  position: fixed;
  visibility: hidden;

  .outer,
  .inner {
    width: 100%;
    height: 100%;
    overflow-y: hidden;
  }

  .bg {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background: white;
    background-size: cover;
    background-position: center;

    h2 {
      z-index: 2;
    }

    .clip-text {
      overflow: hidden;
    }
  }
}

.bg-white {
  background: white;
}

h2 * {
  will-change: transform;
}

/* Animation */

.first-section {
  opacity: 1;
  visibility: visible;
  position: relative;
  width: 100%;
  height: 200vh; /* Full viewport height */
  overflow: hidden;
  background: white;
}

.first-section .scene {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.sun,
.fish,
.cloud,
.waves {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
}

.sun,
.fish,
.cloud {
  bottom: -100px;
  z-index: 0;
  background: transparent;
}

.sun img {
  max-width: 200px;
  width: 100%;
}

.fish img {
  background: transparent;
  width: 100px;
}

.cloud img {
  max-width: 300px;
  width: 100%;
  background: transparent;
}

.waves {
  background: transparent;
  bottom: 5%;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.wave_inner {
  display: flex;
  justify-content: center;
  position: fixed;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  bottom: 0;
  width: 1100px;
  height: 366.66px;
}

.wave_inner img {
  max-width: 1100px;
  opacity: 0;
}

.waves img {
  max-width: 1100px;
  width: 100%;
  background: transparent;
}

::-webkit-scrollbar {
  display: none;
}

.book-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.book-cover {
  width: 100%;
  border: 1px solid #111;
  padding: 2rem;
  max-width: 400px;
}

.book-cover img {
  max-width: 100%;
  margin-bottom: 1rem;
}

.book-cover h1 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  letter-spacing: 2px;
}

.book-cover h3 {
  color: #c0392b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.author {
  font-weight: bold;
  margin-top: 1rem;
}

.subtitle {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.book-feature {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  background: white;
  font-family: "Helvetica Neue", sans-serif;
  color: #111;
  height: 100vh;
}

.book-price {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 1rem;
  border-radius: 50%;
}

.price-badge {
  border: 1px solid #b13a2f;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #111;
  span {
    text-align: center;
  }
}

.price-badge strong {
  color: #b13a2f;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.reveal {
  position: relative;
  width: 60%;
  max-width: 340px;
  overflow: hidden;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-size: 23% auto;
  background-repeat: repeat-x;
  background-position: left bottom;
  background-image: url(https://sushionmars.instawp.co/wp-content/uploads/2025/05/section-waves-2025.png),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      #ffffff 27%,
      #ffffff 100%
    ) !important;
  z-index: 999; /* Ensures it stays above most elements */
  padding: 20px;
  height: 115px;
}

.slides {
  display: flex;
}

.slide_section img {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: flex-start;
  align-items: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.slide_item {
  min-width: 320px;
  min-height: 320px;
}

.slide_item .description {
  max-width: 600px;
  margin: 1rem auto 2rem;
  font-size: 1rem;
  /* color: #333; */
  position: relative !important;
  padding-top: 20px;
  opacity: 0;
  transition: ease 0.3s all;
  -webkit-transition: ease 1s all;
  -moz-transition: ease 0.3s all;
}

.slide_item:hover .description {
  opacity: 1;
  transition: ease 0.3s all;
  -webkit-transition: ease 1s all;
  -moz-transition: ease 0.3s all;
}

.slide_item img {
  flex: none;
  width: 30vw;
  height: 50vh;
  margin-right: 1rem;
}

.slide_item.first img {
  margin-left: 1rem;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.left-column,
.right-column {
  box-sizing: border-box;
  padding: 20px;
}

.left-column {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.author-image {
  width: 200px;
  height: 200px;
  border: 2px solid #000;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.author-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.author-name {
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.divider {
  width: 1px;
  height: 40px;
  background: #000;
  margin: 20px auto;
}

.author-bio {
  font-size: 14px;
  color: #444;
}

.right-column {
  flex: 2 1 500px;
  max-width: 700px;
}

.preface-title {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.preface-text {
  font-size: 14px;
  color: #333;
  white-space: pre-wrap;
  text-align: left;
  line-height: 16px;
}

.circle-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 27px 0;
}

.circle-link {
  width: 225px;
  height: 203px;
  border: 2px dotted #000;
  border-radius: 50%;
  text-align: center;
  padding: 1.5rem 1rem;
  text-decoration: none;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.circle-link:hover {
  transform: scale(1.05);
}

.circle-link span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.circle-link strong {
  font-size: 1rem;
}
h2 {
  font-weight: 600;
  letter-spacing: 1px;
}

.description {
  max-width: 600px;
  margin: 1rem auto 1rem;
  font-size: 1rem;
  color: #333;
}

.circle-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.circle-item {
  width: 180px;
  height: 180px;
  border: 2px double black;
  border-radius: 50%;
  padding: 1rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.circle-item:hover {
  transform: scale(1.05);
}

.circle-item img {
  max-width: 70%;
  margin: 0 auto 0.5rem;
  height: auto;
  border-radius: 50%;
}

.circle-label {
  font-size: 0.85rem;
  line-height: 1.2;
  margin-top: 0.5rem;
  background: transparent;
}

.circle-label .title {
  font-weight: bold;
}

.circle-label .chat {
  display: none;
  margin-top: 0.2rem;
}

.red {
  color: #a22;
  font-weight: bold;
}

.blue {
  color: #224488;
  font-weight: bold;
}

.sign-in {
  margin-top: 3rem;
}

.sign-in label {
  display: block;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.sign-in input {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 2px solid #000;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .slide_item img {
    flex: none;
    width: 30vw;
    height: 30vh;
    margin-right: 1rem;
  }

  .circle-link {
    width: 120px;
    height: 120px;
    padding: 1rem;
  }

  .circle-link span {
    font-size: 0.65rem;
  }

  .circle-link strong {
    font-size: 10px;
  }
  .circle-item {
    width: 130px;
    height: 130px;
    padding: 0.5rem;
  }

  .circle-item img {
    margin-bottom: 0;
  }

  .circle-label {
    font-size: 10px;
    background: transparent;
  }

  .slide_item {
    min-width: 150px;
    min-height: 150px;
  }

  .book-price {
    visibility: hidden;
  }

  .divider {
    display: none;
  }

  .author-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
  }

  .author-bio {
    line-height: 12px;
  }

  .preface-text {
    line-height: 12px;
  }

  .final-padding {
    padding-top: 25%;
    padding-left: 20px;
    padding-right: 20px;
  }
}
