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

/* BASE */
body {
  font-family: 'Righteous', sans-serif;
  background-color: #e9f0b7;
  color: #e0312f;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e0312f;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
    transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 60px;
  transform: rotate(10deg);
}

.logo-text {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
}

.navbar nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

.navbar nav ul li a {
  color: #fff;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.navbar nav ul li a:hover,
.navbar nav ul li a.active {
  color: #ffcb47;
  background-color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
}

/* FOOTER */
.footer {
  background-color: #fcbf2d;
  text-align: left;
  padding: 30px;
  font-size: 0.9rem;
  color: #222;
  margin-top: 60px;
  height: 200px;
  font-weight: 100;
}

/* SECTION */
.ingredients-section {
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 120px;
  background-color: #e9f0b7;
  position: relative;
  gap: 10px;
}

.left-content {
  flex: 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.typing-text {
  font-size: 5.5rem;
  color: #e0312f;
  line-height: 1.2;
  white-space: pre-line;
  min-height: 280px;
  text-align: center;
  margin-left: 70px;
}

.description-box {
  background-color: #ff9f1c;
  border-radius: 120px;
  padding: 70px 70px;
  max-width: 540px;
  margin-top: -25px;
  margin-left: 70px;
}

.description-box p {
  font-size: 1.2rem;
  color: #e0312f;
  text-align: center;
  line-height: 1.6;
}

.right-content {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 30px;
}

.burst-shape {
  position: absolute;
  width: 580px;
  height: 580px;
  background-image: url("images/burst.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(-5deg);
  z-index: 1;
}

.star-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  transform: translate(-50%, -50%) rotate(15deg);
  z-index: 0;
  margin-top: 90px;
  pointer-events: none;
}

.ingredients-img {
  position: relative;
  width: 800px;
  z-index: 2;
  margin-left: -200px;
  transition: transform 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .ingredients-section {
    flex-direction: column;
    padding: 60px 40px;
    text-align: center;
  }

  .typing-text {
    font-size: 3rem;
    text-align: center;
    min-height: 150px;
  }

  .description-box {
    padding: 30px;
    margin-top: 20px;
    border-radius: 60px;
  }

  .burst-shape {
    width: 360px;
    height: 360px;
  }

  .ingredients-img {
    width: 320px;
  }
}
