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

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

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;
  width: auto;
  transform: rotate(10deg);
}

.logo-text {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 1px;
  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;
}

.navbar nav ul li a.active {
  color: #ffcb47;
  padding: 8px 16px;
  background-color: #fff;
  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;
}

/* MENU SECTION */
.menu-section {
  position: relative;
  padding: 120px 20px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background-color: #e9f0b7;
}

.star-bg {
  position: absolute;
  top: 30%;
  left: -10%;
  width: 900px;
  transform: translateY(-50%);
  z-index: 0;
}

.menu-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  z-index: 2;
  width: 1500px;
  position: relative;
  border-radius: 30px;

}



/* TEXT */
.menu-text {
  font-size: 4rem;
  color: #d82027;
  max-width: 350px;
  text-align: center;
  line-height: 1.3;
  margin: auto;
  overflow: hidden;
}

.menu-text span {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
}

/* IMAGE */
.menu-img {
  width: 400px;
  max-width: 100%;
  margin-right: -20px;
  transition: transform 0.3s ease;
  transform: scale(1);
}

.menu-card:hover .menu-img {
  transform: scale(1.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-card {
    flex-direction: column;
    text-align: center;
    border-radius: 40px;
    padding: 30px 20px;
    margin-left: 0;
    width: 90%;
    height: auto;
  }

  .menu-card.reverse {
    flex-direction: column;
  }

  .menu-text {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .menu-img {
    margin-right: 0;
  }

  .star-bg {
    display: none;
  }
}
