/* ============================================
   BASE STRUCTURE
============================================ */

body {
  /* background: #19fdf2; */
}

/* ============================================
   PROJECT COVER STYLES
============================================ */

.project-cover {
  display: flex;
  padding: 0rem 6.25rem;
  flex-direction: column;
  align-items: center;
  align-self: stretch;

  border-bottom: 2px solid var(--color-border-primary);
}

.project-cover-contents {
  display: flex;
  height: 48.0625rem;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
  align-self: stretch;
}

.project-cover-contents-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
  flex: 1 0 0;
  align-self: stretch;
}

.project-cover-contents-img {
  flex: 1 0 0;
  align-self: stretch;
  /* background: url(/public/media/images/gallery-snippets/FRAME9.png) lightgray
    50% / cover no-repeat; */
}

.project-cover-contents-info-title {
  /* color: var(--color-text-primary); */
  font-family: var(--font-primary);
  font-size: 3.75rem;
  font-style: normal;
  font-weight: var(--heading-font);
  line-height: normal;
  align-self: stretch;
}

.project-cover-contents-info-description {
  /* color: var(--color-text-primary); */
  font-family: var(--font-primary);
  font-size: 1rem;
  font-style: normal;
  font-weight: var(--subheading-font);
  line-height: normal;
  align-self: stretch;
}

.project-cover-contents-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* ============================================
   TOGGLE / TABS
============================================ */

.project-toggle-margin {
  display: flex;
  width: 100%;
  height: 5rem;
  padding: 0rem 6.25rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  align-self: stretch;
  background: var(--color-bg-primary);
  /* position: fixed; */
  z-index: 100000;
}

.project-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  align-self: stretch;
}

.arrow-shell {
  display: flex;
  padding: 0.625rem;
  align-items: center;
  gap: 0.625rem;
  border-radius: 6.25rem;
  border: 1px solid var(--color-border-white);
}

.arrow {
  width: 1.75rem;
  height: 1.75rem;
  aspect-ratio: 1/1;
  fill: var(--Transparent-Transparent, rgba(255, 255, 255, 0));
  background-blend-mode: multiply;
}

.project-tabs-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1 0 0;
  text-decoration: none;
}

.project-tab,
.project-tab-active {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: var(--subheading-font);
  line-height: 2rem;
  text-align: center;
  text-decoration: none;
}

.project-tab {
  color: var(--color-text-inverse);
}

.project-tab-active,
.project-tab:hover,
.project-tab:active {
  color: var(--color-text-green);
}

/* ============================================
   PROJECT MEDIA (Images / Videos)
============================================ */

.project-video {
  width: 90%;
  align-self: center;
}

.project-img {
  width: 100%;
  align-self: center;
}

#project-img-1,
#project-img-2,
#project-img-3 {
  background: url(<path-to-image>) center / contain no-repeat;
}

/* ============================================
   VIDEO SECTIONS
============================================ */

.video-section {
  width: 100%;
  padding: 2rem 1rem;
}

.video-title {
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-primary);
  font-size: 2rem;
  font-style: normal;
  font-weight: var(--heading-font);
  line-height: normal;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 90%;
  margin: 0 auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  /* border-radius: 10px; */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0px;
}

.single-video-wrapper {
  width: 90%;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.single-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  /* border-radius: 10px; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ============================================
   RESPONSIVE STYLES
============================================ */

/* Tablet: 1024px and below */
@media screen and (max-width: 1024px) {
  .project-toggle-margin {
    padding: 0.4rem 2rem;
    height: auto;
  }

  .project-toggle {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .arrow-shell {
    padding: 0.5rem;
    border: none;
  }

  .project-tabs-section {
    flex-direction: row;
    gap: 0.5rem;
  }

  .project-tab,
  .project-tab-active {
    font-size: 0.6rem;
    line-height: 0.9rem;
    font-weight: var(--body-font);
  }

  .project-cover {
    padding: 0 2rem;
  }

  .project-cover-contents {
    flex-direction: row;
    height: auto;
    gap: 2rem;
  }
  .project-cover-contents-info-title {
    font-size: 1.75rem;
  }
    .project-cover-contents-info-description {
    font-size: 0.8rem;
    line-height: 1rem;
  }
  .project-cover-contents-info {
    gap: 1rem;
    padding: 1.5rem 0rem;
  }

  .project-cover-contents-buttons {
    flex-direction: row;
    gap: 0.75rem;
    width: 100%;
  }
  /* .project-cover-contents-img {
    display: none;
  } */

  .project-img,
  .project-video {
    width: 100%;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .video-title {
    font-size: 1.5rem;
  }
}

/* Mobile: 480px and below */
@media screen and (max-width: 480px) {
  .project-toggle-margin {
    padding: 0.4rem 1rem;
  }
  .project-tabs-section {
    justify-content: center;
  }
  .project-tab,
  .project-tab-active {
    font-size: 0.95rem;
  }
  .project-tab {
    display: none;
  }
  .arrow {
    width: 1.5rem;
    height: 1.5rem;
  }

  .video-title {
    font-size: 1.25rem;
  }

  .project-cover {
    padding: 0 1rem;
  }
  .project-cover-contents-info-title {
    font-size: 1.75rem;
  }
  .project-cover-contents-info-description {
    font-size: 0.6rem;
    line-height: 1rem;
  }
  .project-cover-contents-img {
    display: none;
  }
  .project-cover-contents-buttons {
    flex-direction: row;
  }

  .video-grid,
  .single-video-wrapper {
    width: 100%;
  }
}
