@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: #fff5e1;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0 auto;
  line-height: 1.7;
  color: #3d2817;
  background-color: #5c2800;
  position: relative;
  padding: 1rem;
  min-height: 100vh;
  height: 100%;
  width: 50vw;
  overflow-x: hidden;
}
.bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("./Images/background.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  filter: brightness(0.7);
}
#main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: fit-content;
  margin-bottom: 1rem;
  position: sticky;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  top: 1rem;
  z-index: 999;
  transition:
    backdrop-filter 0.3s ease,
    background-color 0.3s ease;
}

#main-header.scrolled {
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#main-header.scrolled .logo-svg {
  color: #3d2817;
}

.header {
  display: flex;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
  background: #f2f1f1ed;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #8b6f47;
}

.header-content {
  width: 100%;
  display: flex;
  align-items: center;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.logo-title {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1;
}

.logo-svg {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

#main-header .logo-svg {
  width: 50px;
  height: 50px;
}

.title-section {
  text-align: left;
}

#restaurant-name {
  font-size: clamp(1.5rem, calc(1.2rem + 1.5vw), 2.5rem);
  color: #6b4423;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.5s;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

#restaurant-description {
  font-size: 0.95rem;
  color: #8b7355;
  font-weight: 400;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.7s;
}

.contact-btn {
  padding: 0.4rem 0.8rem;
  background-color: #8b6f47;
  color: #f2f1f1ed;
  border: none;
  height: 100%;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #f2f1f1ed;
  padding: 40px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  position: relative;
  animation: slideIn 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #8b6f47;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-content h2 {
  color: #6b4423;
  margin-bottom: 30px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
}

.social-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
  color: #f2f1f1ed;
}

.social-link svg {
  width: 40px;
  height: 40px;
}

.social-link.facebook {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.social-link.instagram {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.social-link.x {
  background: #000;
}

.social-link.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

main {
  max-width: 900px;
  margin: 0 auto;
}

.menu-category {
  margin-bottom: 45px;
  background: rgba(242, 241, 241, 0.95);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.8s;
}
#main-svg-logo {
  fill-opacity: 0;
  stroke-dashoffset: 1300;
  stroke-dasharray: 1000;
  animation: dash 1.5s ease-in forwards;
}
@keyframes dash {
  90% {
    fill-opacity: 0;
  }
  100% {
    fill-opacity: 100%;
    stroke-dashoffset: 0;
    stroke-width: 10;
  }
}
.menu-category h2 {
  font-size: clamp(1.875rem, calc(1.648rem + 1.136vw), 2.5rem);
  width: 100%;
  text-align: center;
  color: #6b4423;
  font-weight: 600;
  position: relative;
  padding-bottom: 1rem;
}

.menu-category h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #c99a6e;
  margin-top: 10px;
}

.products {
  display: block;
}

.product-card {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e8ddd0;
  page-break-inside: avoid;
}

.product-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.product-card h3 {
  font-size: 1.15em;
  color: #3d2817;
  margin-bottom: 5px;
  font-weight: 600;
}

.product-card p {
  color: #8b7355;
  font-size: 0.92em;
  margin-bottom: 8px;
  line-height: 1.5;
}

.price {
  display: inline-block;
  font-size: 1.1em;
  font-weight: 600;
  color: #c99a6e;
  margin-top: 6px;
}

.product-card img {
  display: none;
}

.unavailable-badge {
  display: inline-block;
  margin-left: 12px;
  color: #a0725d;
  font-size: 0.9em;
  font-weight: 500;
}

@media (max-width: 1280px) {
  body {
    padding: 15px;
    width: 100vw;
  }

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

  .title-section {
    text-align: center;
  }

  .modal-content {
    padding: 30px 20px;
  }

  .modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .social-links {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .social-link {
    padding: 15px;
  }

  .social-link svg {
    width: 35px;
    height: 35px;
  }

  .social-link span {
    font-size: 0.8rem;
  }

  .menu-category {
    padding: 20px;
    margin-bottom: 30px;
  }
}
