/* ========= GENERAL RESET ========= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #FFF8F0;
  font-family: 'Patrick Hand', sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "loos-normal", sans-serif;
  font-weight: 200;
  font-style: normal;
}

/* ========= HEADER ========= */
header {
  padding: 1.5em 0;
  text-align: center;
  font-family: "loos-normal", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.nav-btn {
  background-color: #C9B7F1;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  margin: 0 0.5em;
  padding: 0.6em 1.2em;
  border-radius: 20px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-btn:hover {
  transform: translateY(-3px);
  background-color: #B19ADE;
}

/* ========= PAPER SECTION ========= */
.intro {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2em 0 5em;
}

.paper {
  background: white;
  width: clamp(320px, 80%, 900px);
  min-height: 28vh;
  padding: 3em 2em;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: repeating-linear-gradient(
    to bottom,
    white,
    white 23px,
    #dcdcdc 24px
  );
}

.paper h1 {
  font-size: 4em;
  color: #5a5a5a;
  text-align: center;
  z-index: 2;
}

/* ========= STICKERS ========= */
.sticker {
  position: absolute;
  width: 12%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.4s ease, transform 0.3s ease;
  filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.1));
}

/* Individual sticker positions + default images */
.cat {
  width: 30%;
  height: 25vw;
  top: -6%;
  left: -10%;
  background-image: url("../img/cat_sticker.PNG");
}

.yellow {
  height: 15vw;
  top: -7%;
  right: -6%;
  background-image: url("../img/sticker1.PNG");
}

.purple {
  height: 15vw;
  bottom: -5%;
  right: 8%;
  background-image: url("../img/sticker2.PNG");
}

/* Hover image swaps */
.cat:hover {
  background-image: url("../img/cat_sticker_hover.PNG");
}

.yellow:hover {
  background-image: url("../img/sticker1_hover.PNG");
}

.purple:hover {
  background-image: url("../img/sticker2_hover.PNG");
}

/* Optional: little hover animation */
.sticker:hover {
  transform: scale(1.05);
}

/* ========= SCROLLING BANNERS ========= */
.banners {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  margin-top: 3em;
}

.banner {
  width: 100%;
  transform: rotate(-2deg);
  white-space: nowrap;
  padding: 0.9em 0;
  text-align: center;
}

.banner p {
  display: inline-block;
  font-size: 2.05em;
  font-weight: bold;;
  text-align: justify;
  letter-spacing: 0.08em;
  color: white;
}

.purple-banner { background-color: #C9B7F1; }
.orange-banner { background-color: #F9B572; }
.pink-banner { background-color: #F4A6B0; }

/* ========= FOOTER ========= */
footer {
  margin-top: auto;
  text-align: center;
  background-color: #C9B7F1;
  color: white;
  padding: 1em;
  font-size: 1em;
  letter-spacing: 0.05em;
}

footer a {
  color: #7c4bb1;
  text-decoration: none;
}

/* ========= WORK PAGES ========= */
.work-page {
  text-align: center;
  padding: 2em;
}

.project-title {
  font-size: 2.2em;
  margin-bottom: 0.3em;
  color: #5a5a5a;
}

.project-subtitle {
  font-size: 1.2em;
  color: #888;
  margin-bottom: 2em;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 3em;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px;
  background-color: #FFF1E6; 
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  margin: 0 auto;
}

.image-placeholder img {
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16/9;
  object-fit: contain;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 10px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  gap: 10px;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16 / 9; /* overall rectangle */
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 10px;
  overflow: hidden;
  align-items: center;
  justify-items: center;
  grid-auto-rows: 1fr; /* each row is equal height */
  margin: 0 auto;
}

.process-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ensures image fits without cropping */
  display: block;
  border-radius: 12px;
}


.process-step p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
  padding-top: 3em;
  padding-bottom: 1em;
  padding-left: 1em;
  padding-right: 1em;
}

/* ========= ABOUT PAGE ========= */
.about-page {
  text-align: center;
  padding: 2em;
  font-weight: 400;
  color: #ffffff;
  
}

.image-text-container {
  display: flex;
  width: 90%;
  max-width: 1000px;
  margin: 20px auto; /* centers container */
  background-color: #ded2f7;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  padding: 10px;
}

/* Left side: image */
.image-side {
  flex: 1; /* takes 50% of the container */
}

.image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the left side nicely */
  display: block;
}

/* Right side: text */
.text-side {
  flex: 1; /* takes 50% of the container */
  padding: 20px; /* spacing inside text */
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center text */
}
.about-text p { margin-bottom: 1em; }

/* ========= ACTIVE NAV ========= */
.nav-btn.active { background-color: #F6B88B; }

/* ========= MEDIA QUERIES ========= */

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .paper h1 { font-size: 3em; }
  .banner p { font-size: 1.7em; }
  .project-title { font-size: 2em; }
}

/* Small screens (phones) */
@media (max-width: 600px) {
  header { padding: 1em 0; }
  .nav-btn {
    display: inline-block;
    padding: 0.5em 1em;
    font-size: 0.9em;
    margin: 0.3em;
  }

  .paper { padding: 2em 1em; }
  .paper h1 { font-size: 2em; }

  .sticker { width: 20%; }
  .cat { top: 3%; left: 3%; }
  .yellow { top: 3%; right: 3%; }
  .purple { bottom: 4%; right: 4%; }

  .banner { transform: rotate(-1deg); }
  .banner p { font-size: 1.4em; }

  .image-placeholder img {
    width: 100%;
    aspect-ratio: 4/3;
  }

   .image-text-container {
    flex-direction: column;
  }

  .image-side,
  .text-side {
    flex: unset;
    width: 100%;
  }

  .text-side {
    padding: 15px;
  }

  .process-grid {
    grid-template-columns: 1fr; /* single column */
    grid-auto-rows: auto; /* rows adjust height */
    aspect-ratio: 4/3;
  }

  .process-step p {
    font-size: 1em;
    padding: 0 0.5em;
  }

  footer { font-size: 0.9em; padding: 0.8em; }
}
/* ========= END OF CSS ========= */