/* ============================================================
   FINKI – MAIN wrapper + HERO (почетна)
   (извадено од main.css без промени во правилата или редоследот)
   ============================================================ */

/* ============================================================
   MAIN
   ============================================================ */

.site-main {
  min-height: 60vh;
}


/* ============================================================
   HERO – FINKI STYLE
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  margin: 0 0 40px 0;

  /* desktop: пристојна висина */
  min-height: 520px;

  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(43, 146, 208, 0) 0%,
    rgba(44, 49, 121, 0) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 1100px;
  z-index: 2;
}

/* MAIN TITLE */

.hero-title {
  position: relative;
  font-size: 90px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 70px;
  z-index: 1;
}

/* СЕНКАТА – ЕДНА, ОД ДОЛУ, СО ГРАДИЕНТ ПО Y */
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;                /* КОЛКУ ДА БИДЕ ПОД БУКВИТЕ */
  transform: translate(0, 0.08em);
  z-index: -1;

  font: inherit;
  text-transform: inherit;
  white-space: inherit;

  background: linear-gradient(
    90deg,
    #2c3179 0%,
    #2b92d0 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}







/* SUBTITLE */

.hero-subtitle {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;

  /* сенка само од долу */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}


/* BUTTON */

.btn-hero {
  text-decoration: none !important;
  background: #f1cc16;
  color: #1b1b1b;
  font-size: 18px;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 400;
  display: inline-block;
  transition: background 0.2s ease-in-out;
}

.btn-hero:hover {
  background: #ffd94d;
}

/* STATS – десктоп */

.hero-stats {
  position: absolute;
  bottom: 32px;
  left: 50px;
  right: 50px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.hero-stat {
  text-align: left;
  pointer-events: auto;
}

.hero-stat-value {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.hero-stat-label {
  font-size: 13px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.9;
}

.hero-stats .hero-stat:last-child {
  text-align: right;
}

/* --------------------------------------------------------------
   HERO – RESPONSIVE
-------------------------------------------------------------- */

@media (max-width: 1200px) {
  .hero {
    min-height: 460px;
    margin: 0 0 32px 0;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-stat-value {
    font-size: 32px;
  }
}

/* ============================
   HERO – MOBILE
   ============================ */

@media (max-width: 767px) {
	
  /* hero shirina na telefon */	
  .hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
	
  /* hide stats entirely */
  .hero-stats,
  .hero-stat,
  .hero-stat-value,
  .hero-stat-label {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .hero-title {
    font-size: 50px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.4;
    max-width: 24ch;
    margin: 0 auto 18px;
  }

  .btn-hero {
    width: 100%;
    max-width: 260px;
  }
}

