@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --bg:          #0a0b0f;
  --bg2:         #111318;
  --bg3:         #1a1b22;
  --accent:      #f5a623;
  --accent-dim:  rgba(245, 166, 35, 0.12);
  --accent-glow: rgba(245, 166, 35, 0.25);
  --text:        #f0f0f5;
  --text-muted:  #7a8099;
  --border:      rgba(255, 255, 255, 0.07);
  --nav-h:       70px;
  --radius:      10px;
  --transition:  0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { padding: 0; margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
li { list-style: none; }

/* ==================== NAVBAR ==================== */
nav {
  height: var(--nav-h);
  width: 100%;
  position: fixed;
  top: 0; z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
nav.scrolled { background: rgba(10, 11, 15, 0.97); }
nav .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo a {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: var(--text);
}
.nav-logo a span { color: var(--accent); }
.navlinks ul {
  display: flex;
  gap: 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.navlinks ul li a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.navlinks ul li a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.navlinks ul li a:hover { color: var(--text); }
.navlinks ul li a:hover::after { transform: scaleX(1); transform-origin: left; }
.navlinks ul li a.active { color: var(--accent); }

.menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  background: none;
  border: none;
  padding: 4px;
}

@media (min-width: 851px) { .menu-btn { display: none; } }
@media (max-width: 850px) {
  .menu-btn { display: block; }
  .navlinks {
    position: absolute;
    top: var(--nav-h); right: 0;
    width: 280px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 0 var(--radius);
    display: none;
    flex-direction: column;
    padding: 20px;
  }
  .navlinks ul { flex-direction: column; gap: 0; }
  .navlinks ul li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }
  .navlinks ul li:last-child a { border-bottom: none; }
  .showlinks { display: flex; animation: fadeDown 0.3s ease; }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==================== PAGE HEADER ==================== */
.page-header {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 50px;
  text-align: center;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.page-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
}
.underline {
  width: 40px; height: 2px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ==================== FILTER BUTTONS ==================== */
.btn-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 40px;
}
.btn-filter {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-filter:hover {
  border-color: rgba(245, 166, 35, 0.4);
  color: var(--text);
  background: var(--accent-dim);
}
.btn-filter.active {
  background: var(--accent);
  color: #0a0b0f;
  border-color: var(--accent);
  font-weight: 700;
}

/* ==================== SEARCH BAR ==================== */
.search-wrap {
  display: flex;
  justify-content: center;
  padding: 0 20px 36px;
}
.search-input {
  width: 100%;
  max-width: 420px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 11px 20px 11px 44px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237a8099' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.099zm-5.242 1.656a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

/* ==================== RESULTS COUNT ==================== */
.results-bar {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.results-count strong { color: var(--accent); }

/* ==================== PRODUCT GRID ==================== */
.menu {
  width: 100%;
  padding-bottom: 80px;
}
.section-center {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ==================== PRODUCT CARD ==================== */
.menu-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  animation: cardIn 0.4s ease forwards;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.menu-item:hover {
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.menu-item:hover .photo { transform: scale(1.04); }

/* Category badge */
.item-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-glow);
  padding: 4px 10px;
  border-radius: 100px;
}

.photo-wrap {
  overflow: hidden;
  height: 180px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-info {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-info header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.menu-info header h4 {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.price {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.item-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.card-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.btn-enquire {
  flex: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #0a0b0f;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-enquire:hover {
  background: #ffc44d;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-save {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.btn-save:hover, .btn-save.saved {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ==================== EMPTY STATE ==================== */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
}
.no-results .bi {
  font-size: 48px;
  color: var(--text-muted);
  opacity: 0.4;
  display: block;
  margin-bottom: 16px;
}
.no-results h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
}
.no-results p { font-size: 14px; color: var(--text-muted); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) { .section-center { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .section-center { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .section-center { grid-template-columns: 1fr; } }

/* ==================== FOOTER ==================== */
footer {
  width: 100%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
}
footer .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
}
.footer-brand span { color: var(--accent); }
footer p { font-size: 13px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  transition: all var(--transition);
}
.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
footer small a { color: var(--accent); }
