/* ── Grid ─────────────────────────────────────────────────────────────── */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ── Filter ────────────────────────────────────────────────────────────── */
.pf-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
}

.pf-filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-family: 'Readex Pro', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: 0.25s ease all;
    white-space: nowrap;
}

.pf-filter-btn:hover {
    border-color: rgba(126, 255, 4, 0.55);
    color: #111;
    background: rgba(126, 255, 4, 0.06);
}

.pf-filter-btn--aktivan {
    background: #7eff04;
    border-color: #7eff04;
    color: #0a0a0a;
    font-weight: 700;
}

.pf-grid--loading {
    pointer-events: none;
    min-height: 200px;
}

/* ── Položka ────────────────────────────────────────────────────────────── */
.portfolio-item {
    position: relative;
    aspect-ratio: 5 / 3;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.portfolio-item--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Obrázok ──────────────────────────────────────────────────────────── */
.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-img--placeholder {
    background: #222;
    min-height: 300px;
}

/* ── Krúžok ZOBRAZIŤ ──────────────────────────────────────────────────── */
.portfolio-zobrazit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 110px;
    height: 110px;
    background: #7eff04;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Readex Pro', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #181717;
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 3;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-zobrazit {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* ── Info overlay (spodok karty) ──────────────────────────────────────── */
.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

.portfolio-kategoria {
    display: block;
    font-family: 'Readex Pro', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #7eff04;
    margin-bottom: 6px;
}
@media (max-width: 575px) {
    .portfolio-kategoria {
        display: none;
    }
}

.portfolio-nazov {
    font-family: 'Readex Pro', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px 0;
    line-height: 1.2;
}

/* ── Detail projektu tlačidlo ─────────────────────────────────────────── */
.portfolio-detail {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portfolio-detail-sipka {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #7eff04;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-detail-text {
    font-family: 'Readex Pro', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

/* ── Single portfolio ─────────────────────────────────────────────────── */
.portfolio-single-cover {
    border-radius: 20px;
    overflow: hidden;
}

.portfolio-single-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.portfolio-single-obsah {
    max-width: 860px;
    margin: 0 auto;
}

.portfolio-single-content {
    font-size: 18px;
    line-height: 1.7;
}

/* ── Responzívnosť ────────────────────────────────────────────────────── */
@media (max-width: 575px) {
    .pf-filter-bar {
        gap: 8px;
    }
    .pf-filter-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
}
@media (max-width: 767px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-nazov {
        font-size: 20px;
    }

    .portfolio-zobrazit {
        width: 90px;
        height: 90px;
        font-size: 12px;
    }
}



/* =======================================================
   GC STATS – COMPLETE CSS (PC grid + Swiper <= 1200px)
   ======================================================= */



/* -----------------------
   DESKTOP GRID (>= 1201px)
------------------------ */
.gc-stats-bar{
  --gc-accent: #7eff04;
  --gc-border: rgba(0,0,0,.08);

  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;

  padding: 18px 10px;
  border: 1px solid var(--gc-border);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 50px rgba(0,0,0,.10);
  overflow: hidden;
}

/* jemný “shine” */
.gc-stats-bar::before{
  content:"";
  position:absolute;
  inset:-40% -30%;
  background: radial-gradient(circle at 30% 40%, rgba(126,255,4,.18), transparent 55%);
  pointer-events:none;
}

/* stat item (grid) */
.gc-stats-bar .gc-stat{
  position: relative;
  text-align: center;
  padding: 10px 12px;

  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}

.gc-stats-bar .gc-stat.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* deliace čiary iba v GRIDe */
.gc-stats-bar .gc-stat:not(:last-child)::after{
  content:"";
  position:absolute;
  top: 18%;
  right: 0;
  width: 1px;
  height: 64%;
  background: rgba(0,0,0,.07);
}

.gc-stat-number{
  color: #7CFC00;
  line-height: 1.05;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 1.2px 1.2px rgba(0, 0, 0, 0.8));
  transition: 0.5s all ease;
}

.gc-stat-text{
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: .7;
}

/* hover micro-interaction len na zariadeniach s hover */
@media (hover:hover){
  .gc-stats-bar .gc-stat:hover{
    transform: translateY(-2px);
  }
  .gc-stats-bar .gc-stat:hover .gc-stat-number{
    text-shadow: 0 0 22px rgba(126,255,4,.35);
  }
}

/* -----------------------
   SWIPER – default OFF (>= 1201px)
------------------------ */
.gc-stats-swiper{
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

/* -----------------------
   SWIPER MODE (<= 1200px)
   prepni: grid OFF, swiper ON
------------------------ */
@media (max-width: 1200px){

  /* grid vypnúť */
  .gc-stats-section .gc-stats-bar{
    display: none !important;
  }

  /* swiper zapnúť */
  .gc-stats-section .gc-stats-swiper{
    display: block !important;
    visibility: visible !important;
    width: min(1180px, calc(100% - 40px)) !important;
    height: auto !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }

  /* swiper internals */
  .gc-stats-swiper .swiper-wrapper{
    align-items: stretch;
  }

  .gc-stats-swiper .swiper-slide{
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
  }

  /* karta v slide */
  .gc-stats-swiper .gc-stat--card{
    width: 100%;
    text-align: center;

    padding: 20px 16px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 14px 50px rgba(0,0,0,.10);

    position: relative;
    overflow: hidden;
  }

  .gc-stats-swiper .gc-stat--card::before{
    content:"";
    position:absolute;
    inset:-40% -30%;
    background: radial-gradient(circle at 30% 40%, rgba(126,255,4,.18), transparent 55%);
    pointer-events:none;
  }

  /* aby sa v swiper režime nezobrazovala desktop animácia “hidden” */
  .gc-stats-swiper .gc-stat{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* v swiper režime vypnúť deliace čiary */
  .gc-stats-swiper .gc-stat::after{
    display:none !important;
  }

  /* pagination pod kartou */
  .gc-stats-swiper .swiper-pagination{
    margin-top: 14px;
    position: static;
  }

  /* škálovanie čísiel pre menšie šírky */
  @media (max-width: 640px){
    .gc-stats-swiper .gc-stat-number{
      font-size: 40px;
    }
  }
}