/* Maca — presentation site */
:root {
  --cream: #f7f1e6;
  --wood: #8b6b4a;
  --ink: #2a2118;
  --leaf: #2f4a3a;
  --leaf-deep: #243a2e;
  --amber: #e8c17a;
  --linen: #fffcf7;
  --ink-muted: rgba(42, 33, 24, 0.68);
  --shadow: rgba(42, 33, 24, 0.12);
  --font-display: "Great Vibes", cursive;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --nav-h: 5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 10% 0%, rgba(232, 193, 122, 0.18), transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 20%, rgba(47, 74, 58, 0.08), transparent 45%),
    linear-gradient(180deg, var(--cream) 0%, #efe6d6 40%, var(--cream) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--leaf);
}

:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}

.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;
}

/* Language visibility */
html[lang="sr"] .lang-en,
html[lang="en"] .lang-sr {
  display: none !important;
}

html[lang="sr"] .lang-sr,
html[lang="en"] .lang-en {
  display: inline;
}

html[lang="sr"] .lang-sr.block,
html[lang="en"] .lang-en.block,
html[lang="sr"] .menu-item-en.lang-sr,
html[lang="en"] .menu-item-en.lang-en {
  display: block !important;
}

/* Layout helpers */
.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 36rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* Reed texture (very subtle) */
.reed {
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 11px,
    rgba(139, 107, 74, 0.035) 11px,
    rgba(139, 107, 74, 0.035) 12px
  );
}

/* ---------- Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 241, 230, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(42, 33, 24, 0.08);
}

.site-header:not(.is-scrolled):not(.is-open) {
  color: var(--linen);
}

.site-header:not(.is-scrolled):not(.is-open) .logo-word {
  color: var(--linen);
}

.site-header:not(.is-scrolled):not(.is-open) .logo-vine path,
.site-header:not(.is-scrolled):not(.is-open) .logo-vine circle {
  fill: var(--linen);
}

.site-header:not(.is-scrolled):not(.is-open) .logo-vine path[stroke] {
  stroke: var(--linen);
  fill: none;
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  width: min(1180px, calc(100% - 1.5rem));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  justify-self: center;
  grid-column: 2;
}

.logo:hover {
  color: inherit;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.logo-word {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 3.4rem);
  line-height: 0.9;
  color: var(--ink);
  padding: 0 0.15rem;
  transition: color 0.3s;
}

.logo-vine {
  width: clamp(1.5rem, 4vw, 1.85rem);
  height: clamp(2rem, 5vw, 2.45rem);
  flex-shrink: 0;
  opacity: 0.9;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-left {
  grid-column: 1;
  justify-self: start;
}

.nav-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.92;
  white-space: nowrap;
}

.nav-links a:hover {
  opacity: 1;
  color: inherit;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid currentColor;
  border-radius: 2px;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--leaf);
  color: var(--linen);
  opacity: 1;
}

.site-header:not(.is-scrolled):not(.is-open) .lang-toggle button[aria-pressed="true"] {
  background: var(--linen);
  color: var(--ink);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: rgba(247, 241, 230, 0.98);
  padding: 2rem 1.5rem;
  z-index: 99;
}

.site-header.is-open + .nav-mobile,
.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nav-mobile a {
  font-size: 1.35rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
}

@media (min-width: 960px) {
  .nav-mobile {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--linen);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42, 33, 24, 0.45) 0%, rgba(42, 33, 24, 0.25) 35%, rgba(42, 33, 24, 0.72) 100%),
    linear-gradient(90deg, rgba(42, 33, 24, 0.35), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) 0 clamp(3.5rem, 10vw, 5.5rem);
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 9.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.15s forwards;
}

.hero-line {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.35s forwards;
  color: rgba(255, 252, 247, 0.9);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.55s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  border-radius: 2px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: var(--leaf);
  color: var(--linen);
  border-color: var(--leaf);
}

.btn-primary:hover {
  background: var(--leaf-deep);
  color: var(--linen);
}

.btn-ghost {
  background: transparent;
  color: var(--linen);
  border-color: rgba(255, 252, 247, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 252, 247, 0.12);
  color: var(--linen);
}

.btn-outline {
  background: transparent;
  color: var(--leaf);
  border-color: var(--leaf);
}

.btn-outline:hover {
  background: var(--leaf);
  color: var(--linen);
}

/* ---------- About ---------- */
.about {
  position: relative;
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(42, 33, 24, 0.25));
  pointer-events: none;
}

/* ---------- Menu ---------- */
.menu {
  background: linear-gradient(180deg, rgba(47, 74, 58, 0.06), transparent 30%),
    var(--linen);
  border-block: 1px solid rgba(139, 107, 74, 0.18);
}

.menu-note {
  margin: -0.5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.menu-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.menu-cats a {
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--leaf);
  border: 1px solid rgba(47, 74, 58, 0.35);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.menu-cats a:hover {
  background: var(--leaf);
  color: var(--linen);
}

.menu-block {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

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

.menu-block h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--leaf);
  border-bottom: 1px solid rgba(139, 107, 74, 0.25);
  padding-bottom: 0.35rem;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

@media (min-width: 720px) {
  .menu-list.cols-2 {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px dotted rgba(139, 107, 74, 0.28);
}

.menu-item-name {
  font-weight: 600;
  color: var(--ink);
}

.menu-item-en {
  display: block;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-top: 0.1rem;
}

.menu-item-price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--wood);
  white-space: nowrap;
}

.menu-sub {
  margin: 1.25rem 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood);
}

/* ---------- Reviews ---------- */
.reviews {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  background:
    linear-gradient(180deg, transparent, rgba(232, 193, 122, 0.12), transparent);
}

.reviews-inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 760px) {
  .reviews-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }
}

.reviews .section-head {
  margin-bottom: 1.25rem;
}

.reviews-cta {
  margin-top: 0.25rem;
}

.reviews-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--linen);
  border: 1px solid rgba(139, 107, 74, 0.28);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.reviews-card:hover {
  color: var(--ink);
  border-color: var(--leaf);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--shadow);
}

.reviews-card-brand {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(42, 33, 24, 0.12);
  font-weight: 700;
  font-size: 1.35rem;
  color: #4285f4;
  flex-shrink: 0;
}

.reviews-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.reviews-card-body strong {
  font-size: 1.05rem;
}

.reviews-stars {
  color: #f4b400;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  line-height: 1;
}

.reviews-card-body .lang-sr,
.reviews-card-body .lang-en {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
  }

  .gallery-grid figure:first-child {
    grid-row: 1 / 3;
  }
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--linen);
  background: linear-gradient(transparent, rgba(42, 33, 24, 0.7));
}

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(160deg, var(--leaf-deep) 0%, var(--leaf) 55%, #3a5c4a 100%);
  color: var(--linen);
}

.contact .section-head h2 {
  color: var(--linen);
}

.contact .section-head p {
  color: rgba(255, 252, 247, 0.78);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: stretch;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-block h3 {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.contact-block p,
.contact-block a {
  margin: 0;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--linen);
}

.contact-block a:hover {
  color: var(--amber);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact .btn-primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

.contact .btn-primary:hover {
  background: #f0d195;
  color: var(--ink);
}

.contact .btn-ghost {
  border-color: rgba(255, 252, 247, 0.45);
}

.map-frame {
  min-height: 280px;
  height: 100%;
  border: 0;
  width: 100%;
  filter: grayscale(0.15) contrast(1.02);
  background: rgba(0, 0, 0, 0.2);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 1.5rem 0 2rem;
  background: var(--ink);
  color: rgba(255, 252, 247, 0.65);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--linen);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-brand,
  .hero-line,
  .hero-cta,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
