:root {
  --item-border-width: 1px;
  --item-spacing: 14px;
  --bottom-img-height: 200px;
  --btn-bg: #1C1C37;
  --btn-color: #fff;
  --page-label-color: #4F2827;
  --footer-color: #888;
  --footer-font-size: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background: #fff;
  color: #000;
  line-height: 1.4;
}

/* Hero (početna) */
.hero {
  position: relative;
  width: 100%;
  height: 35vh;
  min-height: 180px;
  overflow: hidden;
}
.hero .bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.hero .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 40%;
  max-width: 180px;
  height: auto;
  z-index: 2;
}
.hero .hero-text {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  z-index: 2;
}

/* Glavni meni (index & jelovnik) */
#main-menu {
  padding: 0 10px;
}
.menu-item {
  display: block;
  margin: var(--item-spacing) 0 0 0;
  padding: 14px 10px;
  padding-right: 60px;
  border: var(--item-border-width) solid #ccc;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #000;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
}
.menu-item:active {
  opacity: 0.7;
}
.menu-item .note {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: red;
  font-size: 12px;
}

/* Sub-header */
.sub-header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.sub-header img {
  height: 80%;
}

/* Back-bar and page label */
.back-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.back-bar a {
  background: var(--btn-bg);
  color: var(--btn-color);
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
}
.back-bar a:active {
  opacity: 0.7;
}
.page-label {
  color: var(--page-label-color);
  font-weight: bold;
  font-size: 14px;
}

/* Dish list (wine & breakfast) */
.dish-list {
  padding: 0 10px;
}
.dish {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.dish-info {
  flex: 1;
  text-transform: uppercase;
}
.dish-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.ingredients {
  font-size: 12px;
  color: #888;
}
.dish-meta {
  text-align: right;
  margin-right: 80px;
  min-width: 70px;
}
.price {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.weight {
  font-size: 12px;
  color: #666;
}

/* Thumbnail for zoom */
.thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.thumb:active {
  opacity: 0.7;
}

/* Promo/footer image */
.promo {
  position: relative;
  width: 100%;
  height: var(--bottom-img-height);
  overflow: hidden;
  margin: var(--item-spacing) 0;
}
.promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.promo-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  z-index: 2;
}

/* Google review */
.google-review {
  text-align: center;
  margin: 20px 0 10px 0;
}
.google-review img {
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
.google-review a {
  font-size: 12px;
  color: #1C1C37;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #1C1C37;
  padding: 4px 8px;
  border-radius: 5px;
}

/* Contact info */
.contact-info {
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
}
.contact-info span {
  display: block;
  margin: 4px 0;
}
.contact-info i {
  margin-right: 6px;
}

/* Delivery footer */
.delivery-footer {
  text-align: center;
  padding: 12px 0;
  background: #f5f5f5;
}
.delivery-footer a {
  font-size: var(--footer-font-size);
  color: var(--footer-color);
  text-decoration: none;
}
.delivery-footer a:active {
  opacity: 0.7;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
}
.modal-content {
  max-width: 90%;
  max-height: 90%;
}
.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}
