.ponuda {
  position: relative;
  background-image: url('ponuda/poz.png'); 
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;  
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-height: 866px; /* visina sekcije */
  aspect-ratio: 16 / 9; /* primer odnosa slike */
  
}



.tekst {
  display: block;       /* uklanja donji whitespace */
  max-width: 100%;      /* slika neće biti šira od svog roditelja */
  height: 400px;         /* automatski održava proporcije */
  margin: 100px auto;       /* horizontalno centriranje ako je block element */
}

.paragraf {
  font-family: 'Barlow Condensed', sans-serif;
  text-align:justify;
  font-size: 22px;
  color: #343D3F;
  width: 1060px;
  margin: auto;
  margin-bottom: 60px;
}

.grid-sekcija {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 kolone */
  grid-template-rows: repeat(2, auto);   /* 2 reda */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  margin-bottom: 60px;
}

.grid-blok {
  display: flex;
  flex-direction: column;
  text-align: center;
  border: solid 3px #84152A;  
  border-radius: 12px;
  
}

.grid-blok img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.grid-blok h3,p, .lažno-dugme{
  margin-left: 30px;
  margin-right: 30px;
}

.grid-blok h3 {  
  margin-bottom: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: 48px;
  color: #84152A;
  text-align: left;
  margin-top: 0;
  transform: skew(10deg);
}

.grid-blok p {
  font-size: 22px;
  color: #343D3F;
  font-family: 'Barlow Condensed', sans-serif;
  text-align: justify;
  
}

.lažno-dugme {
  display: inline-block;
  max-width: 120px;
  background-color: #84152A; /* crvena boja */
  color: #fff;               /* bela boja teksta */
  font-weight: bold;         /* bold */
  padding: 4px 10px;
  border-radius: 999px;      /* potpuno zaobljeno */
  font-size: 22px;
  font-family: 'Barlow Condensed', sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: default;           /* ili pointer ako želiš da izgleda klikabilno */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.upt{
  display: flex;
  justify-content: center; /* horizontalno centriranje */         
  margin-bottom: 100px;
}

.upt-btn:hover {
  filter: grayscale(100%);
  transition: filter 0.3s;
}

@media (max-width: 768px) {
  .ponuda {
    flex-direction: column;
    height: auto;
    background-size: cover;
    margin: 0;
    padding: 60px 20px 20px 20px;
    background-position: center;
  }

  .ponuda-text {
    position: static;
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    left: 0;
    top: 0;
  }

  .tekst {
    width: 100%;
    height: auto;
    margin: 0 auto 40px auto;
    display: block;
  }

  .paragraf {
    width: 100%;
    font-size: 18px;
    padding: 0 20px;
    text-align: justify;
  }

  .grid-sekcija {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .grid-blok {
    margin-bottom: 20px;
  }

  .grid-blok h3 {
    font-size: 32px;
    text-align: center;
  }

  .grid-blok p {
    font-size: 18px;
  }

  .lažno-dugme {
    margin: 0 auto 20px auto;
  }

  .upt {
    margin-bottom: 60px;
  }
}

/* Sekcija sa balončićima */
.bubbles-section {
  position: relative;
  width: 100%;
  height: 60vh;  /* visina da se vidi animacija */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.bubbles-section .tekst {
  position: relative;
  z-index: 10;
  max-width: 35rem;
  width: 100%;
  pointer-events: none;
}

.bubbles-section .bubble {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  height: var(--size);
  animation: floatMove var(--duration) ease-in-out infinite;
  animation-delay: calc(var(--i) * -3s);
  z-index: 5;
  opacity: 0.7;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  background: white;
}

.bubbles-section .bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes floatMove {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(15px, -10px);
  }
  50% {
    transform: translate(0, 15px);
  }
  75% {
    transform: translate(-15px, -5px);
  }
}

