@font-face {
  font-family: 'ShellBold';
  src: url('fonts/ShellBold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}


.sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: inherit;
}

.cat-link.active {
    width: 100%;
  background-color: rgba(0, 0, 0, 0.1); /* or your preferred highlight style */
  border-radius: 10px;
}


#backToTop {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  background: #1C3A2D;
  color: #F6E7CB;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(28, 58, 45, 0.18);
  transition: background 0.2s, color 0.2s, opacity 0.3s;
  opacity: 0.85;
}

#backToTop:hover {
  background: #B6A39E;
  color: #1C3A2D;
  opacity: 1;
}

body {
  font-family: 'ShellBold';
  background: #fff7e6;
  color: #1C3A2D;
  margin: 0;
  padding: 5px 0px;
}

.top-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  margin: auto;
  max-width: 1100px;
}

.nav-center {
  flex: 1;
  text-align: center;
}

.nav-logo {
  font-size: 35px;
  font-weight: bold;
  color: #1C3A2D;
  letter-spacing: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-right a img {
  width: 18px;
  height: 18px;
}
.search-btn,
.lang-btn {
  background: #1C3A2D;
  border: none;
  border-radius: 20%;
  padding: 8px 12px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover,
.lang-btn:hover {
  background: #B6A39E;
  color: #1C3A2D;
}

.cat-icon img,
.category-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  /* Optional: make icons white on dark bg if your PNGs are transparent */
}

.category-selector {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 10px;
  margin: 0 5px;
  max-width: 1100px;
}

.cat-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #1C3A2D;
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.85;
}

.cat-link:hover,
.cat-link:focus {
  color: #1C3A2D;
  opacity: 1;
}

.cat-icon {
  background: #1C3A2D;
  border-radius: 10%;
  width: 90px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(182, 163, 158, 0.08);
}

.cat-icon svg {
  display: block;
  color: #F6E7CB;
}

.cat-name {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.menu-categories {
  padding: 0px 10px;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 20px;
}

.category-selector {
  position: sticky;
  top: 0;
  z-index: 99;
  background: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-selector::-webkit-scrollbar {
  display: none;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}


.lang-btn img {
  width: 18px;
  height: 18px;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: #d4c9b4;
  min-width: 120px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(28, 58, 45, 0.18);
  z-index: 100;
  padding: 8px 0;
}

.lang-menu a {
  color: #1C3A2D;
  padding: 10px 18px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
  border-radius: 6px;
}

.lang-menu a:hover {
  background: #F6E7CB;
  color: #B6A39E;
}

.category-title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1C3A2D;
  margin-top: 10px;
  margin-bottom: 18px;
  gap: 12px;
  position: relative;
}

.category-title::before,
.category-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #000000;
  margin: 0 5px;
  border-radius: 2px;
  opacity: 0.7;
}

.category-icon {
  font-size: 32px;
  color: #F6E7CB;
  background: #1C3A2D;
  border-radius: 20%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(182, 163, 158, 0.08);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: auto;
}

.menu-card {
  position: relative;
  background: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(28, 58, 45, 0.18);
  min-height: 180px;
  display: flex;
  align-items: stretch;
}

.menu-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.menu-info {
  font-family: 'Arial', sans-serif;
  justify-content: space-between;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 14px 18px;
  background: #1c3a2d9c;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  display: flex;
  flex-direction: row;
}

.menu-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(28, 58, 45, 0.25);
  margin-bottom: 4px;
}

.menu-price {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(28, 58, 45, 0.18);
  margin-top: 0;
}

.menu-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(28, 58, 45, 0.28);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 58, 45, 0.5);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: none;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  background: #F6E7CB;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: black;
  cursor: pointer;
  background: white;
}

.modal-desc {
  margin-top: 18px;
  color: #1C3A2D;
  background: #F6E7CB;
  padding: 16px 22px;
  border-radius: 12px;
  font-size: 17px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(28, 58, 45, 0.10);
}

@media (max-width: 600px) {
  .menu-info {
    padding: 8px;
  }

  .menu-name {
    font-size: 12px;
  }

  .menu-price {
    font-size: 10px;
  }

  /* .menu-grid {
    grid-template-columns: 2fr;
  } */

  .top-navbar {
    padding: 5px 6px;
    max-width: 100%;
  }
}

.powered-by {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1C3A2D;
  color: #F6E7CB;
  text-align: center;
  padding: 3px 0;
  font-size: 8px;
  letter-spacing: 1px;
  z-index: 9999;
  box-shadow: 0 -2px 12px rgba(28, 58, 45, 0.12);
}

.powered-by a {
  color: #B6A39E;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.powered-by a:hover {
  color: #F6E7CB;
  text-decoration: underline;
}

.intro-splash {
  position: fixed;
  inset: 0;
  background: url('images/bg.jpg');
  background-size: cover;
  background-position: center 80%;
  background-repeat: no-repeat;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeOut 1s ease forwards;
  animation-delay: 3s;
}

@media (max-width: 768px) {
  .intro-splash {
    background-position: top center;
    background-size: cover;
  }
}

.intro-overlay {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.75);
  padding: 40px;
  border-radius: 20px;
  max-width: 90%;
}

.intro-splash h1 {
  font-size: 3.5em;
  margin-bottom: 10px;
  color: #1C3A2D;
}

.intro-splash p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 20px;
}

.social-icons a {
  margin: 0 10px;
  display: inline-block;
}

.social-icons img {
  width: 32px;
  height: 32px;
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.15);
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}