/* Vlastné štýly nad Bootstrapom */

html, body { height: 100%; }

/* Polovice s projektmi */
.project {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: clamp(1rem, 3vw, 4rem);
  transition: filter .2s ease;
}

/* Všetky logá rovnako vysoké */
.project img {
  height: min(30vh, 11vw);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.project:hover,
.project:focus-visible { filter: brightness(.95); }

.project-adventourer  { background: #fafafa; }
.project-adventourist { background: #1C3D2C; }
.project-stampture    { background: #F5F5F1; }
div.project:hover { filter: none; }

/* Mobil: projekty pod sebou, každý tretina výšky */
@media (max-width: 767.98px) {
  .projects { flex-direction: column; }
  .projects > [class*="col-"] { flex: 1 1 0; }
  .project img { height: min(16vh, 40vw); }
}

/* Spodný pás */
.contact-strip {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  text-align: center;
  background: #D3AF37;
  padding: .75rem 1rem;
  flex-shrink: 0;
}

.contact-strip a {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  margin: 0 auto;
  color: #fff;
  font-weight: 500;
  line-height: 1;
}

.contact-strip a img { display: block; }
.contact-strip a span {
  display: block;
  line-height: 1;
  /* opticky vycentruje text na výšku loga */
  text-box: trim-both ex alphabetic;
}
@supports not (text-box: trim-both ex alphabetic) {
  .contact-strip a span { transform: translateY(-2px); }
}

.contact-strip a:hover { text-decoration: underline !important; }
