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

@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap;
  src: url(../fonts/archivo-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap;
  src: url(../fonts/archivo-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

html, body { height: 100%; }

/* Projekty: mriežka 2 × 2, vypĺňa výšku okna nad spodným pásom */
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 0;
}

.project {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: clamp(1rem, 3vw, 4rem);
  text-decoration: none;
  transition: filter .2s ease;
}

/* Logá vlastných projektov rovnako vysoké */
.project img {
  height: min(20vh, 14vw);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

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

/* Šachovnica: svetlá – tmavá / tmavá – svetlá */
.project-adventourer   { background: #fafafa; }
.project-adventourist  { background: #1C3D2C; }
.project-stampture     { background: #1C2420; }  /* tmavá verzia z dizajnu Stampture */
.project-marianchrvala { background: #F6F3EE; }  /* papier z dizajn manuálu marianchrvala.com */

/* Referencia: Marian Chrvala – v štýle jeho webu (papier, čierna, žltý štítok) */
.project-marianchrvala { flex-direction: column; gap: 1.25rem; }
.project.project-ref img { height: auto; width: min(100%, 420px); }
.ref-label {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700; font-size: .75rem; line-height: 1.6;
  text-transform: uppercase; letter-spacing: .14em;
  color: #14161A; background: #FED43B; padding: .15rem .55rem;
}

/* Mobil: mriežka ostáva 2 × 2, logá menšie */
@media (max-width: 767.98px) {
  .project { padding: 1rem; }
  .project img { height: min(14vh, 22vw); }
  .project-marianchrvala { gap: .6rem; }
  .ref-label { font-size: .65rem; }
}

/* 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; }
