:root {
  /* PROMJENA: Ovdje promijeni glavne boje stranice */
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201f1d;
  --color-accent: #b68235;
  --color-accent-dark: #7d5411;
  --color-divider: rgba(32,31,29,0.16);
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Lora', serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); font-size: 15px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; margin: 0; }
a { color: var(--color-accent); }
a:hover { color: var(--color-accent-dark); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 15px; border-radius: 4px; padding: 10px 20px; border: 1px solid transparent; }
.btn-outline-light { color: #f8f4f4; border-color: #f8f4f4; }
.btn-solid-light { color: var(--color-text); background: #f8f4f4; }
.btn-outline { color: var(--color-accent); border-color: var(--color-accent); }
.plate { filter: sepia(0.22) saturate(0.82) contrast(1.05); border: 6px solid var(--color-surface); outline: 1px solid var(--color-divider); box-sizing: border-box; }
.plate img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* header */
header.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--color-divider); gap: 12px; background: var(--color-bg); }

@media (max-width: 899px) {
  header.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: transform 0.3s ease; }
  header.site-nav.nav-hidden { transform: translateY(-100%); }
  body { padding-top: 66px; }
  #top { scroll-margin-top: 66px; }
}
.brand { display: flex; align-items: center; }
.brand .logo-img { height: 30px; width: auto; object-fit: contain; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 26px; height: 20px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--color-text); border-radius: 2px; }
nav.links { display: none; }
nav.links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); border-bottom: 1px solid var(--color-divider); z-index: 50; padding: 6px 0; }
nav.links.open a { padding: 13px 20px; text-align: center; }
nav.links a { text-decoration: none; color: inherit; font-size: 14px; }
#langToggle { cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 13px; color: var(--color-text); background: transparent; border: 1px solid var(--color-divider); border-radius: 4px; padding: 6px 12px; }

/* hero */
.hero { position: relative; height: 420px; }
.hero img.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 80%; }
.hero-video-wrap { position: absolute; inset: 0; overflow: hidden; background: #000; }
.hero-video-wrap iframe { position: absolute; top: 50%; left: 50%; width: auto; height: 420%; border: none; transform: translate(-50%, -58%); }
.hero .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32,31,29,0.35) 0%, rgba(32,31,29,0.55) 45%, rgba(32,31,29,0.78) 100%); pointer-events: none; }
.hero .content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; color: #f8f4f4; }
.hero .kicker { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #facb8d; margin-bottom: 12px; }
.hero h1 { font-weight: 400; font-size: 40px; line-height: 1.08; margin-bottom: 14px; }
.hero p { max-width: 30em; margin: 0 0 20px; font-style: italic; opacity: 0.95; font-size: 14px; }
.hero .cta { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; }

/* sections */
section { padding: 48px 20px; }
.section-intro { text-align: center; max-width: 40em; margin: 0 auto 32px; }
.section-intro .kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 9px; }
.section-intro h2 { font-size: 28px; margin-bottom: 12px; }

.menu-photos { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 14px; margin: 0 0 40px; -webkit-overflow-scrolling: touch; }
.menu-photos::-webkit-scrollbar { height: 4px; }
.menu-photos::-webkit-scrollbar-track { background: var(--color-divider); border-radius: 2px; }
.menu-photos::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 2px; }
.menu-photos .plate { flex: 0 0 94%; scroll-snap-align: center; height: auto; aspect-ratio: 3 / 4; filter: none; border: none; outline: none; }
.menu-photos .plate img { object-fit: contain; background: transparent; }
.menu-photos .plate { cursor: pointer; }
#about .section-intro { max-width: 44em; }
#menu { padding-bottom: 16px; }
#about { padding: 16px 20px 20px; }
#about .section-intro { margin-bottom: 0; }
#gallery { padding-top: 20px; }
.gallery-title { font-size: 20px; text-align: center; margin-bottom: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 14px; }
.gallery-grid .plate { border: none; outline: none; border-radius: 6px; overflow: hidden; box-shadow: 0 6px 18px rgba(32,31,29,0.22); cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.gallery-grid .plate:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(32,31,29,0.28); }
.gallery-grid .plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-grid .plate.featured { grid-column: span 2; grid-row: span 2; }

@media (min-width: 600px) and (max-width: 899px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.reviews { background: var(--color-surface); }
.reviews h2 { font-size: 26px; text-align: center; margin-bottom: 20px; }
.review-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 14px; }
.review-row::-webkit-scrollbar { height: 4px; }
.review-row::-webkit-scrollbar-track { background: var(--color-divider); border-radius: 2px; }
.review-row::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 2px; }
.review-card { min-width: 230px; min-height: 150px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px 18px; border-radius: 7px; background: var(--color-bg); border: 1px solid var(--color-divider); text-align: center; }
.review-card p { margin: 0; font-size: 12px; font-style: italic; opacity: 0.85; }
.review-card .attr { font-size: 10px; color: var(--color-accent-dark); text-decoration: none; }
.review-card .attr:hover { text-decoration: underline; }

.location { position: relative; height: 320px; padding: 0; }
.location img.location-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 68%; }
.location .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32,31,29,0.1), rgba(32,31,29,0.6)); pointer-events: none; }
.location .content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #f8f4f4; padding: 0 20px; }
.location h2 { font-size: 26px; margin-bottom: 10px; }
.location p { margin: 0 0 4px; font-size: 13px; }
.location .cta { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 300px; margin-top: 14px; }
.location .reservation-note { font-size: 12px; opacity: 0.85; margin-top: 16px; }
.location .reservation-note a { color: #f8f4f4; text-decoration: underline; }

footer { background: #201f1d; color: #f3f2f2; }
.footer-grid { display: flex; flex-direction: column; gap: 24px; padding: 32px 20px 16px; }
.footer-grid .brand-name { font-family: var(--font-heading); font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.footer-grid p { margin: 0 0 4px; font-size: 13px; opacity: 0.85; }
.footer-grid .kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; margin-bottom: 8px; }
.footer-social { display: flex; flex-direction: column; gap: 4px; }
.footer-social a { color: inherit; font-size: 13px; }
.copyright { padding: 12px 20px; border-top: 1px solid rgba(243,242,242,0.14); font-size: 11px; opacity: 0.6; }

/* suptilna animacija: sekcije se lagano podignu dok korisnik skrola */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* na desktopu: fotografije u galeriji se pojavljuju jedna po jedna */
@media (min-width: 900px) {
  #gallery .gallery-grid .plate { opacity: 0; transition: opacity 0.5s ease; }
  #gallery .gallery-grid.in-view .plate { opacity: 1; }
}

/* nagovještaj listanja prstom (mobitel) - sada klikabilni gumbi */
.carousel-wrap { position: relative; }
.swipe-hint { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: rgba(32,31,29,0.45); color: #f8f4f4; display: flex; align-items: center; justify-content: center; font-size: 12px; border: none; padding: 0; cursor: pointer; animation: swipe-pulse 1.8s ease-in-out infinite; z-index: 2; }
.swipe-hint:hover, .swipe-hint:active { background: rgba(32,31,29,0.7); }
.swipe-hint-left { left: 6px; }
.swipe-hint-right { right: 6px; }
.flat-arrows .swipe-hint-left, .flat-arrows .swipe-hint-right { background: none; color: rgba(32,31,29,0.55); font-size: 20px; animation: none; }
.flat-arrows .swipe-hint-left { left: 2px; }
.flat-arrows .swipe-hint-right { right: 2px; }
.flat-arrows .swipe-hint-left:hover, .flat-arrows .swipe-hint-left:active,
.flat-arrows .swipe-hint-right:hover, .flat-arrows .swipe-hint-right:active { background: none; color: rgba(32,31,29,0.8); }
@keyframes swipe-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* lightbox (klik na fotografiju u galeriji) */
.lightbox { position: fixed; inset: 0; background: rgba(10,9,8,0.92); display: none; align-items: center; justify-content: center; z-index: 999; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 16px; right: 16px; color: #f8f4f4; font-size: 30px; line-height: 1; background: none; border: none; cursor: pointer; padding: 8px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(248,244,244,0.14); border: none; color: #f8f4f4; font-size: 18px; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: rgba(248,244,244,0.24); }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
@media (min-width: 600px) {
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
}

/* desktop */
@media (min-width: 900px) {
  header.site-nav { display: grid; grid-template-columns: 1fr auto 1fr; padding: 14px 36px; }
  nav.links { display: flex; justify-content: center; gap: 28px; position: static; background: none; border-bottom: none; padding: 0; }
  nav.links a { padding: 0; }
  header.site-nav > .brand { justify-self: start; }
  header.site-nav > .nav-right { justify-self: end; }
  .nav-toggle { display: none; }
  .hero { height: 560px; }
  .hero h1 { font-size: 64px; }
  .hero p { max-width: 34em; font-size: 15px; }
  .hero .cta { flex-direction: row; max-width: none; justify-content: center; }
  .hero .cta .btn { min-width: 260px; }
  section { padding: 64px 36px; }
  .section-intro h2 { font-size: 34px; }
  .menu-photos { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 0; max-width: 1000px; margin: 0 auto 40px; }
  .menu-photos .plate { flex: initial; height: 540px; aspect-ratio: auto; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 16px; }
  #menu { padding-bottom: 32px; }
  #about { padding: 32px 36px 36px; }
  #gallery { padding-top: 36px; }
  .swipe-hint { display: none; }
  .location { height: 420px; }
  .location h2 { font-size: 34px; }
  .location .cta { flex-direction: row; max-width: none; justify-content: center; }
  .footer-grid { flex-direction: row; padding: 40px 36px 22px; }
  .footer-grid > div:first-child { flex: 1.4; }
  .footer-grid > div { flex: 1; }
  .copyright { padding: 14px 36px; }
}
