/* Bistro Hamburg – design tokeny + sekce */
:root {
  --uhel: #1d1d1b;
  --uhel-2: #272724;
  --labe: #b9d3ee;
  --labe-tm: #8fb4dc;
  --drevo: #b8651f;
  --drevo-sv: #e89a52;
  --krem: #f6f2ea;
  --pismo: #2a2a27;
  --nav-vyska: 72px;
  --bs-body-font-family: "Barlow", system-ui, sans-serif;
  --nadpis: "Barlow Condensed", "Arial Narrow", sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-vyska); }
body { font-family: var(--bs-body-font-family); font-size: 1.08rem; color: var(--pismo); background: var(--krem); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--drevo); }
a:hover { color: #8c4912; }

/* NAV */
.hb-nav { padding: .7rem 0; transition: background .3s, padding .3s, box-shadow .3s; }
.hb-nav.scrolled, .hb-nav.menu-open { background: rgba(29,29,27,.95); backdrop-filter: blur(8px); box-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hb-nav .navbar-brand img { display: block; height: 40px; width: auto; }
.hb-nav .nav-link { font-family: var(--nadpis); font-weight: 600; text-transform: uppercase; letter-spacing: .09em; font-size: 1.1rem; color: rgba(255,255,255,.85); padding: .5rem .8rem; }
.hb-nav .nav-link:hover, .hb-nav .nav-link.active { color: var(--drevo-sv); }
@media (max-width: 991.98px) {
  .hb-nav { background: rgba(29,29,27,.9); }
  .hb-nav .navbar-collapse { padding: .6rem 0 1rem; }
}

/* TLAČÍTKA */
.btn-hb, .btn-hb-ghost { font-family: var(--nadpis); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-radius: 6px; border: 2px solid var(--labe); }
.btn-hb { background: var(--labe); color: var(--uhel); }
.btn-hb:hover, .btn-hb:focus { background: #fff; border-color: #fff; color: var(--uhel); }
.btn-hb-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-hb-ghost:hover { background: #fff; color: var(--uhel); border-color: #fff; }

/* ÚVOD */
.hb-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--uhel); overflow: hidden; }
.hb-hero-bg { position: absolute; inset: 0; background: url("../img/foto/dsc02950.webp") 40% 40% / cover no-repeat; transform: scale(1.04); }
.hb-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(29,29,27,.7) 0%, rgba(29,29,27,.15) 35%, rgba(29,29,27,.55) 70%, rgba(29,29,27,.92) 100%); }
.hb-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1; background: repeating-linear-gradient(90deg, rgba(246,242,234,.06) 0 3px, transparent 3px 44px); -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent); pointer-events: none; }
.hb-hero-in { position: relative; z-index: 2; padding-top: calc(var(--nav-vyska) + 2rem); padding-bottom: 6.5rem; }
.hb-hero-logo { width: min(440px, 82%); height: auto; display: block; margin-bottom: 1.2rem; filter: drop-shadow(0 4px 24px rgba(0,0,0,.45)); }
.hb-hero-text { font-family: var(--nadpis); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1.6rem; text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.hb-scroll { position: absolute; z-index: 2; left: 50%; bottom: 1.4rem; transform: translateX(-50%); color: #fff; font-size: 1.8rem; opacity: .8; animation: hb-bounce 2.2s ease-in-out infinite; }
@keyframes hb-bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

.hb-next { display: flex; gap: 1rem; align-items: stretch; text-decoration: none; color: #fff; background: rgba(29,29,27,.72); backdrop-filter: blur(10px); border: 1px solid rgba(185,211,238,.35); border-radius: 14px; padding: .9rem; transition: transform .2s, border-color .2s; }
.hb-next:hover { transform: translateY(-3px); border-color: var(--labe); color: #fff; }
.hb-next-date { flex: 0 0 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--labe); color: var(--uhel); border-radius: 10px; font-family: var(--nadpis); line-height: 1; padding: .5rem 0; }
.hb-next-date b { font-size: 2.6rem; font-weight: 800; }
.hb-next-date i { font-style: normal; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: 1.05rem; }
.hb-next-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hb-next-body small { text-transform: uppercase; letter-spacing: .14em; color: var(--labe); font-size: .78rem; font-weight: 600; }
.hb-next-body strong { font-family: var(--nadpis); font-size: 1.55rem; line-height: 1.1; text-transform: uppercase; margin: .15rem 0 .3rem; }
.hb-next-body em { font-style: normal; color: var(--drevo-sv); font-weight: 600; }

/* SEKCE */
.hb-sec { position: relative; padding: 6rem 0; }
.hb-light { background: var(--krem); }
.hb-dark { background: var(--uhel); color: #ecebe6; }
.hb-kicker { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--nadpis); font-weight: 700; text-transform: uppercase; letter-spacing: .22em; font-size: 1rem; color: var(--drevo); margin-bottom: .6rem; }
.hb-kicker::before { content: ""; width: 34px; height: 3px; background: currentColor; }
.hb-dark .hb-kicker { color: var(--drevo-sv); }
.hb-h2 { font-family: var(--nadpis); font-weight: 800; text-transform: uppercase; font-size: clamp(2.7rem, 6.2vw, 4.8rem); line-height: .95; letter-spacing: -.005em; margin: 0 0 1.4rem; }
.hb-h3 { font-family: var(--nadpis); font-weight: 700; text-transform: uppercase; font-size: 1.7rem; letter-spacing: .02em; margin: 1.8rem 0 .6rem; }
.hb-sub { max-width: 640px; margin: 0 auto 2.5rem; font-size: 1.15rem; opacity: .85; }
.hb-slats { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 3px, transparent 3px 46px); pointer-events: none; }

/* O NÁS */
.hb-collage { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.hb-collage a { display: block; overflow: hidden; border-radius: 14px; box-shadow: 0 14px 34px rgba(29,29,27,.18); }
.hb-collage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.hb-collage a:hover img { transform: scale(1.05); }
.hb-c1 { aspect-ratio: 4/3; }
.hb-c2 { grid-column: 2; grid-row: 1 / span 2; }
.hb-c3 { aspect-ratio: 4/3; grid-column: 1; grid-row: 2; }
.hb-why { margin-top: 5rem; padding-top: 3rem; border-top: 3px solid var(--uhel); position: relative; }
.hb-why .hb-h3 { margin-top: 0; margin-bottom: 1.6rem; font-size: 2rem; }
.hb-why-i { height: 100%; background: #fff; border-radius: 14px; padding: 1.4rem 1.2rem; box-shadow: 0 6px 22px rgba(29,29,27,.07); display: flex; flex-direction: column; gap: .35rem; }
.hb-why-i i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--drevo); color: #fff; font-size: 1.4rem; margin-bottom: .5rem; }
.hb-why-i strong { font-family: var(--nadpis); font-size: 1.35rem; text-transform: uppercase; line-height: 1.1; }
.hb-why-i span { font-size: .98rem; line-height: 1.4; opacity: .8; }

/* KONCERTY */
.hb-alert { background: rgba(232,154,82,.15); border: 1px solid var(--drevo-sv); color: #fff; border-radius: 10px; }
.hb-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: #fff; background: var(--uhel-2); border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); transition: transform .25s, border-color .25s, box-shadow .25s; }
.hb-card:hover { transform: translateY(-6px); border-color: var(--labe); box-shadow: 0 18px 40px rgba(0,0,0,.45); color: #fff; }
.hb-card-img { display: block; overflow: hidden; background: #000; }
.hb-card-img img { display: block; width: 100%; height: auto; transition: transform .6s; }
.hb-card:hover .hb-card-img img { transform: scale(1.04); }
.hb-card-body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.2rem; margin-top: auto; }
.hb-card-body small { color: var(--labe); font-weight: 600; letter-spacing: .04em; }
.hb-card-body strong { font-family: var(--nadpis); font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; }
.hb-card-body em { font-style: normal; color: var(--drevo-sv); font-weight: 600; }
.hb-empty { text-align: center; padding: 3rem 1rem; border: 2px dashed rgba(255,255,255,.2); border-radius: 14px; max-width: 640px; margin: 0 auto; }
.hb-empty i { font-size: 2.6rem; color: var(--labe); }
.hb-cta { margin-top: 4rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding: 2rem; border-radius: 16px; background: linear-gradient(120deg, rgba(185,211,238,.14), rgba(184,101,31,.2)); border: 1px solid rgba(185,211,238,.3); }
.hb-cta h3 { font-family: var(--nadpis); font-weight: 800; text-transform: uppercase; font-size: 2rem; margin: 0 0 .2rem; }
.hb-cta p { margin: 0; opacity: .8; }

/* FIKTIVNÍ MOBIL S VIDEEM */
.hb-phone { position: relative; max-width: 340px; margin: 0 auto; aspect-ratio: 9/16; border: 10px solid #000; border-radius: 38px; overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.12); }
.hb-phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-play { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(29,29,27,.75); color: #fff; font-size: 1.5rem; display: grid; place-items: center; }

/* GALERIE */
.hb-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 2.5rem; }
.hb-gal a { display: block; overflow: hidden; border-radius: 10px; background: #000; aspect-ratio: 4/3; }
.hb-gal a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.hb-gal a:last-child:not(:first-child) { grid-column: span 2; aspect-ratio: auto; position: relative; }
.hb-gal a:last-child:not(:first-child) img { position: absolute; inset: 0; }
.hb-gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s, opacity .3s; }
.hb-gal a:hover img { transform: scale(1.05); opacity: .9; }
@media (min-width: 992px) { .hb-gal { grid-template-columns: repeat(3, 1fr); margin-top: 0; } .hb-gal a:last-child:not(:first-child) { grid-column: auto; aspect-ratio: 4/3; } .hb-gal a:last-child:not(:first-child) img { position: static; } }
@media (max-width: 767.98px) { .hb-gal { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* KONTAKT */
.hb-info { background: var(--uhel); color: #fff; border-radius: 16px; padding: 2rem; height: 100%; display: flex; flex-direction: column; }
.hb-info-foto { margin-top: auto; flex: 1 1 auto; min-height: 170px; border-radius: 12px; overflow: hidden; }
.hb-info-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-info-i { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
.hb-soc { margin-bottom: 1.4rem; }
.hb-info-i > i { flex: 0 0 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--labe); color: var(--uhel); font-size: 1.2rem; }
.hb-info-i h3 { font-family: var(--nadpis); text-transform: uppercase; font-size: 1.3rem; margin: 0 0 .1rem; letter-spacing: .05em; color: var(--labe); }
.hb-info-i p { margin: 0 0 .2rem; }
.hb-info a { color: #fff; }
.hb-info a:hover { color: var(--drevo-sv); }
.hb-soc { display: flex; gap: .6rem; }
.hb-soc a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); font-size: 1.2rem; }
.hb-form { background: #fff; border-radius: 16px; padding: 2rem; box-shadow: 0 10px 34px rgba(29,29,27,.08); }
.hb-form .form-label { font-weight: 600; font-size: .95rem; }
.hb-form .form-control { border-radius: 8px; padding: .65rem .9rem; border-color: #d6d2c8; }
.hb-form .form-control:focus { border-color: var(--labe-tm); box-shadow: 0 0 0 .25rem rgba(185,211,238,.5); }
.hb-form-msg { font-weight: 600; }
.hb-form-msg.ok { color: #1e7a3c; }
.hb-form-msg.err { color: #b3261e; }

/* PATIČKA */
.hb-foot { background: var(--uhel); color: rgba(255,255,255,.75); padding: 3rem 0 2.5rem; border-top: 6px solid var(--drevo); }
.hb-foot a { color: var(--labe); }
.hb-top { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; background: var(--labe); color: var(--uhel); display: grid; place-items: center; font-size: 1.3rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.hb-top.show { opacity: 1; visibility: visible; transform: none; }
.hb-top:hover { background: #fff; color: var(--uhel); }

/* ANIMACE: jemný náběh sekcí */
.js .hb-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .hb-reveal.in { opacity: 1; transform: none; }

@media (max-width: 767.98px) {
  .hb-sec { padding: 4rem 0; }
  .hb-hero-in { padding-bottom: 5rem; }
  .hb-cta { padding: 1.4rem; }
  .hb-cta .btn { width: 100%; }
  .hb-form, .hb-info { padding: 1.4rem; }
  .hb-hero .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hb-reveal { opacity: 1; transform: none; transition: none; }
  .hb-scroll { animation: none; }
  .hb-card, .hb-next, .hb-collage img, .hb-gal img { transition: none; }
}
