/* =========================================================
   Yuzu Cocktail Bar — dark editorial theme
   Palette from brand kit: maroon #501110, beige #DDC0A3,
   cream #F7F2EA, near-black #16090A
   Type: Bebas Neue (display) + Inter (body)
   ========================================================= */

:root {
  --yz-maroon: #501110;
  --yz-maroon-deep: #3a0c0b;
  --yz-beige: #ddc0a3;
  --yz-beige-soft: rgba(221, 192, 163, 0.65);
  --yz-cream: #f7f2ea;
  --yz-dark: #16090a;
  --yz-dark-2: #1f0e0f;
  --yz-line: rgba(221, 192, 163, 0.18);
  --yz-font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --yz-font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Base ---------- */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

.yuzu-body {
  background-color: var(--yz-dark);
  color: var(--yz-cream);
  font-family: var(--yz-font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .yz-display {
  font-family: var(--yz-font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--yz-cream);
  text-transform: uppercase;
}

a { color: var(--yz-beige); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--yz-cream); }

::selection { background: var(--yz-maroon); color: var(--yz-cream); }

.yz-muted { color: var(--yz-beige-soft); }

.yz-section { padding: 5.5rem 0; }
.yz-section-alt { background: var(--yz-dark-2); }

.yz-kicker {
  font-family: var(--yz-font-display);
  font-size: 1rem;
  letter-spacing: 0.35em;
  color: var(--yz-beige);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.yz-section-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

/* ---------- Buttons ---------- */

.yz-btn-primary,
.yz-btn-outline {
  font-family: var(--yz-font-display);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  padding: 0.65rem 1.8rem;
  border-radius: 0;
  transition: all 0.25s ease;
}

.yz-btn-primary {
  background: var(--yz-maroon);
  color: var(--yz-cream);
  border: 1px solid var(--yz-maroon);
}
.yz-btn-primary:hover {
  background: var(--yz-beige);
  border-color: var(--yz-beige);
  color: var(--yz-maroon);
}

.yz-btn-outline {
  background: transparent;
  color: var(--yz-beige);
  border: 1px solid var(--yz-beige);
}
.yz-btn-outline:hover {
  background: var(--yz-beige);
  color: var(--yz-maroon);
}

/* ---------- Header / nav ---------- */

.yz-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid var(--yz-line);
}

/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for position:fixed children, breaking the
   Bootstrap offcanvas menu (it would be clipped inside the header bar). */
.yz-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 9, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.yz-navbar { padding: 0.6rem 0; }
.yz-logo { height: 56px; width: auto; }
.yz-logo-sm { height: 44px; width: auto; }

.yz-navbar .nav-link {
  font-family: var(--yz-font-display);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  color: var(--yz-cream);
  padding: 0.5rem 0.9rem;
}
.yz-navbar .nav-link:hover,
.yz-navbar .nav-link.active { color: var(--yz-beige); }

.yz-toggler {
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
}
.yz-toggler span {
  width: 26px;
  height: 2px;
  background: var(--yz-cream);
  display: block;
}

.yz-offcanvas {
  background: var(--yz-dark-2);
  color: var(--yz-cream);
}

/* Cap the panel width only in real offcanvas (mobile) mode — on ≥md the same
   element renders inline in the navbar and a max-width would squeeze the nav. */
@media (max-width: 767.98px) {
  .yz-offcanvas { max-width: 320px; }
}

/* Language switcher */
.yz-lang-btn {
  font-family: var(--yz-font-display);
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--yz-beige);
  border: 1px solid var(--yz-line);
  border-radius: 0;
  padding: 0.35rem 0.8rem;
}
.yz-lang-btn:hover, .yz-lang-btn:focus { color: var(--yz-cream); border-color: var(--yz-beige); }
.yz-lang-menu {
  background: var(--yz-dark-2);
  border: 1px solid var(--yz-line);
  border-radius: 0;
  min-width: 5rem;
}
.yz-lang-menu .dropdown-item {
  font-family: var(--yz-font-display);
  letter-spacing: 0.14em;
  color: var(--yz-cream);
  padding: 0.45rem 1rem;
}
.yz-lang-menu .dropdown-item:hover { background: var(--yz-maroon); color: var(--yz-cream); }
.yz-lang-menu .dropdown-item.active { background: transparent; color: var(--yz-beige); }

.yz-lang-inline { display: flex; gap: 1rem; }
.yz-lang-inline a {
  font-family: var(--yz-font-display);
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: var(--yz-beige-soft);
}
.yz-lang-inline a.active { color: var(--yz-beige); border-bottom: 1px solid var(--yz-beige); }
.yz-offcanvas .nav-link { font-size: 1.5rem; padding: 0.75rem 0; }
.yz-offcanvas .offcanvas-header { border-bottom: 1px solid var(--yz-line); }

/* ---------- Hero ---------- */

.yz-hero { position: relative; }
.yz-hero .swiper { height: min(86svh, 820px); }

.yz-hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-color: var(--yz-maroon-deep);
}
.yz-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 9, 10, 0.25) 0%, rgba(22, 9, 10, 0.55) 55%, rgba(22, 9, 10, 0.92) 100%);
}

.yz-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 5rem;
}

.yz-hero-title {
  font-size: clamp(3.2rem, 10vw, 7rem);
  line-height: 0.95;
  margin-bottom: 0.5rem;
}
.yz-hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: var(--yz-beige);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.yz-hero .swiper-pagination-bullet { background: var(--yz-beige); opacity: 0.4; }
.yz-hero .swiper-pagination-bullet-active { opacity: 1; }

/* ---------- Concept cards ---------- */

.yz-value-card {
  border: 1px solid var(--yz-line);
  padding: 2.25rem 1.75rem;
  height: 100%;
  background: transparent;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.yz-value-card:hover { border-color: var(--yz-beige); transform: translateY(-4px); }
.yz-value-card h3 { font-size: 1.7rem; color: var(--yz-beige); }

/* ---------- Signature carousel ---------- */

.yz-signature .swiper-slide { height: auto; }

.yz-product-card {
  border: 1px solid var(--yz-line);
  background: var(--yz-dark-2);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.yz-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.9);
}
.yz-product-card .card-body { padding: 1.25rem 1.4rem 1.5rem; }
.yz-product-card h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.yz-product-price {
  font-family: var(--yz-font-display);
  color: var(--yz-beige);
  font-size: 1.25rem;
  white-space: nowrap;
}

/* ---------- Menu (editorial) ---------- */

.yz-menu-nav {
  position: sticky;
  top: 80px;
  z-index: 100;
  background: rgba(22, 9, 10, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--yz-line);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.yz-menu-nav::-webkit-scrollbar { display: none; }
.yz-menu-nav a {
  display: inline-block;
  font-family: var(--yz-font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  padding: 0.9rem 1.1rem;
  color: var(--yz-beige-soft);
}
.yz-menu-nav a:hover, .yz-menu-nav a.active { color: var(--yz-beige); }

.yz-menu-cat { padding-top: 3.5rem; }
.yz-menu-cat-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--yz-beige);
  border-bottom: 1px solid var(--yz-line);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.yz-menu-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(221, 192, 163, 0.12);
}
.yz-menu-item-name {
  font-family: var(--yz-font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}
.yz-menu-item-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(221, 192, 163, 0.35);
  transform: translateY(-4px);
  min-width: 2rem;
}
.yz-menu-item-price {
  font-family: var(--yz-font-display);
  font-size: 1.25rem;
  color: var(--yz-beige);
  white-space: nowrap;
}
.yz-menu-item-desc {
  font-size: 0.9rem;
  color: var(--yz-beige-soft);
  margin: 0.15rem 0 0;
  max-width: 44rem;
}
.yz-menu-item-meta { font-size: 0.78rem; color: rgba(247, 242, 234, 0.4); }

/* ---------- Events ---------- */

.yz-event-card {
  border: 1px solid var(--yz-line);
  background: var(--yz-dark-2);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.yz-event-card:hover { border-color: var(--yz-beige); transform: translateY(-4px); }

.yz-event-poster {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--yz-maroon-deep);
}
.yz-event-poster-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--yz-maroon) 0%, var(--yz-maroon-deep) 100%);
}
.yz-event-poster-placeholder img { width: 45%; opacity: 0.85; }

.yz-event-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.yz-event-date {
  font-family: var(--yz-font-display);
  letter-spacing: 0.2em;
  color: var(--yz-beige);
  font-size: 0.95rem;
}
.yz-event-name { font-size: 1.8rem; margin: 0.35rem 0 0.5rem; }
.yz-event-desc { color: var(--yz-beige-soft); font-size: 0.92rem; flex: 1; }
.yz-event-price {
  font-family: var(--yz-font-display);
  color: var(--yz-cream);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.yz-event-past { filter: grayscale(0.6); opacity: 0.7; }

/* ---------- Reservation form ---------- */

.yz-form-card {
  border: 1px solid var(--yz-line);
  background: var(--yz-dark-2);
  padding: 2.5rem 2rem;
}

.yz-input,
.yz-input:focus,
textarea.yz-input {
  background: transparent;
  border: 1px solid var(--yz-line);
  border-radius: 0;
  color: var(--yz-cream);
  padding: 0.7rem 0.9rem;
  font-weight: 300;
}
.yz-input:focus {
  border-color: var(--yz-beige);
  box-shadow: none;
  background: rgba(221, 192, 163, 0.04);
}
.yz-input::placeholder { color: rgba(247, 242, 234, 0.35); }

.form-label {
  font-family: var(--yz-font-display);
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--yz-beige);
}

.form-check-input {
  background-color: transparent;
  border-color: var(--yz-beige-soft);
}
.form-check-input:checked { background-color: var(--yz-maroon); border-color: var(--yz-maroon); }

/* Native pickers legible on dark bg */
input[type='date'].yz-input,
input[type='time'].yz-input { color-scheme: dark; }

select.yz-input option { background: var(--yz-dark-2); color: var(--yz-cream); }

.yz-form-feedback { min-height: 1.25rem; color: var(--yz-beige); }
.yz-form-feedback.error { color: #e98989; }
.yz-form-feedback.success { color: #9fd6a8; }

/* ---------- Success panel ---------- */

.yz-confirm {
  border: 1px solid var(--yz-beige);
  padding: 3rem 2rem;
  text-align: center;
}
.yz-confirm h2 { color: var(--yz-beige); }

/* ---------- Footer ---------- */

.yz-footer {
  background: var(--yz-maroon-deep);
  border-top: 1px solid var(--yz-line);
  padding: 4.5rem 0 0;
  margin-top: 5rem;
}
.yz-footer-logo { height: 84px; width: auto; }
.yz-footer-tagline { color: var(--yz-beige-soft); max-width: 22rem; }

.yz-footer-title {
  font-size: 1.15rem;
  letter-spacing: 0.25em;
  color: var(--yz-beige);
  margin-bottom: 1rem;
}
.yz-footer-links { list-style: none; padding: 0; margin: 0; }
.yz-footer-links li { margin-bottom: 0.55rem; }
.yz-footer-links a { color: var(--yz-cream); font-size: 0.92rem; }
.yz-footer-links a:hover { color: var(--yz-beige); }
.yz-footer-hours { font-size: 0.88rem; color: var(--yz-cream); }
.yz-footer-hours span { color: var(--yz-beige-soft); font-size: 0.8rem; letter-spacing: 0.06em; }

.yz-social { display: flex; gap: 1.25rem; }
.yz-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--yz-font-display);
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}
.yz-social svg { flex-shrink: 0; }

.yz-newsletter .yz-input { margin-bottom: 0.65rem; }

.yz-footer-bottom {
  border-top: 1px solid var(--yz-line);
  margin-top: 3.5rem;
  padding: 1.5rem 0 2rem;
  font-size: 0.82rem;
  color: var(--yz-beige-soft);
  text-align: center;
}
.yz-footer-bottom a { color: var(--yz-beige-soft); text-decoration: underline; }

/* ---------- Sticky mobile CTA ---------- */

.yz-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: var(--yz-maroon);
  color: var(--yz-cream);
  font-family: var(--yz-font-display);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(247, 242, 234, 0.15);
}
.yz-sticky-cta:hover { color: var(--yz-cream); background: var(--yz-maroon-deep); }

@media (max-width: 767.98px) {
  .yuzu-body { padding-bottom: 64px; }
  body[data-page='rezervari'] .yz-sticky-cta { display: none !important; }
}

/* ---------- Map / contact ---------- */

.yz-map-frame {
  width: 100%;
  height: 380px;
  border: 1px solid var(--yz-line);
  filter: grayscale(1) invert(0.9) hue-rotate(180deg);
}

.yz-contact-list { list-style: none; padding: 0; }
.yz-contact-list li { margin-bottom: 0.9rem; }
.yz-contact-label {
  font-family: var(--yz-font-display);
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--yz-beige-soft);
  display: block;
}

/* ---------- Reveal on scroll ---------- */

.yz-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.yz-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .yz-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- First visit: language picker ---------- */

.yz-lang-preference-modal .modal-backdrop.show {
  opacity: 0.88;
}

.yz-lang-preference-modal-content {
  background: var(--yz-dark-2);
  border: 1px solid var(--yz-line);
  border-radius: 0;
  color: var(--yz-cream);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.yz-lang-preference-modal .modal-header {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding-top: 1.75rem;
}

.yz-lang-preference-logo {
  width: 56px;
  height: auto;
}

.yz-lang-preference-title {
  font-family: var(--yz-font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yz-cream);
  margin: 0;
}

.yz-lang-preference-subtitle {
  color: var(--yz-beige-soft);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.yz-lang-flag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .yz-lang-flag-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .yz-lang-flag-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.yz-lang-flag-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 7.5rem;
  padding: 1rem 0.5rem;
  background: rgba(22, 9, 10, 0.65);
  border: 1px solid var(--yz-line);
  color: var(--yz-cream);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.yz-lang-flag-card:hover {
  border-color: var(--yz-beige);
  background: rgba(80, 17, 16, 0.45);
  transform: translateY(-2px);
}

.yz-lang-flag-card:focus-visible {
  outline: 2px solid var(--yz-beige);
  outline-offset: 2px;
}

.yz-lang-flag-card-emoji {
  font-size: 1.75rem;
  line-height: 1;
}

.yz-lang-flag-card-country {
  font-family: var(--yz-font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--yz-beige);
  text-align: center;
}

.yz-lang-flag-card-code {
  font-family: var(--yz-font-display);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--yz-beige-soft);
}
