:root {
  --light-bg: #fffdf5; /* Warm, creamy off-white */
  --secondary-bg: #ffffff; /* Pure white for cards */
  --dark-text: #1f2937; /* Sharp charcoal */
  --primary-text-on-dark: #f5f2e8;
  --accent-red: #c1272d;
  --accent-red-ember: #e53935;
  --accent-yellow: #ffc300;
  --border-color: #e5e7eb;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Inter", sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
  scroll-behavior: smooth;
}
h1,
h2,
h3,
.font-display {
  font-family: "Lora", serif;
}
.text-accent {
  color: var(--accent-yellow);
}
.bg-accent {
  background-color: var(--accent-yellow);
}
.border-accent {
  border-color: var(--accent-yellow);
}
.bg-accent-red {
  background-image: linear-gradient(to right, #a02024, var(--accent-red));
}
:focus-visible {
  outline: 3px solid var(--accent-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}
.nepali-hero-text {
  font-family: "Noto Sans Devanagari", sans-serif;
  font-size: clamp(30px, 5.5vw, 64px); /* Big and responsive */
  font-weight: 700;
  letter-spacing: 1.8px; /* Very close to board spacing */
  line-height: 1.35; /* Matches board's tight vertical spacing */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75); /* Board-like pop */
  background: linear-gradient(
    to right,
    #f33723,
    #f9c74f
  ); /* red-orange to yellow */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text {
  color: var(--accent-red);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .gradient-text {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
}

.page-content {
  animation: fadeIn 0.8s ease-in-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-stagger-in > * {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}
.animate-stagger-in > *:nth-child(1) {
  animation-delay: 0.1s;
}
.animate-stagger-in > *:nth-child(2) {
  animation-delay: 0.2s;
}
.animate-stagger-in > *:nth-child(3) {
  animation-delay: 0.3s;
}
.animate-stagger-in > *:nth-child(4) {
  animation-delay: 0.4s;
}
.nav-link:hover,
.nav-link.active {
  background: linear-gradient(
    to right,
    var(--accent-red),
    var(--accent-yellow)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#mobile-menu {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  z-index: 70;
}
#mobile-menu a:hover,
#mobile-menu a.active {
  background: linear-gradient(
    to right,
    var(--accent-red),
    var(--accent-yellow)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.1);
}
#mobile-menu.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-red);
  z-index: 60;
  transition: width 0.1s linear;
}
.btn-primary {
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
.liquid-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
  z-index: -1;
}
.liquid-btn:hover::before {
  left: 100%;
}
#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
  cursor: pointer;
}
#lightbox-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
#lightbox-overlay.show {
  display: flex;
}
.floating-btn {
  position: fixed;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  transform: translateY(50px);
}
.floating-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top {
  bottom: 20px;
  left: 20px;
}
#back-to-top:hover {
    background-color: var(--accent-red);
    color: white;
}
#floating-cta {
  bottom: 20px;
  right: 20px;
}
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hamburger .line {
  transition: all 0.3s ease-in-out;
}
.hamburger.open .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open .line2 {
  opacity: 0;
}
.hamburger.open .line3 {
  transform: rotate(-45deg) translate(5px, -5px);
}
.page-content {
  flex: 1 0 auto;
}
.logo-pulse {
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.9;
  }
}
.card-glow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}
.card-glow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.footer-social-icon:hover {
  color: var(--accent-yellow);
  transform: scale(1.1);
}
.menu-toggle-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background-color: var(--secondary-bg);
  color: var(--dark-text);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.menu-toggle-btn:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}
.menu-toggle-btn.active {
  background-color: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red-ember);
  box-shadow: 0 0 15px rgba(229, 57, 53, 0.3);
}
.menu-content {
  display: none;
}
.menu-content.active {
  display: block;
}
.menu-category-header {
  border-bottom: 2px solid var(--border-color);
}
.menu-category-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease-in-out;
}
.accordion-icon {
  transition: transform 0.5s ease-in-out;
}
.accordion-icon.open {
  transform: rotate(180deg);
}
.dish-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
.menu-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.menu-item:hover {
    background-color: #f9fafb; /* Tailwind gray-50 */
    transform: scale(1.02);
}
.menu-item-details {
  flex-grow: 1;
}
.menu-list-item-flex {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  position: relative;
}
.menu-list-item-flex::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  z-index: 0;
  border-bottom: 2px dotted rgba(0, 0, 0, 0.15);
}
.menu-list-item-flex .dish-name {
  position: relative;
  z-index: 1;
  background-color: var(--secondary-bg);
  padding-right: 0.5rem;
}
.menu-item:hover .menu-list-item-flex .dish-name {
    background-color: #f9fafb; /* Match hover background */
}
.menu-list-item-flex .dish-price {
  position: relative;
  z-index: 1;
  background-color: var(--secondary-bg);
  padding-left: 0.5rem;
  color: var(--accent-red);
  font-weight: 700;
}
.menu-item:hover .menu-list-item-flex .dish-price {
    background-color: #f9fafb; /* Match hover background */
}
.menu-item .dish-description {
  font-size: 0.9rem;
  color: #6b7280; /* gray-500 */
  margin-top: 0.25rem;
}
.dietary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-left: 0.5rem;
  vertical-align: middle;
}
.momo-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.momo-table {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 0.5rem;
  min-width: 550px;
  text-align: center;
  font-size: 0.9rem;
}
.momo-table > div {
  display: contents;
}
.momo-table > div > div {
  padding: 0.75rem 0.5rem;
  background-color: var(--light-bg);
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.momo-table .momo-table-header > div {
  font-weight: 700;
  color: var(--accent-red);
  background-color: transparent;
  font-size: 1rem;
}
.momo-table .momo-table-row > div:first-child {
  font-weight: 600;
  text-align: left;
  justify-content: flex-start;
  background-color: #f3f4f6;
}
.momo-table .dietary-icon {
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.dietary-icon.veg {
  background-color: #4caf50;
  color: white;
}
.dietary-icon.spicy {
  background-color: #f44336;
  color: white;
}
.dietary-icon.special {
  background-color: var(--accent-yellow);
}
.dietary-icon.alcoholic {
  background-color: #9c27b0;
  color: #fff;
}
.dietary-icon.non-alcoholic {
  background-color: #03a9f4;
  color: #fff;
}
.liquor-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.liquor-table th,
.liquor-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}
.liquor-table th {
  background-color: rgba(0, 0, 0, 0.05);
  font-weight: 600;
  color: var(--accent-red);
  font-size: 0.9rem;
  text-transform: uppercase;
}
.liquor-table td {
  color: var(--dark-text);
  font-size: 0.95rem;
}
.liquor-table td:first-child {
  font-weight: 600;
  color: var(--dark-text);
}
.liquor-table td:not(:first-child) {
  text-align: right;
  color: var(--accent-red);
}
.liquor-table tr:last-child td {
  border-bottom: none;
}
.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.7) !important;
    width: 10px !important;
    height: 10px !important;
    opacity: 0.8 !important;
}
.swiper-pagination-bullet-active {
    background-color: var(--accent-yellow) !important;
    transform: scale(1.2);
}
.swiper-slide {
    background-size: cover;
    background-position: center;
}
.custom-nav-arrow {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    transition: all 0.3s ease;
    cursor: pointer;
}
.custom-nav-arrow:hover {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px var(--accent-red);
    transform: scale(1.05);
}
.swiper-button-prev.custom-nav-arrow:hover {
    transform: translateX(-5px);
}
.swiper-button-next.custom-nav-arrow:hover {
    transform: translateX(5px);
}
.swiper-button-next::after, .swiper-button-prev::after {
    display: none;
}

/* Animated Title and Feature Card Styles */
.animated-title {
    color: var(--accent-yellow);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animated-title > .animate-on-scroll:nth-child(1).is-visible { transition-delay: 0.1s; }
.animated-title > .animate-on-scroll:nth-child(2).is-visible { transition-delay: 0.2s; }
.animated-title > .animate-on-scroll:nth-child(3).is-visible { transition-delay: 0.3s; }
.animated-title > .animate-on-scroll:nth-child(4).is-visible { transition-delay: 0.4s; }
.animated-title > .animate-on-scroll:nth-child(5).is-visible { transition-delay: 0.5s; }

.est-text.animate-on-scroll.is-visible {
    transition-delay: 0.8s;
}

.feature-card.animate-on-scroll.is-visible {
    transition-delay: 0.2s;
}

#feature-cards-wrapper .feature-card:nth-of-type(2).is-visible {
    transition-delay: 0.4s;
}

.feature-card {
    background-color: var(--secondary-bg);
}
.text-accent-red {
    color: var(--accent-red);
}

/* Signature Dishes Styles */
.horizontal-scroll-wrapper {
    overflow-x: auto;
    padding: 1rem 0 1.5rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;
}
.horizontal-scroll-wrapper > .flex {
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 1024px) {
    .horizontal-scroll-wrapper > .flex {
        padding-left: 0;
        padding-right: 0;
    }
}
.dish-card {
    width: 280px;
    flex-shrink: 0;
    background-color: var(--secondary-bg);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.signature-dish-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}
.dish-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.dish-scroll-prev {
    left: -25px;
}
.dish-scroll-next {
    right: -25px;
}
@media (max-width: 767px) {
    .dish-scroll-arrow {
        display: none;
    }
}
@media (max-width: 767px) {
    .custom-nav-arrow {
        display: none;
    }
}
