:root{
  --bg: #f6f1ea;
  --text: #171513;
  --muted: #6f665f;
  --line: #d9d0c6;
  --line-strong: #cfc4b8;

  --footer-bg: #1d1d1f;
  --footer-bg-2: #2a2a2d;
  --footer-line: rgba(255,255,255,0.10);
  --footer-text: #f4efe8;
  --footer-muted: rgba(244,239,232,0.70);
  --footer-accent: #d7c0a5;

  --white: #ffffff;
  --overlay-dark: rgba(0,0,0,0.48);
  --overlay-soft: rgba(0,0,0,0.16);

  --footer-height: 430px;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.4;
}

a{
  color: inherit;
  text-decoration: none;
}

.container{
  width: min(1020px, 92%);
  margin: 0 auto;
}

.hero{
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #1b1b1b;
  z-index: 2;
}

.hero-bg{
  position: absolute;
  inset: -10% 0 -10% 0;
  background:
    linear-gradient(to bottom, var(--overlay-soft), var(--overlay-dark)),
    url("images/sportivo.png") center center / cover no-repeat;
  transform: translateY(0);
  will-change: transform;
  z-index: 0;
  opacity: 0;
  animation: heroFadeIn 1.4s ease forwards;
}

@keyframes heroFadeIn{
  from{
    opacity: 0;
    transform: scale(1.04);
  }
  to{
    opacity: 1;
    transform: scale(1);
  }
}

.hero-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.45)
  );
}

.hero-content{
  position: relative;
  z-index: 2;
  width: min(1120px, 92%);
  padding-top: 34px;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.topbar{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: auto;
}

.topbar a{
  opacity: 0.95;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: 0.2s ease;
  cursor: pointer;
}

.topbar a:hover{
  border-bottom-color: rgba(255,255,255,0.75);
}

.hero-center{
  max-width: 860px;
  margin: auto;
  text-align: center;
  padding-bottom: 0;
  transform: translateY(-80px);
}

.welcome-text{
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: welcomeFade 1s ease forwards;
  animation-delay: 0.6s;
}

@keyframes welcomeFade{
  from{
    opacity: 0;
    transform: translateY(14px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1{
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  font-family: "Times New Roman", Times, serif;
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 30px;

  opacity: 0;
  animation: titleFadeIn 1.4s ease forwards;
  animation-delay: 0.3s;
}
.hero h1{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.small-title{
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.big-title{
  font-size: clamp(3.8rem, 10vw, 7.5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes titleFadeIn{
  from{
    opacity: 0;
    transform: scale(1.04);
  }
  to{
    opacity: 1;
    transform: scale(1);
  }
}

.menu-mark{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 18px;
  letter-spacing: 0.35em;
  text-transform: uppercase;

  opacity: 0;
  animation: welcomeTextFade 1.4s ease forwards;
  animation-delay: 1s;
}

@keyframes welcomeTextFade{
  from{
    opacity: 0;
    transform: translateY(12px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-mark::before,
.menu-mark::after{
  content: "";
  width: 90px;
  height: 1px;
  background: rgba(255,255,255,0.72);
  display: block;
}

.site-main{
  position: relative;
  z-index: 3;
  background: var(--bg);
  margin-bottom: var(--footer-height);
}

.menu-section{
  background: rgb(214, 202, 187);
  position: relative;
  z-index: 3;
}

.category-bar{
  position: sticky;
  top: 0;
  z-index: 999;
  border-top: 1px solid rgba(140, 124, 110, 0.14);
border-bottom: 1px solid rgba(140, 124, 110, 0.16);
background: rgb(228, 219, 208);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar{
  display: none;
}

.category-bar.is-hidden{
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.category-scroll{
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: max-content;
  padding: 16px 20px 14px;
}

.category-scroll a{
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-bottom: 9px;
  border-bottom: 3px solid transparent;
  flex: 0 0 auto;
  transition: 0.15s ease;
   font-family: 'Manrope', sans-serif;
  font-weight: 500;
}

.category-scroll a.active,
.category-scroll a:hover{
  color: var(--text);
  border-bottom-color: var(--text);
}

.menu-list{
  padding: 26px 0 72px;
}

.menu-group{
  padding: 42px 0 0;
  scroll-margin-top: 90px;
}

.menu-group + .menu-group{
  margin-top: 10px;
}

.group-title{
  font-family: 'Cormorant Infant', serif;
  font-size: 38px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.group-sub{
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.group-sub-line{
  width: 100%;
  height: 3px;
  background: rgba(120, 100, 82, 0.45);
  margin-bottom: 8px;
}

.menu-item{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(110, 96, 87, 0.16);
}

.item-left{
  min-width: 0;
}

.item-name{
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.item-desc{
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.item-price{
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  padding-left: 12px;
}

.footer{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--footer-height);
  z-index: 1;
  color: var(--footer-text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 22%),
    linear-gradient(180deg, var(--footer-bg-2), var(--footer-bg));
  border-top: 1px solid var(--footer-line);
  overflow: hidden;
}

.footer-inner{
  width: min(1050px, 92%);
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-brand{
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 400;
}

.footer-line-deco{
  width: 110px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--footer-accent), transparent);
}

.footer-icons{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.footer-icons a{
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
  background: rgba(255,255,255,0.03);
}

.footer-icons a:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.07);
}

.footer-icons svg{
  width: 20px;
  height: 20px;
  fill: var(--footer-text);
}

.footer-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(760px, 100%);
  margin: 0 auto;
}

.footer-card{
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  border-radius: 18px;
}

.footer-label{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--footer-muted);
  margin-bottom: 10px;
}

.footer-value{
  font-size: 15px;
  color: var(--footer-text);
  line-height: 1.6;
}

.footer-value a{
  border-bottom: 1px solid rgba(255,255,255,0.20);
  transition: 0.2s ease;
}

.footer-value a:hover{
  border-bottom-color: rgba(255,255,255,0.75);
}

@media (max-width: 900px){
  :root{
    --footer-height: 500px;
  }

  .footer-grid{
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }
}

@media (max-width: 768px){
  :root{
    --footer-height: 560px;
  }

  .hero{
    min-height: 100svh;
  }

  .topbar{
    gap: 22px;
    font-size: 13px;
  }

  .hero-center{
    padding-bottom: 48px;
  }

  .menu-mark{
    font-size: 15px;
    gap: 12px;
  }

  .menu-mark::before,
  .menu-mark::after{
    width: 58px;
  }

  .group-title{
    font-size: 26px;
  }

  .item-name,
  .item-price{
    font-size: 16px;
  }

  .footer-brand{
    font-size: 1.65rem;
  }

  .footer-icons a{
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px){
  :root{
    --footer-height: 590px;
  }

  .footer-card{
    padding: 16px;
    border-radius: 16px;
  }

.footer-value{
  font-size: 14px;
}
}
.reveal-up{
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-up.show{
  opacity: 1;
  transform: translateY(0);
}
/* Sidrene cijene */
.item-price { text-align: right; flex-shrink: 0; }
.anchor-price, .anchor-date { color: var(--muted); font-weight: 400; }
.anchor-price { font-size: 12px; margin-top: 4px; }
.anchor-date { font-size: 11px; }
@media (max-width: 480px) { .menu-item { gap: 8px; } .item-left { overflow-wrap: anywhere; } .group-title { overflow-wrap: anywhere; } }
