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

/* HERO SECTION */
.hero {
  margin: 0 auto;
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
  animation: fadeIn 1.2s ease;
}

.hero h1 {
  font-size: 130pt;
  color: #e0312f;
  margin-bottom: 30px;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  line-height: 1.1;
}

.hero h2 {
  font-size: 110pt;
  color: #ACA486;
  margin-top: 40px;
  margin-bottom: 30px;
  letter-spacing: 3px;
  text-align: center;
  line-height: 1.1;
}

.hero-logo {
  height: 120px;
  width: auto;
  transform: rotate(10deg);
}

/* TYPEWRITER TEXT */
.typewriter-text {
  font-size: 1.2rem;
  color: #222;
  letter-spacing: 1.5px;
  text-align: left;
  margin-bottom: -30px;
  margin-left: 258px;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #222;
  animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
  50% {
    border-color: transparent;
  }
}

/* BURGER IMAGE */
.burger-img {
  width: 800px;
  max-width: 95%;
  margin-top: -290px;
  margin-bottom: 40px;
  z-index: 2;
  position: relative;
  animation: burgerPop 1s ease-out;
  transition: 0.3s ease;
}

.burger-img:hover {
  transform: scale(0.9) rotate(1deg);
}

/* ORDER BUTTON */
.btn-order {
  display: inline-block;
  margin-top: 30px;
  margin-left: 870px;
  background-color: #fcbf2d;
  padding: 25px 50px;
  z-index: 9;
  border-radius: 80px;
  color: #000;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.btn-order:hover {
  background-color: #ffcb47;
  transform: scale(1.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* TAGLINE */
.tagline {
  position: absolute;
  top: 72%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 130pt;
  color: #ACA486;
  letter-spacing: 3px;
  font-weight: bold;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

/* 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) rotate(-9deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
    flex-direction: column;
    gap: 10px;
  }

  .burger-img {
    width: 90%;
  }

  .btn-order {
    font-size: 1.1rem;
    padding: 15px 30px;
    margin-left: 0;
  }

  .tagline {
    font-size: 2rem;
  }

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

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

  .typewriter-text {
    margin-left: 0;
    text-align: center;
  }
}
