/* style.css */

/* ---------- Font declarations ---------- */
@font-face {
  font-family: 'Noto Sans';
  src: url('/assets/fonts/NotoSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('/assets/fonts/NotoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('/assets/fonts/NotoSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lexend Exa';
  src: url('/assets/fonts/LexendExa-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lexend Exa';
  src: url('/assets/fonts/LexendExa-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset & Base Styles ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  min-height: 100dvh;
  overflow: hidden;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

address {
  font-style: normal;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  color: black;
  text-decoration: none;
}

li {
  list-style: none;
}

/* ---------- Typography ---------- */
h3 {
  font-family: 'Lexend Exa', sans-serif;
  font-weight: 300;
  font-size: 30px;
  margin-bottom: 30px;
}

.lexend {
  font-family: 'Lexend Exa', sans-serif !important;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 87px;
  z-index: 10;
  background: linear-gradient(
    180deg,
    #ffffff 12.5%,
    #f1ff82 42%,
    #f1ff82 62.5%,
    #c1ffc5 72%,
    #96ffff 79%,
    #ffffff 92.5%
  );
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-image {
  width: 100%;
  height: 45px;
  object-fit: contain;
  padding-right: 38px;
  margin-bottom: 10px;
  cursor: pointer;
}

.header-spacer a {
  display: none;
}

.cursor-pointer {
  cursor: pointer;
}

/* ---------- Navigation ---------- */
.menu-hidden {
  transform: translateY(-100%);
}

.menu-image {
  width: 38px;
  height: 20px;
  object-fit: contain;
  margin-bottom: 10px;
  cursor: pointer;
}

.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: fit-content;
  height: 100dvh;
  transition: transform 0.5s ease-in-out;
  z-index: 10;
}

.menu-list {
  position: absolute;
  top: 100px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-item {
  width: 55px;
  height: 55px;
  border-radius: 100%;
  background-color: rgba(150, 255, 255, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-family: 'Lexend Exa', sans-serif;
  font-weight: 300;
  cursor: pointer;
}

/* ---------- Landing Section ---------- */
.landing-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.center-image {
  width: 274px;
  height: 274px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.arrow-image {
  position: absolute;
  width: 60px;
  height: 60px;
  object-fit: contain;
  top: calc(100% + 20px);
  cursor: pointer;
}

/* ---------- Content Section ---------- */
.content-section {
  position: absolute;
  width: 100%;
  height: 100dvh;
  background-color: white;
  top: 0;
  left: 0;
  z-index: 10;
}

.main-content {
  margin-top: 87px; /* Same as header height */
  width: 100%;
  height: calc(100dvh - 87px); /* Viewport height minus header height */
  overflow-y: auto; /* Enable scrolling for main content */
  position: relative;
  padding: 30px;
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 75px;
}

.info-description {
  font-size: 16px;
  line-height: 26px;
}

.contact-info {
  margin-top: 30px;
}

.contact-info a {
  text-decoration: underline;
  margin-left: 24px;
}

/* ---------- Arrow Icons ---------- */
.arrow-icon {
  margin-left: 5px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.hoeyo-arrow {
  width: 15px;
  height: 15px;
}

.article-arrow {
  display: flex;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  margin-top: 40px;
  width: 73px;
  gap: 35px;
}

.arrow-left {
  margin-right: auto;
}

.arrow-right {
  margin-left: auto;
}

/* ---------- Work Page Styles ---------- */

.work-title {
  font-weight: 500;
  margin-bottom: 15px;
}

.work-nav-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px 0;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 15px;
  text-align: left;
  border-bottom: 1px solid black;
}

.work-nav-button:hover {
  color: rgba(0, 0, 0, 0.5);
  font-style: italic;
}

.symbol-wrapper {
  width: calc(100% - 60px);
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.symbol-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto;
}

.work-detail-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.work-detail-section table tr {
  font-size: 16px;
  line-height: 30px;
}

.work-detail-section table tr td:first-child {
  font-weight: 500;
}

.work-detail-section table.sponser tr {
  font-size: 16px;
  line-height: 37px;
}

.work-detail-section table.sponser td {
  min-width: 50px;
}

.work-detail-section table.sponser tr td:first-child {
  font-weight: 400;
}

.work-detail-title {
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 0px;
}

.work-description {
  font-size: 15px;
  line-height: 25px;
}

.gallery-detail p:first-child {
  font-weight: 500;
  width: 100%;
  text-align: center;
}

.poster {
  width: 100%;
  height: auto;
  margin: 0 auto;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
}

.bodytechno-video {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
}

.earfeeders-video {
  width: 100%;
  max-width: 634px;
  height: auto;
  margin: 0 auto;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
}

.review {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.peebeebit-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-bottom: 90px;
}

.peebeebit-photo {
  position: relative;
}

.peebeebit-gallery .peebeebit-photo img:first-child {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.peebeebit-photo-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
  width: 100%;
}

.peebeebit-review {
  padding: 15px 30px 30px 30px;
  position: absolute;
  z-index: 10;
  width: 100%;
  max-width: 293px;
  top: 0;
  left: 0;
}

.bg-yellow {
  background-color: #fdff6d;
}

.bg-green {
  background-color: #c1ffc5;
}

.peebeebit-review p:first-child {
  font-weight: 500;
  font-size: 15px;
  line-height: 30px;
  text-align: left;
}

.peebeebit-review p {
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  text-align: justify;
  padding-top: 10px;
}

.close {
  position: absolute;
  top: 10px;
  right: 16px;
  cursor: pointer;
}

.video-wrapper {
  padding-top: 70px;
}

.video-wrapper iframe {
  border: none;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
}

.video-wrapper p {
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
  margin-top: 20px;
}

.shop-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 30px;
}

.shop-desc {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.product-link {
  font-size: 15px;
  font-weight: 600;
  line-height: 18.75px;
  background-color: #f1ff82;
  padding: 2px;
  width: fit-content;
}

.product-desc {
  font-weight: 400;
  font-size: 15px;
  line-height: 23px;
  padding: 23px 0;
}

.product-image {
  width: 100%;
  height: auto;
  max-width: 500px;
}

.product-image-wrapper {
  display: grid;
  gap: 22px;
}
/* ---------- Utility Classes ---------- */
.hidden {
  display: none;
}

.visible {
  display: block;
}

/* ---------- Animations ---------- */
.slide-in-top {
  animation: slideInTop 300ms linear both;
  transform-origin: top;
}

.smart-animate {
  animation: smartAnimate 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes slideInTop {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes smartAnimate {
  from {
    transform: scale(0.3);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.work-nav-button span {
  display: none;
}

div.sponser {
  display: none;
}

/* ---------- Media Queries ---------- */
@media (min-width: 1439px) {
  .header {
    height: 45px;
    justify-content: space-between;
  }

  .work-title {
    display: none;
  }

  .logo-image {
    width: 100px;
    height: auto;
    margin-top: 10px;
  }

  .center-image {
    width: 424px;
    height: 424px;
  }

  .arrow-image {
    top: 50%;
    left: calc(100% + 20px);
    transform: translateY(-50%);
  }

  .content-section {
    height: 100%;
    width: 100vw;
  }

  .menu-button {
    display: none;
  }

  .header-spacer {
    display: flex;
    gap: 147px;
  }

  .header-spacer a {
    display: block;
    font-size: 15px;
    font-weight: 400;
  }

  .header-spacer a.active {
    color: rgba(0, 0, 0, 0.3);
  }

  .main-content {
    margin-top: 45px; /* Same as header height */
    height: 100dvh;
    padding: 15px 45px;
  }

  h3 {
    font-size: 40px;
    font-weight: 500;
  }

  .info-article {
    display: flex;
    gap: 70px;
  }

  .info-description {
    max-width: 300px;
    padding-top: 10px;
  }

  .contact-info {
    float: right;
  }

  .hoeyo-arrow {
    width: 20px;
    height: 20px;
  }

  .jelly-arrow {
    width: 25px;
    height: 25px;
  }

  .member-jelly {
    margin-left: 265px;
  }

  .member-bom {
    margin-left: 730px;
  }

  .work-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0px;
    overflow: hidden;
  }

  .work-content .work-section {
    padding: 0 44px;
  }

  .work-content h3 {
    display: none;
  }

  .symbol-wrapper {
    position: absolute;
    width: 50%;
    height: 166px;
    left: 0;
    top: 530px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 40px;
    cursor: pointer;
  }

  .symbol-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 0;
  }

  .work-detail-section {
    padding: 15px;
    gap: 30px;
    overflow: auto;
    height: calc(100dvh - 45px);
  }

  .work-detail-section img,
  .work-detail-section div {
    max-width: 630px;
    margin: 0 0;
  }

  .work-description p {
    column-count: 2;
    column-gap: 30px;
    font-size: 16px;
    text-align: justify;
    line-height: 26px;
  }

  .work-nav-button span {
    margin-left: auto;
    display: block;
  }

  .project-content .work-section {
    border: none;
  }
  .project-content .work-detail-section {
    border: none;
  }
  .project-content .symbol-wrapper {
    border: none;
  }

  table.sponser {
    display: none;
  }
  div.sponser {
    display: flex;
    width: 100%;
    border-top: 1px solid black;
    gap: 30px;
    padding: 10px 0;
  }
  div.sponser p:first-child {
    font-weight: 500;
    width: 30px;
    text-align: center;
  }

  .bodytechno-video {
    margin: 0;
  }

  .earfeeders-video {
    margin: 0;
  }

  .peebeebit-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .peebeebit-review {
    top: 50%;
    left: 30%;
    width: 293px;
  }

  .shop-section {
    flex-direction: row-reverse;
  }

  .product-image-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
