* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
body {
  font-family: sans-serif;
  background-image: url('../../assets/images/cutting-mat.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}
.folder {
  width: 100%;
  height: 100%;
  position: relative;
}
.folder-bg {
  position: absolute;
  bottom: 0px;
  left: -90px;
  width: auto;
  height: auto;
  z-index: 5;
  transition: opacity 0.3s ease;
}
.folder-bg img {
  width: 75vw;
  height: auto;
  display: block;
}
.folder-bg.hidden {
  display: none;
}
.content {
  position: absolute;
  bottom: 150px;
  left: 0px;
  width: 75%;
  max-width: 900px;
  height: auto;
  display: flex;
  gap: 50px;
  z-index: 15;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Full-width text for pages without portrait */
.content > .text:only-child {
  width: 100%;
  max-width: 100%;
}
.content.hidden {
  display: none;
  opacity: 0;
}
.portrait {
  width: 30%;
  height: auto;
  flex-shrink: 0;
}
.portrait img {
  width: 100%;
  height: auto;
  display: block;
}
.text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
.text h1 {
  font-size: 24pt;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
}
.text p {
  font-size: 12pt;
  line-height: 1.6;
  color: #333;
}
.download-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #02725A;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: fit-content;
}
.download-btn:hover {
  background-color: #004032;
  transform: translateY(-2px);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-block;
  color: #02725A;
  text-decoration: none;
  font-size: 12pt;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 5px 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 25px;
  margin-top: -10px;
}

.social-link {
  display: inline-block;
  color: #02725A;
  text-decoration: none;
  font-size: 12pt;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 5px 0px;
}

.social-link:hover {
  color: #004B3B;
  text-decoration: underline;
}

/* PLAYGROUND 3-COLUMN LAYOUT */
.playground-container {
  width: 100%;
  height: 100vh;
  display: flex;
  gap: 0;
  z-index: 15;
  overflow: hidden;
}

.playground-container.hidden {
  display: none;
}

/* Left Column (Fixed) */
.playground-left {
  width: 125%;
  height: 100%;
  padding: 90px 10px;
  overflow-y: auto;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
}

.playground-left h1 {
  font-size: 28pt;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.playground-left p {
  font-size: 11pt;
  line-height: 1.6;
  color: #333;
}

/* Center Column (Scrolling) */
.playground-center {
  width: 75%;
  height: 100%;
  margin-left: 25%;
  padding: 40px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-content: start;
}

.work-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
      padding: 30px;
}

.work-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;

}

.work-item:nth-child(5) img,
.work-item:nth-child(6) img {
  width: 50%;
}
.work-caption {
  font-size: 14pt;
  font-weight: 600;
  color: #ffff;
  text-align: left;
}
.work-caption2 {
  font-size: 10pt;
  font-weight: 500;
  color: #ffff;
  text-align: left;
  line-height: 0px;
  letter-spacing: 1px;

}

/* Playground 3-Column Layout */
.playground-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 1.5fr 6fr 1.5fr;
  gap: 0;
  z-index: 15;
  overflow: hidden;
}

.playground-left {
  grid-column: 1;
  padding: 290px 1px;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: sticky;
  top: 0;
}

.playground-left h1 {
  font-size: 32pt;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFF;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.playground-left p {
  font-size: 12pt;
  line-height: 1.6;
  color: #FFFF;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.playground-center {
  grid-column: 2;
  padding: 30px 10px;
  height: 100vh;
  width: 45vw;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-item img {
  width: 100%;
  height: auto;
}

.work-caption {
  font-size: 14pt;
  font-weight: 600;
  color: #ffff;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 30px;
  text-align: right;
  z-index: 10;
}

.footer p {
  margin: 0;
  font-size: 10pt;
  color: #FFFF;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.sidebar-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 90px;
  z-index: 25;

}
.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}
.nav-link {
  display: inline-block;
  color: #FFFF;
  text-decoration: none;
  font-size: 12pt;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 5px 0;
  transition: all 0.3s ease;
  cursor: pointer;
}
.nav-link:hover {
  color: #FFBA00;
  text-decoration: none;
}
.nav-link.active {
  font-weight: 1000;
  color: #FFFF;
}
.nav-link.active:hover {
  color: #FFBA00;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 0 3%;
  }
  .folder-bg {
    bottom: 0px;
    left: -60px;
  }
  .folder-bg img {
    width: 100vw;
    height: auto;
  }
  .content {
    bottom: 120px;
    left: 0px;
    width: 90%;
    max-width: 100%;
    flex-direction: column;
    gap: 30px;
  }
  .portrait {
    width: 40%;
    height: auto;
  }
  .text h1 {
    font-size: 18pt;
  }
  .text p {
    font-size: 11pt;
  }
  .sidebar-nav {
    display: none;
  }
}
@media (max-width: 480px) {
  body {
    padding: 0 2%;
  }
  .folder-bg {
    bottom: 0px;
    left: -40px;
  }
  .folder-bg img {
    width: 110vw;
    height: auto;
  }
  .content {
    bottom: 100px;
    left: 5%;
    width: 90%;
    flex-direction: column;
    gap: 20px;
  }
  .portrait {
    width: 50%;
    height: auto;
    margin: 0 auto;
  }
  .text {
    gap: 0.75rem;
  }
  .text h1 {
    font-size: 16pt;
    line-height: 1.2;
  }
  .text p {
    font-size: 10pt;
    line-height: 1.5;
  }
  .download-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    margin-top: 0.75rem;
  }
}