@charset "UTF-8";
/* =============================================
   PreSuda - Tradicionalna Srpska Kuhinja
   menu.css
   ============================================= */

/* --- CSS Variables --- */
:root {
  --wine: #4A0E1A;
  --wine-deep: #35080f;
  --wine-mid: #6b1526;
  --gold: #C6A75E;
  --gold-light: #d9bc7e;
  --gold-muted: #a8893e;
  --cream: #F5EFE6;
  --cream-dark: #ede4d6;
  --text: #1E1E1E;
  --muted: #6B6B6B;
  --white: #ffffff;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --transition: 0.3s ease;
  --sidebar-width: 260px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Screen reader only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   NAVIGATION
   ============================================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(53, 8, 15, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.85);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-light);
}

.nav-links .nav-cta {
  background-color: var(--gold);
  color: var(--wine-deep);
  padding: 8px 22px;
  font-weight: 600;
  transition: background-color var(--transition);
}

.nav-links .nav-cta:hover {
  background-color: var(--gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--cream);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  background-color: var(--wine-deep);
  border-top: 1px solid rgba(198, 167, 94, 0.2);
}

.nav-mobile ul {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.85);
  border-bottom: 1px solid rgba(198, 167, 94, 0.12);
  transition: color var(--transition);
}

.nav-mobile a:hover {
  color: var(--gold-light);
}

.nav-mobile.open {
  display: block;
}

/* =============================================
   MENU HERO
   ============================================= */

.menu-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1400&q=80');
  background-size: cover;
  background-position: center 35%;
  padding-top: var(--nav-height);
}

.menu-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(35, 8, 12, 0.55) 0%,
    rgba(74, 14, 26, 0.80) 100%
  );
}

.menu-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.menu-hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.menu-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.menu-hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245, 239, 230, 0.75);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.menu-hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.menu-hero-divider span {
  display: block;
  width: 40px;
  height: 1px;
  background-color: rgba(198, 167, 94, 0.45);
}

/* =============================================
   MOBILE CATEGORY BAR
   ============================================= */

.mobile-category-bar {
  display: none;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  background-color: var(--wine);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(198, 167, 94, 0.2);
}

.mobile-category-bar select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid rgba(198, 167, 94, 0.4);
  padding: 10px 40px 10px 16px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C6A75E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.mobile-category-bar select option {
  background-color: var(--wine-deep);
  color: var(--cream);
}

.mobile-category-bar select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* =============================================
   MENU LAYOUT
   ============================================= */

.menu-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  gap: 0;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 80px;
}

/* =============================================
   SIDEBAR
   ============================================= */

.menu-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  align-self: start;
}

.menu-sidebar-inner {
  padding-right: 32px;
}

.sidebar-title {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(74, 14, 26, 0.12);
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 40px;
}

.category-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-left: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.category-link:hover {
  color: var(--wine);
  background-color: rgba(74, 14, 26, 0.04);
}

.category-link.active {
  border-left-color: var(--gold);
  color: var(--wine);
  font-weight: 600;
  background-color: rgba(74, 14, 26, 0.05);
}

.category-link-num {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--gold-muted);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.sidebar-cta {
  padding: 20px;
  background-color: var(--wine);
  color: var(--cream);
  text-align: center;
}

.sidebar-cta p {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.7);
  margin-bottom: 6px;
}

.sidebar-phone {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-light);
  transition: color var(--transition);
}

.sidebar-phone:hover {
  color: var(--gold);
}

/* =============================================
   MENU CONTENT
   ============================================= */

.menu-content {
  padding-left: 48px;
  border-left: 1px solid rgba(74, 14, 26, 0.1);
}

/* --- Section --- */
.menu-section {
  margin-bottom: 72px;
  scroll-margin-top: calc(var(--nav-height) + 32px);
}

.menu-section:last-child {
  margin-bottom: 0;
}

.menu-section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(74, 14, 26, 0.12);
}

.menu-section-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gold-muted);
  letter-spacing: 0.1em;
}

.menu-section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--wine);
  line-height: 1.2;
}

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

.menu-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(74, 14, 26, 0.07);
  position: relative;
  transition: background-color var(--transition);
}

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

.menu-item:hover {
  background-color: rgba(74, 14, 26, 0.025);
}

.menu-item--featured {
  padding: 24px 20px;
  background-color: rgba(198, 167, 94, 0.06);
  border-bottom: none !important;
  border: 1px solid rgba(198, 167, 94, 0.25);
  margin: 4px 0;
}

.menu-item--featured:hover {
  background-color: rgba(198, 167, 94, 0.1);
}

.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 6px;
}

.menu-item-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.menu-item-price {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--wine);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

.menu-item-price small {
  font-size: 0.68rem;
  font-family: var(--font-body);
  font-weight: 400;
  opacity: 0.7;
}

.menu-item-desc {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 600px;
}

.menu-item-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine-deep);
  background-color: var(--gold);
  padding: 3px 10px;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background-color: var(--wine-deep);
  color: var(--cream);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(198, 167, 94, 0.15);
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.5);
  line-height: 1.7;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.65);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-contact p,
.footer-contact a {
  display: block;
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.65);
  margin-bottom: 6px;
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(245, 239, 230, 0.35);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: rgba(198, 167, 94, 0.5) !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .menu-layout {
    grid-template-columns: 220px 1fr;
  }

  .menu-sidebar-inner {
    padding-right: 20px;
  }

  .menu-content {
    padding-left: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .menu-hero {
    min-height: 260px;
    padding-bottom: 40px;
  }

  .mobile-category-bar {
    display: block;
  }

  .menu-layout {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .menu-sidebar {
    display: none;
  }

  .menu-content {
    padding-left: 0;
    border-left: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .menu-item-row {
    gap: 8px;
  }

  .menu-section-title {
    font-size: 1.5rem;
  }

  .menu-item--featured {
    padding: 18px 14px;
  }
}

/* --- Focus --- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* =============================================
   MENU ITEM CLICKABLE STYLES
   ============================================= */

.menu-item {
  cursor: pointer;
}

.menu-item-hint {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.menu-item:hover .menu-item-hint,
.menu-item:focus-visible .menu-item-hint {
  opacity: 1;
}

.menu-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* =============================================
   ITEM MODAL
   ============================================= */

.item-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  visibility: hidden;
}

.item-modal.is-open {
  pointer-events: auto;
  visibility: visible;
}

/* Backdrop */
.item-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 8, 12, 0);
  transition: background-color 0.35s ease;
  cursor: pointer;
}

.item-modal.is-open .item-modal-backdrop {
  background-color: rgba(30, 8, 12, 0.72);
}

/* Panel */
.item-modal-panel {
  position: relative;
  z-index: 1;
  background-color: var(--cream);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

.item-modal.is-open .item-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Close button */
.item-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  background-color: rgba(30, 8, 12, 0.55);
  color: var(--cream);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.item-modal-close:hover {
  background-color: rgba(30, 8, 12, 0.85);
}

.item-modal-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Image */
.item-modal-image-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}

.item-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-modal-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 8, 12, 0.55) 0%, transparent 60%);
}

.item-modal-category {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* Body */
.item-modal-body {
  padding: 28px 32px 32px;
}

.item-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.item-modal-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wine);
  line-height: 1.2;
}

.item-modal-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--wine);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 4px;
}

.item-modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.item-modal-divider span {
  display: block;
  flex: 1;
  height: 1px;
  background-color: rgba(74, 14, 26, 0.12);
}

.item-modal-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.item-modal-badge-wrap {
  margin-bottom: 20px;
}

.item-modal-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine-deep);
  background-color: var(--gold);
  padding: 4px 12px;
}

/* Actions */
.item-modal-actions {
  display: flex;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(74, 14, 26, 0.1);
  flex-wrap: wrap;
}

.item-modal-reserve {
  flex: 1;
  min-width: 160px;
  text-align: center;
  background-color: var(--wine);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
  transition: background-color 0.25s ease;
}

.item-modal-reserve:hover {
  background-color: var(--wine-mid);
}

.item-modal-call {
  flex: 1;
  min-width: 140px;
  text-align: center;
  background-color: transparent;
  color: var(--wine);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  border: 1.5px solid rgba(74, 14, 26, 0.3);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.item-modal-call:hover {
  border-color: var(--wine);
  background-color: rgba(74, 14, 26, 0.04);
}

/* Scrollbar styling inside modal */
.item-modal-panel::-webkit-scrollbar {
  width: 4px;
}
.item-modal-panel::-webkit-scrollbar-track {
  background: var(--cream-dark);
}
.item-modal-panel::-webkit-scrollbar-thumb {
  background: rgba(74, 14, 26, 0.25);
}

/* Responsive modal */
@media (max-width: 480px) {
  .item-modal {
    padding: 0;
    align-items: flex-end;
  }

  .item-modal-panel {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 0;
    transform: translateY(100%);
  }

  .item-modal.is-open .item-modal-panel {
    transform: translateY(0);
  }

  .item-modal-body {
    padding: 20px 20px 28px;
  }

  .item-modal-image-wrap {
    height: 200px;
  }
}

/* =============================================
   LANGUAGE TOGGLE
   ============================================= */

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 4px;
  border: 1px solid rgba(198, 167, 94, 0.35);
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  color: rgba(245, 239, 230, 0.65);
  border: none;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 11px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--gold-light);
  background-color: rgba(198, 167, 94, 0.1);
}

.lang-btn--active {
  background-color: var(--gold);
  color: var(--wine-deep);
}

.lang-btn--active:hover {
  background-color: var(--gold-light);
  color: var(--wine-deep);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

@media (max-width: 768px) {
  .lang-toggle {
    margin-right: 8px;
    display: flex;
  }
}
