/* ============ Vinny bar U Vinaru - prezentacni web ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --wine: #6d1f3d;
  --wine-dark: #571731;
  --ink: #241419;
  --ink-soft: #37222b;
  --gold: #c19a5b;
  --gold-dark: #a8834a;
  --bg: #f7f2ec;
  --text: #2c2127;
  --muted: #8d7c84;
  --border: #e8dfe3;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(60, 20, 40, .08), 0 4px 14px rgba(60, 20, 40, .05);
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.55;
  font-size: 16.5px;
}
.icon { flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 13px 22px; font-size: 16px; font-weight: 600;
  cursor: pointer; text-decoration: none; color: var(--text); background: #ece5e8;
  min-height: 48px; font-family: inherit;
}
.btn-gold { background: var(--gold); color: #241419; font-weight: 700; }
.btn-gold:active { background: var(--gold-dark); }
.btn-outline-light { background: transparent; border: 1.5px solid rgba(255, 255, 255, .65); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-big { font-size: 18px; padding: 14px 28px; }

/* --- hero --- */
.whero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; flex-direction: column; color: #fff; overflow: hidden; }
.whero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.whero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 10, 16, .72) 0%, rgba(24, 10, 16, .45) 40%, rgba(24, 10, 16, .78) 100%); }
.wnav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px 0; max-width: 1060px; margin: 0 auto; width: 100%; }
.wnav-logo { height: 76px; width: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .45)); }
.wnav-links { display: flex; gap: 4px 20px; flex-wrap: wrap; justify-content: flex-end; }
.wnav-links a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .9; padding: 6px 2px; }
.wnav-links a:hover { opacity: 1; color: var(--gold); }
.whero-content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px 60px; }
.whero-kicker { text-transform: uppercase; letter-spacing: .35em; font-size: 13px; opacity: .85; margin-bottom: 14px; }
.whero-content h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(34px, 8vw, 64px); line-height: 1.12; text-wrap: balance; }
.worn { display: flex; align-items: center; gap: 14px; margin: 18px 0 10px; color: var(--gold); }
.worn span { display: block; width: 54px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.worn span:last-child { background: linear-gradient(270deg, transparent, var(--gold)); }
.whero-sub { font-family: Georgia, serif; font-style: italic; font-size: clamp(17px, 3.5vw, 22px); opacity: .9; }
.whero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.whero-scroll { position: absolute; z-index: 2; bottom: 14px; left: 50%; transform: translateX(-50%); color: #fff; opacity: .7; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
@media (prefers-reduced-motion: reduce) { .whero-scroll { animation: none; } }

/* --- pas pod herem --- */
.wstrip { background: var(--ink); color: #e9ddce; }
.wstrip-in { max-width: 1060px; margin: 0 auto; display: flex; justify-content: center; gap: 18px 44px; flex-wrap: wrap; padding: 15px 20px; }
.wstrip-in span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .05em; }
.wstrip-in .icon { color: var(--gold); }

/* --- sekce --- */
.wsec { padding: 64px 20px; background: #fff; }
.wsec-alt { background: var(--bg); }
.wsec-dark { background: var(--ink); color: #f0e6da; }
.wsec-in { max-width: 1060px; margin: 0 auto; }
.wkicker { text-transform: uppercase; letter-spacing: .3em; font-size: 12px; font-weight: 700; color: var(--gold-dark); margin-bottom: 8px; }
.wsec-dark .wkicker { color: var(--gold); }
.wtitle { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin-bottom: 22px; color: var(--ink); text-wrap: balance; }
.wsec-dark .wtitle { color: #fff; }

/* --- o nas --- */
.wsplit { display: grid; gap: 34px; align-items: center; }
.wsplit-text p { margin-bottom: 14px; color: #4a3a41; }
.wsplit-text strong { color: var(--ink); }
.wquote { font-family: Georgia, serif; font-style: italic; font-size: 19px; color: var(--wine); border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; margin-top: 20px; }
.wsplit-img img { width: 100%; border-radius: var(--radius); box-shadow: 0 14px 40px rgba(36, 20, 25, .18); display: block; }

/* --- nabidka --- */
.wcards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.wcard { background: #fff; border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); }
.wcard-ic { color: var(--wine); margin-bottom: 12px; }
.wcard h3 { font-family: Georgia, serif; font-weight: 400; font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.wcard p { color: #4a3a41; font-size: 15px; }

/* --- akce --- */
.wevents { display: grid; gap: 14px; }
.wevent { background: var(--ink-soft); border: 1px solid rgba(193, 154, 91, .25); border-radius: var(--radius); padding: 22px; }
.wevent-date { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.wevent h3 { font-family: Georgia, serif; font-weight: 400; font-size: 22px; margin-bottom: 8px; color: #fff; }
.wevent p { color: #d9cabc; font-size: 15px; }
.wevents-note { margin-top: 18px; color: #bda893; font-size: 14.5px; }
.wevents-note a { color: var(--gold); }

/* --- burcak pas --- */
.wburcak { background: linear-gradient(120deg, var(--wine-dark), #8b2a52); color: #fff; padding: 40px 20px; }
.wburcak-in { max-width: 1060px; margin: 0 auto; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.wburcak-ic { color: #f0d9e3; flex-shrink: 0; }
.wburcak-text { flex: 1; min-width: 230px; }
.wburcak-text h2 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(22px, 4vw, 30px); margin-bottom: 6px; }
.wburcak-text p { opacity: .9; font-size: 15.5px; }

/* --- galerie --- */
.wgallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wg-item { border: 0; padding: 0; background: none; cursor: pointer; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.wg-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.wg-item:hover img { transform: scale(1.05); }
.wg-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* --- lightbox --- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15, 6, 10, .93); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lb-close, .lb-prev, .lb-next { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; opacity: .8; font-family: inherit; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 10px; right: 18px; font-size: 44px; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 64px; line-height: 1; padding: 20px 14px; }
.lb-prev { left: 4px; }
.lb-next { right: 4px; }

/* --- kontakt --- */
.wcontact { display: grid; gap: 30px; }
.wc-row { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.wc-row .icon { color: var(--wine); margin-top: 3px; }
.wc-strong { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
.wmuted { color: var(--muted); font-size: 14px; }
.wc-social, .wc-maps { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.wcontact-hours h3 { display: flex; align-items: center; gap: 8px; font-family: Georgia, serif; font-weight: 400; font-size: 21px; margin-bottom: 12px; color: var(--ink); }
.wcontact-hours h3 .icon { color: var(--wine); }
.whours { width: 100%; border-collapse: collapse; max-width: 380px; }
.whours td { padding: 8px 4px; border-bottom: 1px solid var(--border); font-size: 15.5px; }
.whours td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.whours tr.today td { color: var(--wine); font-weight: 700; }
.whours tr.today td:first-child::after { content: " · dnes"; font-size: 12px; font-weight: 600; color: var(--gold-dark); }
.whours-note { margin-top: 14px; max-width: 380px; }

/* --- paticka --- */
.wfoot { background: var(--ink); color: #b7a496; text-align: center; padding: 36px 20px calc(28px + env(safe-area-inset-bottom)); }
.wfoot-logo { height: 96px; margin-bottom: 12px; }
.wfoot p { font-size: 14px; }
.wfoot-admin { margin-top: 8px; }
.wfoot-admin a { color: #8a766a; font-size: 12.5px; text-decoration: none; }
.wfoot-admin a:hover { color: var(--gold); }

/* --- desktop --- */
@media (min-width: 760px) {
  .wsec { padding: 84px 24px; }
  .wsplit { grid-template-columns: 1.15fr .85fr; gap: 54px; }
  .wcards { grid-template-columns: repeat(4, 1fr); }
  .wevents { grid-template-columns: repeat(2, 1fr); }
  .wgallery { grid-template-columns: repeat(4, 1fr); }
  .wcontact { grid-template-columns: 1.1fr .9fr; gap: 54px; }
  .wnav-logo { height: 92px; }
}

/* --- kontaktni formular --- */
.wform { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 22px; margin-top: 34px; }
.wform h3 { font-family: Georgia, serif; font-weight: 400; font-size: 22px; color: var(--ink); margin-bottom: 4px; }
.wform > p { margin-bottom: 16px; }
.wform label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 14px; }
.wform input, .wform textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font-size: 16px;
  border: 1.5px solid var(--border); border-radius: 12px; background: #fff;
  color: var(--text); font-family: inherit;
}
.wform input:focus, .wform textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(109, 31, 61, .12); }
.wform-grid { display: grid; gap: 0 14px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.wevents-empty { color: #d9cabc; }
.wevents-empty a { color: var(--gold); }
@media (min-width: 760px) {
  .wform { padding: 30px; }
  .wform-grid { grid-template-columns: 1fr 1fr; }
}

[hidden] { display: none !important; }

/* tlacitko pridat do kalendare u akci */
.wevent-cal { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 8px 14px; border: 1px solid rgba(193, 154, 91, .45); border-radius: 10px; color: var(--gold); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.wevent-cal:hover { background: rgba(193, 154, 91, .12); }

/* MENU tlacitko a fotky akci */
.btn-menu { border-color: var(--gold); color: var(--gold); font-weight: 700; letter-spacing: .08em; }
.btn-menu:hover { background: rgba(193, 154, 91, .15); }
.wevent { overflow: hidden; }
.wevent-photo { display: block; width: calc(100% + 44px); margin: -22px -22px 16px; aspect-ratio: 16 / 7; object-fit: cover; }

/* aktualita v uvodu (zavreno, dovolena, zmeny) */
.wnotice { display: flex; gap: 14px; align-items: flex-start; text-align: left; background: var(--bg); color: var(--ink); border-left: 6px solid var(--gold); border-radius: 14px; padding: 15px 20px; margin: 6px auto 24px; max-width: 640px; width: 100%; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); font-size: 16.5px; line-height: 1.45; }
.wnotice .icon { color: var(--wine); flex-shrink: 0; margin-top: 2px; }
.wnotice-title { display: block; font-family: Georgia, serif; font-size: 20px; color: var(--wine); letter-spacing: .02em; margin-bottom: 3px; }
.wnotice-text { display: block; white-space: pre-line; }
