/* ===========================================================
   DOLYSSIMO — dolyssimo.sk
   Farby a štýly celého webu. Upravuj hodnoty v :root.
   =========================================================== */

:root {
  --espresso: #2B1D14;
  --espresso-soft: #4A3527;
  --crema: #FBF6EE;
  --crema-deep: #F3EADC;
  --karamel: #D6554C;        /* maková červená (vlčí mak z loga) */
  --karamel-dark: #AE3B33;   /* tmavšia maková */
  --malina: #D6456B;
  --pistacia: #5E8C4A;       /* listová zelená z plagátov */
  --list-dark: #4E7437;      /* tmavšia listová */
  --text: #2B1D14;
  --text-muted: #7A6A5B;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(43, 29, 20, 0.10);
  --maxw: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--crema);
}

h1, h2, h3, .display { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; }

a { color: var(--karamel-dark); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section-label {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--list-dark); margin-bottom: 0.75rem;
}
.muted { color: var(--text-muted); }

/* ---------- Navigácia ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43,29,20,0.08);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.7rem 1.25rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-logo { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 600; color: var(--espresso); text-decoration: none; }
.nav-logo span { color: var(--karamel); }
.nav-links { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; color: var(--espresso-soft); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--karamel-dark); }
.nav-cta {
  background: var(--espresso); color: var(--crema) !important; padding: 0.5rem 1.1rem;
  border-radius: 999px; font-weight: 500;
}
.nav-cta:hover { background: var(--espresso-soft); }
.nav-toggle { display: none; margin-left: auto; background: none; border: none; font-size: 1.6rem; color: var(--espresso); cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--crema); flex-direction: column; padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(43,29,20,0.1); align-items: flex-start;
  }
  .nav-links.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--espresso); color: var(--crema); overflow: hidden; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 5.5rem 1.25rem 6.5rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.hero h1 { color: var(--crema); }
.hero h1 em { font-style: italic; color: #E8756C; }
.hero p.lead { font-size: 1.15rem; color: rgba(251,246,238,0.8); margin: 1.25rem 0 2rem; max-width: 32rem; }
.hero-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.badge {
  font-size: 0.85rem; padding: 0.35rem 0.9rem; border-radius: 999px;
  background: rgba(251,246,238,0.12); color: var(--crema); border: 1px solid rgba(251,246,238,0.2);
}
.btn {
  display: inline-block; padding: 0.85rem 1.8rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1rem; transition: transform 0.15s, background 0.2s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--karamel); color: #fff; }
.btn-primary:hover { background: var(--karamel-dark); }
.btn-outline { background: transparent; color: var(--crema); border: 1.5px solid rgba(251,246,238,0.4); margin-left: 0.6rem; }
.btn-outline:hover { border-color: var(--crema); }
.btn-dark { background: var(--espresso); color: var(--crema); }
.btn-dark:hover { background: var(--espresso-soft); }

.hero-visual { position: relative; min-height: 320px; }
.hero-circle {
  position: absolute; border-radius: 50%; border: 2px solid rgba(214,85,76,0.45);
}
.hero-photo {
  width: 100%; aspect-ratio: 4/5; max-height: 430px; border-radius: var(--radius);
  object-fit: cover; box-shadow: var(--shadow);
  background: linear-gradient(160deg, #4A3527, #2B1D14);
}
.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: rgba(251,246,238,0.5); font-size: 0.9rem; gap: 0.5rem;
  border: 2px dashed rgba(251,246,238,0.25);
}

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; padding: 3.5rem 1.25rem 4.5rem; }
  .hero-visual { display: none; }
}

/* Vlnkový oddeľovač (šľahačkový okraj) */
.scallop { display: block; width: 100%; height: 40px; margin-top: -1px; }

/* ---------- Karty ponuky ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: #fff; border-radius: var(--radius); padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(43,29,20,0.06);
}
.card .icon {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 1rem;
  background: var(--crema-deep);
}
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 0.95rem; color: var(--text-muted); }

/* ---------- Vernostná sekcia (teaser) ---------- */
.loyalty-teaser {
  background: var(--espresso); border-radius: 24px; color: var(--crema);
  padding: 3rem; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center;
  position: relative; overflow: hidden;
}
.loyalty-teaser::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  border-radius: 50%; border: 2px solid rgba(214,85,76,0.4);
}
.loyalty-teaser h2 { color: var(--crema); }
.loyalty-teaser p { color: rgba(251,246,238,0.8); margin: 1rem 0 1.75rem; }
.stamps-demo { display: flex; gap: 9px; flex-wrap: wrap; }
.stamp-demo {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem;
}
.stamp-demo.f { background: var(--crema); color: var(--espresso-soft); }
.stamp-demo.e { border: 2px dashed rgba(251,246,238,0.4); color: rgba(251,246,238,0.4); font-size: 0.9rem; }
.stamp-demo.g { background: var(--karamel); color: #fff; }
@media (max-width: 760px) { .loyalty-teaser { grid-template-columns: 1fr; padding: 2rem; } }

/* ---------- Plagáty aktuálnych ponúk ---------- */
.poster {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 16px rgba(43,29,20,0.10); text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.poster:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(43,29,20,0.18); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-label {
  position: absolute; left: 12px; bottom: 12px; background: rgba(43,29,20,0.85);
  color: var(--crema); font-size: 0.85rem; font-weight: 500; padding: 0.4rem 0.9rem;
  border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Galéria ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery a {
  display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1;
  box-shadow: 0 4px 14px rgba(43,29,20,0.08); transition: transform 0.2s, box-shadow 0.2s;
}
.gallery a:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(43,29,20,0.16); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Rezervácia stola ---------- */
.rez-box { background: #fff; border-radius: 24px; padding: 2rem; box-shadow: 0 4px 16px rgba(43,29,20,0.06); }
.rez-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.rez-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--espresso-soft); }
.rez-field .app-input { width: 100%; }
.rez-wide { grid-column: 1 / -1; }
.rez-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.25rem; }
.btn-whatsapp { background: #25D366; color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.btn-whatsapp:hover { background: #1eb558; }
.btn-messenger { background: #0084FF; color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.btn-messenger:hover { background: #0072db; }
select.app-input { appearance: auto; }

/* ---------- Recenzie ---------- */
.review { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 4px 16px rgba(43,29,20,0.06); }
.review .stars { color: var(--karamel); letter-spacing: 2px; margin-bottom: 0.6rem; }
.review p { font-size: 0.97rem; }
.review .who { margin-top: 1rem; font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Kontakt ---------- */
.contact-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: 0 4px 16px rgba(43,29,20,0.06); }
.contact-row { display: flex; gap: 0.9rem; align-items: flex-start; padding: 0.6rem 0; }
.contact-row .ci { font-size: 1.3rem; color: var(--karamel-dark); width: 28px; flex-shrink: 0; }
.hours-table { width: 100%; font-size: 0.97rem; border-collapse: collapse; }
.hours-table td { padding: 0.45rem 0; border-bottom: 1px solid var(--crema-deep); }
.hours-table td:last-child { text-align: right; font-weight: 500; }
.map-embed { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: rgba(251,246,238,0.7); padding: 3rem 0 2rem; margin-top: 4rem; }
.footer a { color: var(--crema); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer .logo { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--crema); margin-bottom: 0.5rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(251,246,238,0.1); font-size: 1.1rem;
}
.footer-social a:hover { background: var(--karamel); color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(251,246,238,0.12); padding-top: 1.5rem; font-size: 0.85rem; text-align: center; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Vernostná podstránka ---------- */
.page-head { background: var(--espresso); color: var(--crema); padding: 4rem 0 5rem; text-align: center; }
.page-head h1 { color: var(--crema); }
.page-head p { color: rgba(251,246,238,0.8); max-width: 36rem; margin: 1rem auto 0; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.step { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 4px 16px rgba(43,29,20,0.06); position: relative; }
.step .num {
  font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 600; color: var(--karamel);
  line-height: 1; margin-bottom: 0.75rem;
}

/* Aplikácia pre obsluhu */
.app-zone { background: var(--crema-deep); border-radius: 24px; padding: 2.5rem; }
.pin-gate { max-width: 380px; margin: 0 auto; text-align: center; }
.pin-input {
  width: 100%; height: 52px; font-size: 1.4rem; text-align: center; letter-spacing: 0.5em;
  border: 1.5px solid rgba(43,29,20,0.2); border-radius: 12px; margin: 1rem 0;
  background: #fff; font-family: inherit;
}
.pin-input:focus { outline: none; border-color: var(--karamel); box-shadow: 0 0 0 3px rgba(214,85,76,0.2); }

.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 1.25rem; }
.app-stat { background: #fff; border-radius: 12px; padding: 0.9rem; text-align: center; }
.app-stat .n { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 600; }
.app-stat .l { font-size: 0.75rem; color: var(--text-muted); }
.app-addrow { display: flex; gap: 8px; margin-bottom: 1rem; }
.app-input {
  flex: 1; height: 46px; padding: 0 14px; border: 1.5px solid rgba(43,29,20,0.15);
  border-radius: 12px; font-size: 1rem; font-family: inherit; background: #fff;
}
.app-input:focus { outline: none; border-color: var(--karamel); box-shadow: 0 0 0 3px rgba(214,85,76,0.18); }
.app-btn {
  height: 46px; padding: 0 18px; border: none; border-radius: 12px; background: var(--espresso);
  color: var(--crema); font-size: 0.95rem; font-weight: 500; font-family: inherit; cursor: pointer; white-space: nowrap;
}
.app-btn:hover { background: var(--espresso-soft); }
.app-btn:disabled { opacity: 0.4; cursor: default; }
.app-btn.ghost { background: transparent; color: var(--text-muted); border: 1.5px solid rgba(43,29,20,0.18); }
.app-btn.ghost:hover { background: rgba(43,29,20,0.05); }
.app-btn.amber { background: var(--karamel); color: #fff; }

.cust { background: #fff; border-radius: 14px; margin-bottom: 8px; overflow: hidden; }
.cust-head { display: flex; align-items: center; gap: 12px; padding: 0.9rem 1.1rem; cursor: pointer; }
.cust-head:hover { background: var(--crema); }
.cust .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--crema-deep); color: var(--espresso-soft);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; flex-shrink: 0;
}
.cust .avatar.ready { background: var(--karamel); color: #fff; }
.cust-name { font-weight: 600; font-size: 1rem; }
.cust-meta { font-size: 0.8rem; color: var(--text-muted); }
.cust-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pill { font-size: 0.85rem; font-weight: 600; background: var(--crema-deep); border-radius: 999px; padding: 4px 13px; }
.pill.ready { background: var(--karamel); color: #fff; }
.cust-body { padding: 0 1.1rem 1.1rem; display: none; }
.cust.open .cust-body { display: block; }

.stampcard { background: var(--espresso); border-radius: 16px; padding: 1.2rem 1.3rem; margin-bottom: 0.85rem; }
.stampcard .t { font-family: 'Fraunces', serif; font-size: 1rem; color: var(--crema); margin-bottom: 12px; }
.stamps { display: flex; gap: 8px; flex-wrap: wrap; }
.stampc { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.stampc.filled { background: var(--crema); color: var(--espresso-soft); }
.stampc.empty { border: 2px dashed rgba(251,246,238,0.35); color: rgba(251,246,238,0.3); font-size: 0.85rem; }
.stampc.gift { background: rgba(214,85,76,0.18); border: 2px solid var(--karamel); color: var(--karamel); }
.stampc.gift.ready { background: var(--karamel); color: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1);} 50% { transform: scale(1.12);} }
.stamp-hint { font-size: 0.8rem; color: rgba(251,246,238,0.6); margin-top: 12px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.banner {
  background: rgba(214,85,76,0.12); border: 1.5px solid var(--karamel); color: var(--karamel-dark);
  border-radius: 12px; padding: 0.7rem 1rem; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.85rem;
}
.app-empty { text-align: center; padding: 2.5rem 1rem; color: var(--text-muted); font-size: 0.95rem; }
.toastbox {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--espresso); color: var(--crema); font-size: 0.95rem;
  padding: 11px 20px; border-radius: 999px; opacity: 0; transition: opacity 0.25s;
  pointer-events: none; z-index: 100; max-width: 90vw;
}
.toastbox.show { opacity: 1; }
