/* 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;   
}


/* ABOUT SECTION */
.about-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeIn 1.2s ease;
  overflow: hidden;
  background-color: #e9f0b7;
}

.star-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 1;
}

.burger-img {
  width: 800px;
  z-index: 1;
  position: relative;
  transition: transform 0.3s ease;
  margin-top: 100px;
  transform-origin: center center;
}

.spin-right-1,
.spin-right-2 {
  position: absolute;
  width: 800px;
  z-index: 2;
  transition: transform 0.3s ease;
}


.spin-right-1 {
  top: 20%;
  left: -20%;
}

.spin-right-2 {
    transform: rotate(20deg);
  top: 20%;
  right: -20%;
}

.about-text {
  max-width: 880px;
  font-size: 1.1rem;
  color: #e0312f;
  line-height: 1.8;
  text-transform: none;
  margin-top: 99px;
  font-weight: 400;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

/* FOOTER */
.footer {
  background-color: #fcbf2d;
  text-align: left;
  padding: 30px;
  font-size: 0.9rem;
  color: #222;
  margin-top: 60px;
  height: 200px;
  font-weight: 100;
}
/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes burgerPop {
  0% {
    transform: scale(0.8); 
    opacity: 0;
  }
  100% {
    transform: scale(1); 
    opacity: 1;
  }
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .burger-img {
    width: 90%;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .navbar nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .star-bg {
    width: 100%;
    margin-bottom: -160px;
  }

  .about-text {
    font-size: 1rem;
    margin-top: 80px;
  }
}
