/* ============================================
   KAVÁRNA POKOJ – stylesheet
   ============================================ */

:root {
  --cream:    #f5f0e8;
  --cream-dk: #ede5d5;
  --brown:    #3d2b1f;
  --brown-md: #6b4226;
  --brown-lt: #a06040;
  --terracota:#c07850;
  --gold:     #c9a86c;
  --white:    #fdf9f4;
  --text:     #2e1e13;
  --text-md:  #6b5040;
  --text-lt:  #9c7b68;

  --radius:   12px;
  --radius-lg:20px;
  --shadow:   0 4px 24px rgba(61,43,31,.10);
  --shadow-md:0 8px 40px rgba(61,43,31,.15);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --nav-h: 68px;
}

/* ── Reset & base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; object-fit: cover; }

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

h1,h2,h3 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; }

em { font-style: italic; color: var(--terracota); }

/* ── Utilities ────────────────────────────── */
.container { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }

.section { padding-block: 96px; }
.section-warm { background: var(--cream); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-top: 8px; }

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracota);
  border-bottom: 1.5px solid var(--terracota);
  padding-bottom: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 40px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: all .25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--brown);
  color: var(--cream);
}
.btn-primary:hover { background: var(--brown-md); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(245,240,232,.5);
}
.btn-outline:hover { background: rgba(245,240,232,.12); transform: translateY(-2px); }

/* ── Scroll reveal ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(61,43,31,.08);
}
#navbar.scrolled .nav-logo img { filter: none; }
#navbar.scrolled .nav-links a { color: var(--text); }
#navbar.scrolled .nav-links a:hover { color: var(--terracota); }
#navbar.scrolled .nav-toggle span { background: var(--brown); }
#navbar.scrolled .nav-cta {
  background: var(--brown);
  color: var(--cream) !important;
}

.nav-inner {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { filter: invert(1); transition: filter .3s; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  padding: 9px 22px;
  border-radius: 40px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  transition: background .2s, border .2s !important;
}
.nav-cta:hover { background: rgba(255,255,255,.25) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform .3s, opacity .3s, background .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,15,5,.35) 0%,
    rgba(30,15,5,.55) 60%,
    rgba(20,10,3,.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  max-width: 680px;
  padding: 20px;
}
.hero-eyebrow {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(245,240,232,.85);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(245,240,232,.6);
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   O NÁS
   ============================================ */
.about-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.about-img-main {
  border-radius: var(--radius-lg);
  height: 460px;
  box-shadow: var(--shadow-md);
}
.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius);
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
}

.about-text { padding-left: 16px; }
.about-text h2 { margin-top: 12px; margin-bottom: 20px; }
.about-text p { color: var(--text-md); margin-bottom: 16px; }

.about-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--cream);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .82rem;
  color: var(--text-md);
  line-height: 1.4;
  flex: 1;
  min-width: 120px;
}
.badge svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--terracota); }

/* ============================================
   MENU / TABS
   ============================================ */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.menu-card-img { height: 220px; overflow: hidden; }
.menu-card-img img { width: 100%; height: 100%; transition: transform .5s ease; }
.menu-card:hover .menu-card-img img { transform: scale(1.06); }
.menu-card-body { padding: 22px 24px 26px; }
.menu-card-body h3 { margin-bottom: 8px; }
.menu-card-body p { color: var(--text-md); font-size: .9rem; }

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none; border: none;
  color: white; font-size: 2rem;
  cursor: pointer; line-height: 1;
}

/* ============================================
   REVIEWS
   ============================================ */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}
.stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 2px; }
.rating-summary p { font-size: .9rem; color: var(--text-md); }

.reviews-track-wrapper {
  position: relative;
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  box-shadow: var(--shadow);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.reviewer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.review-header strong { font-size: .95rem; display: block; }
.review-stars { color: var(--gold); font-size: .85rem; margin-top: 2px; }
.review-card > p { color: var(--text-md); font-size: .9rem; line-height: 1.65; }

.reviews-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--cream-dk);
  color: var(--brown);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 10;
}
.reviews-btn:hover { background: var(--brown); color: var(--cream); transform: translateY(-50%) scale(1.08); }
.reviews-prev { left: -22px; }
.reviews-next { right: -22px; }

/* ============================================
   GIFTS
   ============================================ */
.gifts-grid { align-items: stretch; }
.gift-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.gift-img { height: 300px; }
.gift-img img { width: 100%; height: 100%; }
.gift-body {
  padding: 28px 32px 36px;
  background: var(--cream);
  flex: 1;
}
.gift-body h3 { margin-top: 10px; margin-bottom: 12px; font-size: 1.5rem; }
.gift-body p { color: var(--text-md); }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid { gap: 56px; }
.contact-info h2 { margin-top: 12px; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; color: var(--terracota); }
.contact-item strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-lt); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: .95rem; color: var(--text-md); }
.contact-item a:hover { color: var(--terracota); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 400px; display: block; }

/* ============================================
   FOOTER
   ============================================ */
#footer { background: var(--brown); color: var(--cream); padding-top: 64px; }
.footer-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.footer-brand img { filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; color: rgba(245,240,232,.6); line-height: 1.6; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: .88rem;
  color: rgba(245,240,232,.7);
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,232,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,240,232,.7);
  transition: all .2s;
}
.footer-social a:hover { background: var(--terracota); border-color: var(--terracota); color: white; }

.footer-bottom {
  border-top: 1px solid rgba(245,240,232,.1);
  padding-block: 20px;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(245,240,232,.4); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .review-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 768px) {
  .section { padding-block: 64px; }

  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 28px; color: var(--text) !important; font-size: 1rem; }
  .nav-cta {
    margin: 8px 28px 0;
    display: block;
    text-align: center;
    background: var(--brown) !important;
    color: var(--cream) !important;
    border-radius: 40px;
  }

  /* Grid */
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }

  /* About */
  .about-images { height: 320px; }
  .about-img-main { height: 320px; }
  .about-img-secondary { width: 140px; height: 140px; right: -12px; bottom: -20px; }
  .about-text { padding-left: 0; }

  /* Menu */
  .menu-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-item.wide { grid-column: span 1; }

  /* Reviews */
  .review-card { flex: 0 0 calc(100% - 0px); }
  .reviews-prev { left: 4px; }
  .reviews-next { right: 4px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .about-badges { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.tall { grid-row: span 1; }
}
