/* ============================================================
   LINK COFFEE — styly
   BARVY MĚŇ TADY (sekce :root). Zbytek je rozložení.
   ============================================================ */

:root {
  /* Barvy značky (z kavárny) */
  --paper:   #F4EEE2;   /* mléčná / papírová – hlavní podklad */
  --paper-2: #EFE7D6;   /* o odstín tmavší podklad pro sekce */
  --ink:     #2A323F;   /* tmavý text (navy/charcoal) */
  --muted:   #8a8170;   /* tlumený text */
  --red:     #E24B3B;   /* červená čára */
  --orange:  #EE8A33;   /* oranžová čára */
  --teal:    #2E8C9E;   /* tyrkysová čára */
  --navy:    #2B3A55;   /* tmavě modrá (logo COFFEE) */

  --maxw: 1120px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

a { color: inherit; text-decoration: none; }

/* ---------- Logo (textové, dočasné) ---------- */
.logo { display: inline-flex; align-items: baseline; gap: 7px; font-family: 'Poppins', sans-serif; }
.logo-link   { font-weight: 800; font-size: 1.5rem; letter-spacing: 1px; color: var(--orange); }
.logo-coffee { font-weight: 700; font-size: .8rem; letter-spacing: 3px; color: var(--navy); }
.logo-img { height: 42px; width: auto; display: block; }
.footer-logo-img { height: 40px; width: auto; display: block; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 238, 226, 0.92);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
/* hlavička přes celou šířku → logo víc doleva, menu víc doprava */
.site-header .container { max-width: 100%; padding-left: 26px; padding-right: 26px; }

.main-nav { display: flex; gap: 26px; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: .95rem; }
.header-cta { font-size: .88rem; padding: 9px 20px; white-space: nowrap; }
.main-nav a { position: relative; padding: 4px 0; color: var(--ink); transition: color .2s; }
.main-nav a:hover { color: var(--orange); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--orange); transition: width .25s;
}
.main-nav a:hover::after { width: 100%; }

/* Hamburger (mobil) */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Metro pruhy (3 čáry) ---------- */
.metro-strip { display: flex; flex-direction: column; }
.metro-strip span { height: 4px; width: 100%; }
.metro-strip span:nth-child(1) { background: var(--red); }
.metro-strip span:nth-child(2) { background: var(--orange); }
.metro-strip span:nth-child(3) { background: var(--teal); }
.metro-strip--footer { margin-bottom: 0; }

/* malý třípruhový oddělovač pod nadpisy sekcí */
.metro-divider { display: flex; flex-direction: column; gap: 3px; width: 64px; margin: 14px 0 34px; }
.metro-divider span { height: 4px; border-radius: 3px; }
.metro-divider span:nth-child(1) { width: 64px; background: var(--red); }
.metro-divider span:nth-child(2) { width: 48px; background: var(--orange); }
.metro-divider span:nth-child(3) { width: 32px; background: var(--teal); }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 0; overflow: hidden; }
.hero-inner { position: relative; }
.hero-eyebrow {
  font-family: 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: 3px;
  font-size: .8rem; color: var(--orange); font-weight: 600; margin: 0 0 14px;
}
.hero-title {
  font-family: 'Poppins', sans-serif; font-weight: 800; color: var(--ink);
  font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.05; margin: 0;
}
.hero-lines { display: block; width: 100%; height: clamp(120px, 22vw, 230px); margin: 10px 0 0; }
.hero-lines polyline { fill: none; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.line-red    { stroke: var(--red); }
.line-orange { stroke: var(--orange); }
.line-teal   { stroke: var(--teal); }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0 24px; }

.hero-rating {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 64px;
  text-decoration: none; color: var(--ink);
  font-size: .88rem; font-family: 'Inter', sans-serif;
  transition: opacity .2s;
}
.hero-rating:hover { opacity: .75; }
.hero-rating-stars { color: #F5A100; font-size: 1rem; letter-spacing: 1px; }
.hero-rating-score { font-weight: 700; font-size: .97rem; }
.hero-rating-sep   { color: var(--muted); }
.hero-rating-count { color: var(--muted); }
.hero-rating-arrow { color: var(--teal); font-weight: 600; }

.btn {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 40px; transition: transform .15s, box-shadow .2s, background .2s;
  display: inline-block;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(238,138,51,.35); }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Sekce ---------- */
.section { padding: 72px 0; position: relative; overflow: hidden; }

/* Dekorativní čáry v pozadí sekcí */
.section-deco {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  opacity: 0.07;
  pointer-events: none;
}
.section-deco polyline { fill: none; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.section:nth-of-type(even) { background: var(--paper-2); }
.section-title {
  font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0;
}

/* ---------- Menu ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.menu-card {
  background: var(--paper); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: 0 6px 24px rgba(42,50,63,.06);
}
.section:nth-of-type(even) .menu-card { background: #fbf7ee; }
.menu-card h3 {
  font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy);
  font-size: 1.2rem; margin: 0 0 14px; display: flex; align-items: baseline; justify-content: space-between;
}
.menu-card h3.mt { margin-top: 26px; }
.h3-price { color: var(--orange); font-size: .95rem; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; font-size: .97rem; }
.menu-list .dots { flex: 1; border-bottom: 1px dotted #c9bfa9; transform: translateY(-3px); }
.menu-list .price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.menu-list--plain li { color: var(--muted); }
.menu-note { color: var(--muted); font-size: .9rem; }
.menu-seasonal { color: var(--muted); font-size: .82rem; font-style: italic; margin: 12px 0 0; }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.88); align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 92vw; max-height: 92vh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  color: #fff; font-size: 2.2rem; line-height: 1; background: none; border: 0;
  cursor: pointer; opacity: .8; font-family: sans-serif;
}
.lightbox-close:hover { opacity: 1; }

/* ---------- Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); display: block;
  box-shadow: 0 6px 24px rgba(42,50,63,.08);
  cursor: zoom-in; transition: transform .2s, box-shadow .2s;
}
.gallery-img:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(42,50,63,.15); }
.gallery-placeholder {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background: var(--paper-2); border: 2px dashed #d4c9b4;
  display: flex; align-items: center; justify-content: center;
}
.gallery-placeholder span { color: var(--muted); font-size: .85rem; font-family: 'Poppins', sans-serif; }

@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Placeholdery / texty ---------- */
.placeholder { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.o-nas-text { font-size: 1.12rem; max-width: 560px; color: var(--ink); margin: 0 0 16px; }

/* ---------- O nás (text + dlaždice) ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: stretch; }
.about-lead { display: flex; flex-direction: column; justify-content: space-between; }
.about-sign { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--ink); font-size: 1.05rem; margin: 22px 0 0; }
.about-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-cards li {
  background: #fbf7ee; border-radius: 14px; padding: 18px 18px 20px;
  box-shadow: 0 6px 24px rgba(42,50,63,.06);
}
.ac-bar {
  display: block; width: 30px; height: 11px; border-radius: 2px; margin-bottom: 12px;
  background: linear-gradient(var(--red) 0 33%, var(--orange) 33% 66%, var(--teal) 66% 100%);
}
.about-cards h4 { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--navy); font-size: 1.02rem; margin: 0 0 5px; }
.about-cards p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- Rezervace ---------- */
.rezervace-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.rezervace-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rezervace-cards li {
  background: var(--paper); border-radius: 14px; padding: 18px 18px 20px;
  box-shadow: 0 6px 24px rgba(42,50,63,.06);
}
.rezervace-cards h4 { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--navy); font-size: 1.02rem; margin: 0 0 5px; }
.rezervace-cards p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 980px) { .rezervace-grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 620px) { .rezervace-cards { grid-template-columns: 1fr; } }

/* ---------- Kde nás najdeš (kontakt + mapa) ---------- */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 44px; align-items: stretch; }

.kontakt-info { display: flex; flex-direction: column; gap: 28px; }
.kontakt-block h4 {
  font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy);
  font-size: 1rem; margin: 0 0 8px;
}
.kontakt-block p { margin: 3px 0; color: var(--ink); }
.kontakt-block a { color: var(--ink); transition: color .2s; }
.kontakt-block a:hover { color: var(--orange); }
.kontakt-nav-btn { margin-top: 14px; display: inline-block; }

/* Zavolat odkaz v mobilním menu */
.nav-call-mobile { display: none; color: var(--orange) !important; font-weight: 600 !important; }
@media (max-width: 900px) { .nav-call-mobile { display: block; } }

.social-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .97rem;
  color: var(--ink); transition: color .2s;
}
.social-link:hover { color: var(--orange); }

.kontakt-mapa {
  border-radius: var(--radius); overflow: hidden;
  min-height: 360px; box-shadow: 0 6px 24px rgba(42,50,63,.1);
}
.kontakt-mapa iframe { display: block; width: 100%; height: 100%; min-height: 360px; }

@media (max-width: 900px) {
  .kontakt-grid { grid-template-columns: 1fr; }
  .kontakt-mapa { min-height: 280px; }
  .kontakt-mapa iframe { min-height: 280px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 0 0 26px; }
.footer .metro-strip { margin-bottom: 44px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand .logo-link { color: var(--orange); font-family:'Poppins',sans-serif; font-weight:800; font-size:1.6rem; }
.footer-brand .logo-coffee { color: #fff; font-family:'Poppins',sans-serif; font-weight:700; letter-spacing:3px; font-size:.85rem; margin-left:6px; }
.footer-contacts h3 { font-family:'Poppins',sans-serif; margin:0 0 10px; color:#fff; }
.footer-contacts p { margin: 4px 0; color: #d8d2c4; }
.footer-contacts a:hover { color: var(--orange); }
.footer-copy { text-align: center; color: #b7b1a3; font-size: .85rem; margin: 40px 0 0; }

/* ---------- Brunch (coming soon) podstránka ---------- */
.main-nav a.active { color: var(--orange); }
.main-nav a.active::after { width: 100%; }

.brunch-main {
  min-height: calc(100vh - 220px);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 0;
}
.brunch-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.v60-wrap { margin-bottom: 30px; }
.pixel-v60 { image-rendering: pixelated; image-rendering: crisp-edges; display: block; }

.brunch-soon {
  font-family: 'Poppins', sans-serif; font-weight: 800; color: var(--ink);
  font-size: clamp(3rem, 13vw, 7rem); line-height: 1; letter-spacing: 2px; margin: 0;
}
.brunch-sub { color: var(--muted); font-size: 1.1rem; margin: 10px 0 38px; }

.loader { width: min(440px, 84vw); }
.loader-label {
  display: flex; justify-content: space-between;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .78rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.loader-track {
  height: 16px; background: var(--paper-2); border: 1px solid #e3dac6;
  border-radius: 20px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 80%; border-radius: 20px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--teal));
  animation: loader-blink 1.1s ease-in-out infinite;
}
@keyframes loader-blink { 0%, 100% { opacity: 1; } 50% { opacity: .22; } }

/* ============================================================
   RESPONZIVITA (telefon, tablet, desktop)
   ============================================================ */

/* Tablet (do 900 px): schovat Zavolat tlačítko, hamburger */
@media (max-width: 900px) {
  .header-cta { display: none; }
}

@media (max-width: 980px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .section { padding: 60px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Tablet + telefon (do 900 px): menu se sbalí do hamburgeru */
@media (max-width: 900px) {
  .site-header .container { padding-left: 18px; padding-right: 18px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(244, 238, 226, 0.98); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a { padding: 16px 22px; border-top: 1px solid var(--paper-2); }
  .main-nav a::after { display: none; }
}

/* Telefon (do 620 px) */
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .menu-grid { grid-template-columns: 1fr; gap: 18px; }
  .section { padding: 48px 0; }
  .hero { padding: 46px 0 0; }
  .hero-cta { gap: 10px; margin-bottom: 46px; }
  .btn { width: 100%; text-align: center; }
  .menu-card { padding: 22px 18px; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .o-nas-text, .placeholder { font-size: 1rem; }
  .about-cards { grid-template-columns: 1fr; }
}

/* Malý telefon (do 380 px) */
@media (max-width: 380px) {
  .logo-img { height: 36px; }
  .hero-title { font-size: 2rem; }
  .brunch-soon { font-size: 3rem; }
}
