@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 30px 0 40px;
  border-bottom: 1px solid #333;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

header .subtitle {
  font-size: 1.1rem;
  color: #ccc;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 20px 0 30px;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
}

.category-nav a {
  display: inline-block;
  padding: 8px 16px;
  background-color: #1a1a1a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.category-nav a:hover,
.category-nav a:active {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
}

main {
  padding-bottom: 40px;
}

.menu-section {
  margin-bottom: 40px;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.category-title .price {
  color: #ffd700;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
}

.subcategory-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 10px;
  padding-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #ddd;
}

.subcategory-title .price {
  color: #ffd700;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.menu-items {
  list-style: disc;
  padding-left: 20px;
}

.menu-items li {
  padding: 8px 0;
  font-size: 1rem;
  color: #e0e0e0;
}

.menu-items li::marker {
  color: #aaa;
}

footer {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid #333;
  color: #888;
  font-size: 0.9rem;
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #ffd700;
  color: #000000;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* Mobile optimization */
@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  header {
    padding: 20px 0 25px;
    margin-bottom: 20px;
  }

  header h1 {
    font-size: 1.6rem;
    margin-bottom: 5px;
  }

  header .subtitle {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .category-nav {
    gap: 8px;
    padding: 15px 0 20px;
    margin-bottom: 15px;
  }

  .category-nav a {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .category-title {
    font-size: 1.3rem;
  }

  .category-title .price {
    font-size: 1.4rem;
  }

  .subcategory-title {
    font-size: 1.1rem;
    margin-top: 15px;
  }

  .subcategory-title .price {
    font-size: 1.2rem;
  }

  .menu-items li {
    font-size: 0.95rem;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1.3rem;
  }
}

/* Tablet and larger */
@media (min-width: 768px) {
  .container {
    padding: 40px;
  }

  header {
    padding: 50px 0 60px;
  }

  header h1 {
    font-size: 3rem;
  }

  .category-nav a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .category-title {
    font-size: 1.8rem;
  }

  .category-title .price {
    font-size: 1.9rem;
  }

  .subcategory-title {
    font-size: 1.3rem;
  }

  .subcategory-title .price {
    font-size: 1.4rem;
  }

  .menu-items li {
    font-size: 1.1rem;
    padding: 10px 0;
  }
}
