/* © 2022 Boban Nešić, Boban Web Dizajn (bobanwebmaker.com). Sva prava zadržana. All rights reserved. */
/* ==========================================================
   Sekcije sa sadržajem (stranice koje se skroluju)
   Učitava se POSLE style.css
   ========================================================== */

/* style.css ima globalno "div {margin-bottom: 3rem}" - poništi unutar sekcija */
:where(.sections, .site-footer, .hero) div {
  margin-bottom: 0;
}

html {
  scroll-behavior: smooth;
}

/* Meni ostaje vidljiv i kada je stranica skrolovana */
.menu {
  position: fixed;
  height: 100vh;
  margin-bottom: 0;
  background-image: linear-gradient(-25deg, #616161 0%, #96B7C4 100%);
}

/* Kad je meni otvoren, skrol je zaključan na html i body.
   body tada mora biti position: static: inače bi, pošto je visok samo 100vh, odsekao
   ostatak duge stranice i vratio je na vrh. */
html:has(body.active) {
  overflow: hidden;
}
body.active {
  overflow: hidden;
  position: static;
}

/* Dugme POZOVI klizi ulevo zajedno sa stranicom kad se otvori meni */
.pozovi {
  transition: .2s, transform .5s;
}
.showcase.active > .pozovi {
  transform: translateX(-300px);
}

.sections.active,
.site-footer.active {
  filter: blur(2px);
}

/* ---------- Početna: hero + sekcije ---------- */
.showcase.home {
  display: block;
  padding: 0;
  background: #0d0d0d;
}
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
  overflow: hidden;
}
.hero .text-home {
  margin-top: 40px;
}
.hero .text-home p {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.6;
}
.hero .hero-sub {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 26px;
  margin-bottom: 0;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-actions a.primary {
  background: #fff;
  color: #000;
}
.hero-actions a.primary span {
  color: #000;
}

/* Kraći hero za unutrašnje stranice (O nama) */
.hero.hero-short {
  min-height: 70vh;
}
.hero video {
  opacity: .6;
}
.hero .text-home h1 {
  position: relative;
}

/* O nama: slika + tekst */
.about-intro {
  display: flex;
  gap: 50px;
  align-items: center;
}
.about-intro > div {
  flex: 1;
}
.about-photo {
  flex: 0 0 42%;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
}
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}
@media only screen and (max-width: 900px) {
  .about-intro {
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
  }
}

/* Radovi: dugme za video unutar hero dela */
.hero.hero-work {
  flex-direction: column;
  gap: 30px;
}
.hero.hero-work .work {
  margin-top: 0;
}
.hero.hero-work .work p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 620px;
}

/* Kontakt: dva panela preko video pozadine */
.hero.hero-contact {
  align-items: stretch;
  padding-top: 150px;
}
.hero.hero-contact .contact-page {
  position: relative;
  margin-top: 0;
  align-items: stretch;
}
.contact-form h2 {
  font-size: 4.5em;
  font-weight: 600;
  line-height: 1em;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(254,226,78,1) 0%, rgba(255,239,169,1) 15%, rgba(255,253,228,1) 39%, rgba(255,255,255,1) 83%, rgba(255,255,255,1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-text p {
  line-height: 1.5;
}
.form-msg {
  margin: 26px 0 0;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  border-left: 3px solid #0BA9B0;
  background: rgba(0, 0, 0, .45);
}
.form-msg.err {
  border-left-color: #e74c3c;
}
@media only screen and (max-width: 1000px) {
  .contact-form h2 {
    font-size: 2.8rem;
  }
}
@media only screen and (max-width: 800px) {
  .hero.hero-contact {
    padding-top: 110px;
  }
}

/* Video prozor pokriva ceo ekran i kad je stranica skrolovana */
.clip {
  background: #fee24e;
}

/* ---------- Sekcije ---------- */
.sections {
  position: relative;
  z-index: 10;
  width: 100%;
}
.section {
  padding: 90px 10%;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.section:nth-child(even) {
  background: #141414;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  background: linear-gradient(-90deg, rgba(254,226,78,1) 0%, rgba(255,239,169,1) 15%, rgba(255,253,228,1) 39%, rgba(255,255,255,1) 83%, rgba(255,255,255,1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 0;
  margin: 14px 0 34px;
  border-top: 2px solid red;
  -webkit-text-fill-color: initial;
}
.section h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}
.section p,
.section li,
.section td,
.section th,
.section summary {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  color: #e4e4e4;
}
.section p {
  max-width: 820px;
  margin-bottom: 18px;
}
.section strong {
  font-weight: 500;
  color: #fff;
}
.section a.inline {
  color: #fee24e;
  border-bottom: 1px solid rgba(254, 226, 78, .5);
}
.section a.inline:hover {
  border-bottom-color: #fee24e;
}
.section .lead {
  font-size: 17px;
  color: #fff;
}

/* Dugme (isti stil kao postojeća dugmad na sajtu) */
.section a.cta {
  display: inline-block;
  font-size: 14px;
  padding: 12px 32px;
  margin-top: 16px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
  border: 1px solid #fff;
  border-radius: 30px;
  transition: .2s;
}
.section a.cta:hover {
  letter-spacing: 4px;
  box-shadow: 1px 1px 25px 10px rgba(254, 226, 78, .35);
}
.section a.cta.solid {
  background: #fff;
  color: #000;
}

/* Kartice */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  margin-top: 34px;
}
.card {
  padding: 28px 26px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: .3s;
}
.card:hover {
  border-color: rgba(254, 226, 78, .6);
  transform: translateY(-4px);
}
.card p {
  font-size: 14px;
  margin-bottom: 0;
}
.card .price-tag {
  display: block;
  font-size: 34px;
  font-weight: 600;
  color: #fee24e;
  margin-bottom: 6px;
}
.card ul {
  margin-top: 14px;
}
.card li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
}
.card li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: #0BA9B0;
}

/* Koraci procesa */
.steps {
  counter-reset: step;
  margin-top: 34px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 30px 74px;
  min-height: 74px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  border: 1px solid #0BA9B0;
  border-radius: 50%;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 56px;
  bottom: 6px;
  width: 1px;
  background: rgba(255, 255, 255, .15);
}

/* Tabela poređenja */
.table-wrap {
  overflow-x: auto;
  margin-top: 30px;
}
.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}
.compare th,
.compare td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.compare thead th {
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  border-bottom: 2px solid red;
}
.compare tbody th {
  font-weight: 500;
  color: #fff;
  width: 24%;
}
.compare td.yes {
  color: #fff;
  background: rgba(11, 169, 176, .09);
}

/* Česta pitanja */
.faq {
  margin-top: 30px;
  max-width: 900px;
}
.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.faq summary {
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-weight: 500;
  color: #fff;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 14px;
  font-size: 28px;
  font-weight: 300;
  color: #fee24e;
  transition: .2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding-bottom: 20px;
  margin-bottom: 0;
}

/* Završni poziv */
.section.cta-band {
  background: linear-gradient(-25deg, #1b1b1b 0%, #1f3237 100%);
}
.cta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 50px 10% 110px;
  background: rgba(8, 8, 8, .01);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.site-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.site-footer p,
.site-footer a {
  font-size: 14px;
  line-height: 2;
  font-weight: 300;
  color: #cfcfcf;
}
.site-footer a:hover {
  color: #fee24e;
}
.site-footer h3 {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.site-footer .copy {
  max-width: 1100px;
  margin: 36px auto 0;
  font-size: 13px;
  color: #8a8a8a;
}

/* ---------- Sekcije na stranicama sa video pozadinom (cene) ---------- */
.sections.inset {
  margin-top: 60px;
}
.sections.inset .section {
  padding: 50px 40px;
  margin-bottom: 30px;
  border: 0;
  background: rgba(0, 0, 0, .62);
  box-shadow: 2px 5px 19px 9px rgba(241, 225, 136, .12);
}
.sections.inset .section p,
.sections.inset .section h2 {
  text-align: left;
}

/* style.css pravi dugme od svakog linka unutar .price - vrati link u tekstu na običan */
.sections.inset a.inline,
.sections.inset a.inline:hover {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(254, 226, 78, .5);
  border-radius: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  overflow: visible;
}

/* ---------- Mobilni ---------- */
@media only screen and (max-width: 800px) {
  .hero {
    padding: 110px 6% 130px;
  }
  .hero .text-home p {
    font-size: 15px;
  }
  .hero .hero-sub {
    font-size: 16px;
  }
  .section {
    padding: 60px 6%;
  }
  .section h2 {
    font-size: 27px;
  }
  .section p,
  .section li,
  .section td,
  .section th,
  .section summary {
    font-size: 15px;
  }
  .section .lead {
    font-size: 16px;
  }
  .steps li {
    padding-left: 64px;
  }
  .site-footer {
    padding: 40px 6% 120px;
  }
  .sections.inset .section {
    padding: 34px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Cene: zuta umesto crvene */
.redprice {
  color: #fee24e;
}

/* Footer na stranicama sa video pozadinom (cene): preko cele sirine, do dna */
.showcase:not(.home) > .site-footer {
  align-self: stretch;
  margin: 70px -12.5% -120px;
  /* iza footera su svetleće lopte, pa je ovde tamniji nego na početnoj */
  background: rgba(8, 8, 8, .5);
}

/* ---------- Početna: čestice fiksirane u pozadini cele stranice ---------- */
.showcase.home #particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  transition: transform .5s;
}
/* kad se otvori meni, čestice se pomeraju zajedno sa stranicom i ne prekrivaju meni */
.showcase.home.active #particles-js {
  transform: translateX(-300px);
}
.showcase.home:has(#particles-js),
.showcase.home:has(#particles-js) .hero {
  background: #0d0d0d;
}
/* sve sekcije su providne: pozadina sa česticama stoji, a sekcije se skroluju preko nje */
.showcase.home:has(#particles-js) .sections,
.showcase.home:has(#particles-js) .section,
.showcase.home:has(#particles-js) .section.cta-band {
  background: transparent;
}
/* kartice i tabela imaju tamniju podlogu da tekst ostane čitljiv preko čestica */
.showcase.home:has(#particles-js) .card,
.showcase.home:has(#particles-js) .table-wrap {
  background: rgba(13, 13, 13, .72);
}

/* ---------- Dugmad: žuti sjaj umesto crvenog ---------- */
.text a:hover,
.price a:hover,
.submit:hover,
.section a.cta:hover,
.pozovi:hover {
  box-shadow: 1px 1px 25px 10px rgba(254, 226, 78, .35);
}
.text span:before,
.price span:before,
.submit:before {
  background: linear-gradient(120deg, transparent, rgba(254, 226, 78, .5), transparent);
}

/* isti prelaz sjaja na dugmadima u sekcijama i na dugmetu POZOVI */
.section a.cta {
  position: relative;
  overflow: hidden;
}
.section a.cta::before,
.pozovi::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(254, 226, 78, .5), transparent);
  transition: all 650ms;
  pointer-events: none;
}
.section a.cta:hover::before,
.pozovi:hover::before {
  left: 100%;
}
.pozovi:hover {
  letter-spacing: 6px;
}
/* na belim dugmadima sjaj je siv i jedva primetan */
.section a.cta.solid::before,
.hero-actions a.primary span:before,
.pozovi::before {
  background: linear-gradient(120deg, transparent, rgba(110, 110, 110, .3), transparent);
}
/* link "Telefon" u kontakt panelu koristi istu klasu, ali nije dugme */
p .pozovi::before {
  content: none;
}
p .pozovi:hover {
  box-shadow: none;
  letter-spacing: unset;
}

/* ---------- Dugme za muziku: u krugu, u istoj liniji sa dugmetom POZOVI ---------- */
.sound {
  left: 40px;
  /* --sound-size prati visinu dugmeta POZOVI; --sound-base je njegov bottom */
  --sound-size: 46px;
  --sound-base: 40px;
  --pozovi-h: 46px;
  width: var(--sound-size);
  height: var(--sound-size);
  bottom: calc(var(--sound-base) + (var(--pozovi-h) - var(--sound-size)) / 2);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(13, 13, 13, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: .2s;
}
.pocetna .sound {
  --sound-base: 70px;
}
@media only screen and (max-width: 1000px) {
  .sound {
    --sound-size: 42px;
    --pozovi-h: 41.4px;
  }
}
@media only screen and (max-width: 500px) {
  .sound {
    --sound-size: 40px;
    --pozovi-h: 36px;
  }
}
.sound:hover {
  border-color: #fff;
  box-shadow: 1px 1px 25px 10px rgba(254, 226, 78, .35);
}
.sound button {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.sound button img {
  width: 24px;
  display: block;
}

/* ---------- Tanji H1 ---------- */
.text h1,
.contact-text h1 {
  font-weight: 600;
}

/* ---------- Selektovan tekst: zuta iz naslova, tamna slova ---------- */
::selection {
  background: #fee24e;
  color: #111;
  -webkit-text-fill-color: #111;
}

/* ---------- Cene: fiksirana pozadina sa svetlecim loptama (js/svetla.js) ---------- */
#svetla {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, #14181c 0%, #0b0b0d 70%);
  transition: transform .5s;
}
/* kad se otvori meni, pozadina se pomera zajedno sa stranicom */
.showcase.active #svetla {
  transform: translateX(-300px);
}

/* ---------- Radovi: žuto dugme Play i žuta pozadina iza videa ---------- */
.btn .play {
  background-color: #fee24e;
}
.btn .play::before {
  border-left-color: #111;
}
.btn.active .play {
  box-shadow: 0 0 0 150vh #fee24e;
}
.clip .close,
.btn.active p {
  color: #111;
}

/* ---------- O nama: pasusi ispod slike i teksta, preko cele širine ---------- */
.about-more {
  margin-top: 40px;
}
.about-more p {
  max-width: none;
}

/* ---------- O nama: kolaž sajtova umesto fotografije ---------- */
.about-photo.about-collage {
  border: 0;
  overflow: visible;
  flex: 0 0 46%;
  min-width: 0;
}

/* ---------- O nama: skica koja se sama crta u hero delu (js/skica.js) ---------- */
#skica {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* tačkasta mreža kao na papiru za skiciranje, preko tamne pozadine */
  background:
    radial-gradient(circle, rgba(255, 255, 255, .09) 1px, transparent 1.6px) 0 0 / 26px 26px,
    radial-gradient(ellipse at 50% 45%, #151a1e 0%, #0d0d0d 72%);
}

/* ---------- Kontakt: fiksirana pozadina sa svetlećim linijama (js/linije.js) ---------- */
#linije {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, #12151a 0%, #08090b 75%);
  transition: transform .5s;
}
.showcase.active #linije {
  transform: translateX(-300px);
}
.showcase.home:has(#linije),
.showcase.home:has(#linije) .hero {
  background: #08090b;
}
/* sekcije su zatamnjene da tekst ostane čitljiv preko linija; footer kao na stranici cena */
.showcase.home:has(#linije) .section {
  background: rgba(8, 9, 11, .74);
}
.showcase.home:has(#linije) .site-footer {
  background: rgba(8, 8, 8, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ---------- Footer: logo i opis levo, kontakt sa ikonicama desno ---------- */
.site-footer .footer-about {
  max-width: 360px;
}
.site-footer .footer-logo {
  display: inline-block;
  margin-bottom: 14px;
}
.site-footer .footer-logo img {
  display: block;
  height: 58px;
  width: auto;
}
.site-footer .footer-about p {
  line-height: 1.7;
}
.site-footer .footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-footer .footer-contact svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: #fee24e;
}
.site-footer .footer-contact span {
  color: inherit;
  font-weight: inherit;
}

/* ---------- Kontakt: velike ikonice za Viber, WhatsApp, mejl i poziv ---------- */
.contact-icons {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 14px;
}
.contact-icon {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  transition: .2s;
}
.contact-icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}
.contact-icon:hover {
  border-color: #fee24e;
  box-shadow: 1px 1px 25px 10px rgba(254, 226, 78, .35);
}
.contact-icon:hover svg {
  color: #fee24e;
}
@media only screen and (max-width: 500px) {
  .contact-icon {
    width: 54px;
    height: 54px;
  }
  .contact-icon svg {
    width: 26px;
    height: 26px;
  }
}

/* style.css boji sve elemente u belo, pa delovi ikonice moraju da naslede boju od ikonice */
.contact-icon svg *,
.site-footer .footer-contact svg * {
  color: inherit;
}
