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

:root {
  --primary-color: #e63946;
  --secondary-color: #f77f00;
  --accent-color: #06a77d;
  --background: #fffbf5;
  --background-alt: #fff5e6;
  --text-dark: #1d3557;
  --text-light: #457b9d;
  --border-color: #fda841;
  --shadow-color: rgba(230, 57, 70, 0.1);
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.header {
  text-align: center;
  padding: 60px 20px 40px;
  background: linear-gradient(
    135deg,
    var(--background) 0%,
    var(--background-alt) 100%
  );
  position: relative;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    var(--accent-color) 100%
  );
}

.header-decoration {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.logo {
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: 0.3em;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 300;
  margin-bottom: 10px;
  text-shadow: 0 4px 12px var(--shadow-color);
}

.subtitle {
  width: max-content;
  margin: 0 auto;
  font-size: clamp(0.8rem, 2vw, 1rem);
  letter-spacing: 0.5em;
  color: var(--text-light);
  margin-bottom: 40px;
  position: relative;
}

.subtitle::before,
.subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1.3px;
  background-color: var(--border-color);
}

.subtitle::before {
  left: 45%;
  transform: translateX(-120px);
}

.subtitle::after {
  right: 50%;
  transform: translateX(120px);
}

.menu-title {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  letter-spacing: 0.2em;
  color: var(--text-dark);
  font-weight: 400;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Menu Sections */
.menu-section {
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.menu-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.category-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.3em;
  color: var(--text-dark);
  font-weight: 300;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 20px;
}

.category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    var(--accent-color) 100%
  );
  border-radius: 2px;
}

/* Menu Items */
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.menu-item {
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  transition-delay: calc(var(--item-index) * 0.1s);
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: transparent;
}

.menu-item:hover {
  background-color: var(--background-alt);
  box-shadow: 0 4px 12px var(--shadow-color);
  border-bottom-color: transparent;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 8px;
  position: relative;
}

.item-header::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    var(--border-color),
    var(--border-color) 4px,
    transparent 4px,
    transparent 8px
  );
  margin: 0 10px;
  align-self: flex-end;
  margin-bottom: 5px;
}

.item-name {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.05em;
}

.item-price {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  white-space: nowrap;
}

.item-description {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--text-light);
  font-style: italic;
  line-height: 1.5;
  padding-left: 0;
}

/* Footer */
.footer {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(
    135deg,
    var(--background-alt) 0%,
    var(--background) 100%
  );
  border-top: 3px solid;
  border-image: linear-gradient(
      90deg,
      var(--primary-color) 0%,
      var(--secondary-color) 50%,
      var(--accent-color) 100%
    )
    1;
  margin-top: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-color) 0%,
    var(--secondary-color) 50%,
    var(--primary-color) 100%
  );
}

.footer.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-logo {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  letter-spacing: 0.3em;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 300;
  margin-bottom: 30px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.footer-item {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.footer-note {
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  color: var(--text-light);
  letter-spacing: 0.2em;
}

/* Fade in animation for header */
.fade-in {
  animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (min-width: 768px) {
  .footer-info {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }

  .footer-item::after {
    content: "•";
    margin-left: 40px;
    color: var(--border-color);
  }

  .footer-item:last-child::after {
    content: "";
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .subtitle::before,
  .subtitle::after {
    width: 50px;
  }

  .subtitle::before {
    transform: translateX(-100px);
  }

  .subtitle::after {
    transform: translateX(100px);
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  background-color: var(--secondary-color);
  color: white;
}
