/* ============================================
   Soubor:  sekce.css
   Účel:    Stylování sekcí (produkty, 2-sloupce, galerie) (Redesign)
   ============================================ */

/* === SEKCE 2: PRODUKTY === */
.relative-wrapper {
  position: relative;
}

.speech-bubble-top {
  background-color: #E8621A;
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 20px 20px 0 20px;
  font-family: 'Oswald', var(--font-hlavni);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(232, 98, 26, 0.35);
}

.speech-bubble-bottom {
  background-color: #E8621A;
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 20px 20px 20px 0;
  font-family: 'Oswald', var(--font-hlavni);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(232, 98, 26, 0.35);
}

.produkt-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.produkt-karta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: transform var(--prechod-rychly);
}

.produkt-karta.tilt {
  transform: rotate(2deg) translateY(10px);
}

.produkt-karta.tilt-rev {
  transform: rotate(-2deg) translateY(-5px);
}

.produkt-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-karta);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.produkt-popisek {
  text-align: center;
  font-weight: 700;
  color: var(--barva-text-hlavni);
  font-size: var(--text-sm);
}

/* === SEKCE 3: DVOUSLOUPEC === */
.sekce-dvojsloupec {
  background-color: #fff; /* trochu světlejší než pozadí pro oddělení */
}

.dvojsloupec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}

.dvojsloupec-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  height: 100%;
}

/* O NÁS sekce specifické styly */
#o-nas {
  background-color: #F5EFE0;
  padding: 80px 0;
}

#o-nas .sekce-obsah {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.o-nas-grid {
  align-items: center;
  min-height: 600px;
}

.o-nas-grid .dvojsloupec-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  margin-top: 0;
  padding-top: 0;
  height: auto;
}

.o-nas-nadpis-velky {
  font-family: 'Oswald', var(--font-hlavni);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: #1A3264;
  margin: var(--sp-1) 0 var(--sp-3) 0;
}

.o-nas-perex {
  font-size: 17px;
  font-weight: 500;
  color: var(--barva-text-hlavni);
  line-height: 1.5;
  margin: 0;
}

.o-nas-text {
  font-size: 15px;
  font-weight: 400;
  color: rgba(26, 50, 100, 0.8);
  line-height: 1.6;
  margin: 0;
}

.o-nas-muted {
  font-size: 13px;
  color: rgba(26, 50, 100, 0.5);
  margin-top: auto; /* Pushes line to bottom if column is taller */
  border-top: 1px solid rgba(26,50,100,0.1);
  padding-top: 16px;
  width: 100%;
}

.dvojsloupec-odznak {
  padding: 8px 16px;
  font-size: var(--text-sm);
  margin-bottom: 16px; /* Eyebrow pill O nás - add margin-bottom */
}

.vertikalni-tlacitka {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-1);
  width: 100%;
  max-width: 300px;
}

.horizontalni-tlacitka {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

.horizontalni-tlacitka .tlacitko {
  margin: 0;
}

/* Tlačítka hierarchie (Plain text odkazy s arrow) */
.text-odkaz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--barva-text-hlavni);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 8px 0;
  transition: color var(--prechod-rychly);
}
.text-odkaz:hover {
  color: var(--barva-akcent);
}

.dvojsloupec-obrazek img {
  width: 100%;
  border-radius: var(--radius-velky);
  object-fit: cover;
  aspect-ratio: 3/2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.organicky-obrazek {
  border-radius: 50% 40% 50% 40% / 40% 50% 40% 50% !important;
  box-shadow: none !important;
  aspect-ratio: 1/1 !important;
  width: 100%;
  object-fit: cover;
}

.galerie-nadpis {
  justify-content: flex-start;
  text-align: left;
}

.galerie-grid-edge {
  display: flex;
  width: 100%;
}

.galerie-grid-edge img {
  flex: 1 1 25%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* === RESPONZIVITA === */
@media (max-width: 1024px) {
  .produkt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .produkt-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: var(--sp-3);
    scroll-snap-type: x mandatory;
  }
  
  .produkt-karta {
    min-width: 60%;
    scroll-snap-align: center;
  }
  
  .dvojsloupec-grid {
    grid-template-columns: 1fr;
  }
  
  .galerie-grid-edge {
    flex-wrap: wrap;
  }
  
  .galerie-grid-edge img {
    flex: 1 1 50%;
    height: 180px;
  }
  
  .speech-bubble {
    position: relative;
    bottom: auto;
    left: auto;
    display: inline-block;
    margin-bottom: var(--sp-3);
  }

  /* O nás & BounceCards Mobilní responzivita */
  #o-nas .sekce-obsah {
    padding: 0 var(--sp-2) !important;
  }

  .horizontalni-tlacitka {
    justify-content: center;
  }

  .o-nas-bubliny .bublina {
    display: none !important;
  }

  .o-nas-bubliny {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 10px 0 !important;
  }

  #food-bounce-cards {
    width: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    padding: 10px var(--sp-2) 40px !important;
  }

  #food-bounce-cards .card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    flex-shrink: 0 !important;
    width: 220px !important;
    height: 220px !important;
  }

  #food-bounce-cards .card-label {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: block !important;
    text-align: center !important;
    margin-top: 12px !important;
    font-size: 14px !important;
  }

  /* Kontakty & Mapa mobilní úpravy */
  .kontakt-info .mapa-wrapper {
    transform: none !important;
    border-width: 4px !important;
  }
}

/* === KONTAKT SEKCE — zarovnání === */

#kontakt {
  background-color: #FFF8F0;
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}

#kontakt .nadpis-sekce {
  color: #103064;
  text-transform: uppercase;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr; /* Asymetrické */
  gap: var(--sp-6);
  align-items: start;
  max-width: 1000px;
  margin: var(--sp-5) auto 0;
}

/* Hodiny — levý sloupec */
.oteviraci-doba {
  background: transparent;
}

.hodiny-tabulka {
  width: 100%;
  border-collapse: collapse;
}

.hodiny-tabulka tr {
  border-bottom: 2px dashed rgba(16, 48, 100, 0.2);
  transition: background-color var(--prechod-rychly);
}

.hodiny-tabulka td {
  padding: 16px 12px;
  font-size: var(--text-base);
  color: var(--barva-text-hlavni);
}

.hodiny-tabulka td:last-child {
  text-align: right;
  font-weight: 600;
}

/* Aktuální den */
.hodiny-tabulka tr.dnes {
  background-color: rgba(255, 123, 37, 0.15);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  border-bottom: none;
}

.hodiny-tabulka tr.dnes td {
  color: var(--barva-akcent);
  font-weight: 700;
}

/* Pravý sloupec — mapa a kontakt */
.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
}

.kontakt-info .mapa-wrapper {
  border-radius: var(--radius-velky); /* 16px */
  overflow: hidden;
  width: 100%;
  height: 280px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  border: 8px solid #F0B392;
  transform: rotate(1.5deg);
}

.kontakt-info .mapa-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.kontakt-detaily-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-1);
}

.kontakt-adresa {
  font-size: var(--text-base);
  color: var(--barva-text-hlavni);
  line-height: 1.5;
  margin: 0;
}

.kontakt-telefon {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--barva-text-hlavni);
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
  transition: color var(--prechod-rychly);
}

.kontakt-telefon:hover { 
  color: var(--barva-akcent); 
}

/* Dekorativní bublina u mapy */
.kontakt-dekorativni-bublina {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--barva-akcent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 15px 255px 15px 225px / 255px 15px 225px 15px;
  font-weight: 700;
  font-size: 14px;
  transform: rotate(8deg);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(255, 123, 37, 0.3);
}

/* CTA Tlačítko pod kontakty */
.kontakt-cta {
  display: block;
  width: 100%;
  margin: 32px 0 0;
  padding: 18px 36px;
  background: var(--barva-akcent);
  color: var(--barva-text-svetly);
  text-align: center;
  border-radius: 40px 10px 40px 10px;

  font-family: var(--font-hlavni);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform var(--prechod-rychly), background var(--prechod-rychly);
}

.kontakt-cta:hover { 
  background: var(--barva-akcent-hover);
  transform: translateY(-2px);
}

/* Mobil Kontakt */
@media (max-width: 768px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
}

.majitel-sekce {
  margin-top: 80px;
}

.majitel-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--sp-6);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.majitel-foto-sloupec {
  display: flex;
  justify-content: center;
  align-items: center;
}

.majitel-foto {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(30, 15, 8, 0.15);
}

.majitel-text-sloupec {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.majitel-text-sloupec .odznak {
  margin-bottom: 16px;
  background-color: #E8621A;
}

.majitel-nadpis {
  font-family: 'Oswald', var(--font-hlavni);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  color: #1A3264;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.majitel-podnadpis {
  font-family: 'Oswald', var(--font-hlavni);
  font-weight: 400;
  font-size: 16px;
  color: #E8621A;
  letter-spacing: 0.1em;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

.majitel-popis p {
  font-family: var(--font-hlavni);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(16, 48, 100, 0.85);
  margin: 0 0 16px 0;
}

.majitel-popis p:last-child {
  margin-bottom: 24px;
}

.majitel-odkaz-denik {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(26, 50, 100, 0.2);
  border-radius: var(--radius-pill);
  background-color: transparent;
  font-family: var(--font-hlavni);
  font-size: 12px;
  font-weight: 500;
  color: #1A3264;
  opacity: 0.7;
  text-decoration: none;
  transition: all 200ms ease;
}

.majitel-odkaz-denik:hover {
  border-color: #E8621A;
  color: #E8621A;
  opacity: 1;
}

.majitel-odkaz-denik .sipka {
  transition: transform 200ms ease;
}

.majitel-odkaz-denik:hover .sipka {
  transform: translateX(4px);
}

/* === SEKCE: RECENZE HOSTŮ === */
.recenze-hostu {
  background-color: #0F2147;
  padding-top: 80px;
  padding-bottom: 80px;
}

.recenze-stars-summary {
  font-family: var(--font-hlavni);
  font-size: 15px;
  color: #ffffff;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 40px;
}

.recenze-stars-summary .stars {
  color: #E8621A;
  margin-right: 4px;
}

.recenze-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.recenze-karta {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.recenze-karta:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 98, 26, 0.4);
  transform: translateY(-2px);
}

.recenze-karta-stars {
  color: #E8621A;
  font-size: 14px;
}

.recenze-karta-text {
  font-family: var(--font-hlavni);
  font-style: italic;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.recenze-karta-autor {
  font-family: 'Oswald', var(--font-hlavni);
  font-weight: 600;
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

.recenze-karta-label {
  font-family: var(--font-hlavni);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.recenze-vsechny-odkaz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-hlavni);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 200ms ease;
}

.recenze-vsechny-odkaz:hover {
  color: #E8621A;
}

/* === RESPONZIVITA PRO NOVÉ SEKCE === */
@media (max-width: 992px) {
  .recenze-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .majitel-grid {
    gap: var(--sp-4);
  }
}

@media (max-width: 768px) {
  .majitel-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .majitel-text-sloupec {
    align-items: center;
  }
  
  .majitel-popis p {
    text-align: center;
  }
  
  .recenze-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .recenze-hostu {
    padding-top: var(--sp-6);
    padding-bottom: var(--sp-6);
  }
  
  .majitel-sekce {
    margin-top: var(--sp-5);
  }
}

/* === INTEGROVANÉ ILUSTRACE & GRAFICKÉ PRVKY (REVIZE) === */

/* Majitel - Pozadí za fotkou majitele */
.majitel-foto-wrapper {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.majitel-blob-bg {
  position: absolute;
  width: 420px;
  height: 420px;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.majitel-foto {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(30, 15, 8, 0.15);
}

/* O nás - Šéfkuchařská pečeť na kruhové fotce */
.o-nas-foto-wrapper {
  position: relative;
  overflow: visible;
  display: inline-block;
  width: 100%;
}

.o-nas-foto-crop {
  border-radius: 50% 40% 50% 40% / 40% 50% 40% 50%;
  overflow: hidden;
  aspect-ratio: 1/1;
  width: 100%;
}

.o-nas-foto {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Recenze - Stars badge překrývající konec slova 'sami' na 'i' */
.badge-reviews {
  width: 116px; /* Zvětšeno o 10% */
  height: auto;
  vertical-align: middle;
  margin-left: -20px; /* Posunuto zpět více doleva přes písmeno I */
  position: relative;
  top: -10px; /* Posunuto o trochu víc nahoru */
  z-index: 2;
  display: inline-block;
  pointer-events: none;
}

/* Kontakty - ... */
.map-bubble {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;
  background: #E8621A;
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  padding: 12px 24px;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  white-space: nowrap;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(232, 98, 26, 0.3);
}

.map-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 15px;
  border-width: 12px 0 0 12px;
  border-style: solid;
  border-color: #E8621A transparent transparent transparent;
  transform: rotate(5deg);
}

/* Mobilní responzivita */
@media (max-width: 768px) {
  .map-bubble {
    top: -12px;
    right: 10px;
    font-size: 13px;
    padding: 8px 18px;
  }
  
  .recenze-hostu .nadpis-sekce {
    display: block !important;
    text-align: center !important;
  }
  
  .badge-reviews {
    display: block !important;
    margin: 12px auto 0 !important;
    position: static !important;
    transform: none !important;
    width: 95px !important;
  }

  .dvojsloupec-text {
    align-items: center !important;
    text-align: center !important;
  }
}
@media (max-width: 480px) {
  .majitel-foto-wrapper {
    width: 360px;
    height: 360px;
  }
  .majitel-blob-bg {
    width: 360px;
    height: 360px;
  }
  .majitel-foto {
    width: 240px;
    height: 240px;
  }
}

