@charset "utf-8";

/* =========================================
  OSNOVNI PODACI I ZAGLAVLJE DOMA
========================================= */
.domData {
  max-width: var(--widthMax);
  margin: var(--wSpace) auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.domDataUsko {
  max-width: var(--widthUsko);
}

.domInfo {
  padding: 0 20px;
  display: grid;
  grid-template-columns: max-content 2fr;
  grid-template-rows: auto auto;
  gap: var(--wSpace);
}

.domReview {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.domReviewLink {
  color: black;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9em;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  height: 48px;
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: #ffffff;
  border-radius: 4px;
  padding: 0 10px;
  box-shadow: var(--shadow-elevation-medium);
  transition: 0.2s;
}

.domReviewLinkInactive {
  color: black;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9em;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  height: 48px;
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: var(--bgPageDark);
  background-image: url(/images/bg.png);
  background-size: 400px auto;
  background-attachment: scroll;
  border-radius: 4px;
  padding: 0 10px;
  opacity: 0.7;
}

.domReviewLinkInactive img {
  opacity: 0.2;
}

.domReviewLink:hover {
  box-shadow: var(--shadow-elevation-low);
}

.domReviewLink .rating-text {
  text-align: center;
}

.domReviewLeave {
  display: flex;
}

.domReviewLeave a {
  color: black;
  font-family: "Barlow Condensed", sans-serif;
  text-shadow: 1px 1px 2px hsla(0, 0%, 100%, 1);
  font-size: 1em;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  height: 48px;
  display: flex;
  align-items: center;
  background-color: var(--accent3);
  border-radius: 8px;
  padding: 0 10px;
  box-shadow: var(--shadow-elevation-high);
  text-align: center;
  transition: 0.2s;
}

.domReviewLeave a:hover {
  box-shadow: var(--shadow-elevation-low);
}

.rating-stars img {
  width: 24px;
  height: 24px;
}

.domInfo1 {
  width: 120px;
}

.domInfo1 img {
  display: block;
  width: 100%;
  box-shadow: var(--shadow-elevation-medium);
  background-color: white;
}

.domInfo2 {
  flex: 1;
}

.noLogo {
  width: 120px;
  height: 120px;
  background-color: var(--bgPageDark);
  background-image: url(/images/icons/nophoto.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40% auto;
  box-shadow: none;
  opacity: 0.3;
}

.noLogo-reply {
  width: 50px;
  height: 50px;
}

/* =========================================
   KONTAKT INFORMACIJE
========================================= */
.domKontakt {
  display: flex;
  flex-direction: column;
  padding: 20px 20px;
}

.domKontakt1 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 20px;
}

.domKontakt2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 20px;
}

.domKontakt3 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}

.domKontakt a {
  font-family: "Barlow Condensed", sans-serif;
  font-optical-sizing: auto;
  font-size: 1rem;
  font-weight: 300;
  font-style: normal;
  display: block;
  padding: 35px 10px 10px 10px;
  text-align: center;
  background-color: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  background-size: 24px auto;
  background-repeat: no-repeat;
  background-position: top 10px center;
  box-shadow: var(--shadow-elevation-high);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.domKontakt a:hover {
  background-color: color-mix(in srgb, var(--accent) 80%, black);
  box-shadow: var(--shadow-elevation-low);
  transform: translateY(2px);
}

.domKontakt3 a {
  font-family: "Barlow Condensed", sans-serif;
  font-optical-sizing: auto;
  font-size: 1rem;
  font-weight: 300;
  font-style: normal;
  display: block;
  padding: 15px 10px 15px 10px;
  text-align: center;
  background-color: var(--accent);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: var(--shadow-elevation-high);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  background-image: url(/images/icons/message.svg);
  background-size: 24px auto;
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.domKontakt--telefon {
  background-image: url(/images/icons/phone.svg);
}

.domKontakt--email {
  background-image: url(/images/icons/email.svg);
}

.domKontakt--www {
  background-image: url(/images/icons/web.svg);
}

.domKontakt--facebook {
  background-image: url(/images/icons/facebook.svg);
}

.domKontakt--instagram {
  background-image: url(/images/icons/instagram.svg);
}

.domKontakt--lokacija {
  background-image: url(/images/icons/location.svg);
}

.domKontakt--Nema {
  background-color: var(--bgPageDark) !important;
  box-shadow: none !important;
  cursor: default;
  pointer-events: none;
  opacity: 0.3;
}

/* =========================================
   NASLOVNA SLIKA I GALERIJA
========================================= */
.heroDom {
  background-color: var(--accent);
  max-width: var(--widthMax);
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-elevation-high);
  margin: 0 auto 40px auto;
}

.heroDom.Nema {
  background-color: var(--bgPageDark);
  aspect-ratio: 16 / 6;
  background-image: url(/images/icons/nophoto.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15% auto;
  box-shadow: none;
  margin: 0 auto;
  opacity: 0.3;
}

.Galerija_Nema {
  background-color: color-mix(in srgb, var(--bgPageDark) 30%, transparent);
  aspect-ratio: 16 / 4;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15% auto;
  box-shadow: none;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
}

.Galerija_Nema p {
  margin-bottom: 0px;
  text-align: center;
}

.Galerija_Nema img {
  width: 64px;
  height: auto;
  filter: drop-shadow(0 3px 4px rgb(0 0 0 / 20%));
}

.mySwiper .swiper-slide.slide-zakljucana {
  position: relative;
  overflow: hidden;
}

.mySwiper .swiper-slide.slide-zakljucana > img {
  filter: blur(12px);
  transform: scale(1.08);
}

.mySwiper .swiper-slide .galerijaOverlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 20px 60px;
  background-color: rgb(255 255 255 / 75%);
}

.mySwiper .swiper-slide .galerijaOverlay > img {
  width: 64px;
  height: auto;
  filter: drop-shadow(0 3px 4px rgb(0 0 0 / 40%));
}

.verifikujteDom {
  margin-top: 20px;
  background-color: var(--accent);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: normal;
  display: block;
  padding: 10px 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: var(--shadow-elevation-high);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.verifikujteDom:hover {
  background-color: color-mix(in srgb, var(--accent) 80%, black);
  box-shadow: var(--shadow-elevation-low);
  transform: translateY(2px);
}

/* =========================================
   VESTI DOMA
========================================= */
.vesti {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 0 40px 0;
}

.vestiOne {
  flex: 0 1 calc((100% - 20px) / 2);
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-elevation-medium);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vestiOne h2 {
  color: var(--textPrimary);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}

.vestiOne p {
  font-family: "Barlow", sans-serif;
  line-height: 1.4;
  margin-bottom: 20px;
}

.vestiOne a {
  margin-top: auto;
  color: rgb(255, 255, 255);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  background-color: var(--accent);
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-elevation-high);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.vestiOne a:hover {
  background-color: color-mix(in srgb, var(--accent) 80%, black);
  box-shadow: var(--shadow-elevation-medium);
  transform: translateY(2px);
}

/* =========================================
   TIPOVI SMEŠTAJA
========================================= */
.domSmestaj {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 10px 0 0px 0;
}

.domSmestajDa {
  background-color: var(--accent2);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: normal;
  display: block;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: var(--shadow-elevation-medium);
}

.domSmestajNe {
  background-color: var(--bgPageDark) !important;
  box-shadow: none !important;
  opacity: 0.5;
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  font-style: normal;
  display: block;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

/* =========================================
   GALERIJA I SWIPER KONTROLE
========================================= */
.galerija {
  width: 100%;
  background-color: #fff;
  box-shadow: var(--shadow-elevation-high);
  padding: 10px 0 10px 0;
  margin: 0 0 40px 0;
}

.mySwiper.swiper {
  width: 100%;
  padding-bottom: 40px;
  /* space for pagination */
}

.mySwiper .swiper-wrapper {
  align-items: center;
}

.mySwiper .swiper-slide {
  width: auto;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mySwiper .swiper-slide img {
  height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
}

.mySwiper .swiper-pagination {
  bottom: 5px !important;
  position: absolute;
  z-index: 20;
}

.swiper-button-next,
.swiper-button-prev {
  width: 32px;
  height: 32px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  color: var(--accent);
  font-size: 16px;
  text-shadow:
    0 0 8px black,
    0 0 5px black,
    0 0 3px black,
    0 0 1px black;
  /* optional glow */
}

/* =========================================
  ELEMENTI FORME I OCENJIVANJE
========================================= */
.form-group {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}

.form-group input {
  padding: 10px;
  box-shadow: var(--shadow-elevation-medium);
  border: 1px solid var(--bgPageDark);
  width: 100%;
}

.form-group3 textarea {
  padding: 10px;
  box-shadow: var(--shadow-elevation-medium);
  border: 1px solid var(--bgPageDark);
  width: 100%;
}

label {
  font-family: "Barlow Condensed", sans-serif;
  color: black;
  font-size: 1.1em;
  line-height: 1.5;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}

.form-group2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-group3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.review-form .rating-stars {
  position: relative;
  display: inline-flex;
  flex-direction: row-reverse;
  /* important */
  gap: 6px;
  align-items: center;
}

/* Sakriveni radio elementi ostaju dostupni tastaturom. */
.review-form .rating-stars input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* Klikabilna oznaka ocene. */
.review-form .rating-stars .star-label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Vizuelni prikaz zvezdice. */
.review-form .rating-stars .star {
  width: 32px;
  height: 32px;
  display: block;
  background-image: url("/images/icons/star-none.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition:
    transform 0.15s ease,
    background-image 0.15s ease;
}

/* Pregled ocene pri prelasku mišem. */
.review-form .rating-stars .star-label:hover .star,
.review-form .rating-stars .star-label:hover ~ .star-label .star {
  background-image: url("/images/icons/star-full.svg");
}

/* Izabrana ocena. */
.review-form .rating-stars input[type="radio"]:checked ~ .star-label .star {
  background-image: url("/images/icons/star-full.svg");
}

/* Animacija pri prelasku mišem. */
.review-form .rating-stars .star-label:hover .star {
  transform: scale(1.08);
}

/* Fokus tastature. */
.review-form .rating-stars input[type="radio"]:focus-visible + .star-label {
  outline: 2px solid #0066cc;
  outline-offset: 4px;
  border-radius: 6px;
}

.btn-submit {
  color: black;
  font-family: "Barlow Condensed", sans-serif;
  text-shadow: 1px 1px 2px hsla(0, 0%, 100%, 1);
  font-size: 1em;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 0.9rem;
  text-decoration: none;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent3);
  border-radius: 8px;
  padding: 0 10px;
  box-shadow: var(--shadow-elevation-high);
  text-align: center;
  transition: 0.2s;
  border: none;
  width: 100%;
}

.btn-submit:hover {
  box-shadow: var(--shadow-elevation-low);
}

/* =========================================
   PREGLED RECENZIJA
========================================= */
#recenzije {
  scroll-margin-top: 80px;
}

.ocena {
  max-width: var(--widthUsko);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.ocena h2 {
  margin-bottom: 0;
}

.recenzije {
  max-width: var(--widthUsko);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.recenzije h2 {
  margin-bottom: 0;
  text-align: center;
}

.reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  width: 100%;
}

.reviewItem {
  display: flex;
  flex-direction: row;
}

.reviewItem-name {
  background-image: url(/images/bg.png);
  background-size: 400px auto;
  background-attachment: scroll;
  background-color: var(--bgPageDark);
  padding: 10px;
  width: 22ch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reviewer-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1em;
  line-height: 1.5;
  font-weight: 400;
  font-style: normal;
  margin: 0;
}

.review-date {
  font-size: 0.8em;
  opacity: 0.8;
  margin-bottom: 0;
}

.reviewItem-post {
  flex: 1;
  background-color: white;
  padding: 10px;
  box-shadow: var(--shadow-elevation-high);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.rating-stars {
  padding: 5px 0 5px 0;
}

.review-line {
  font-family: "Barlow", sans-serif;
  font-size: 1em;
  line-height: 1.2;
  font-weight: 400;
  font-style: normal;
  margin: 0.3em 0 0.3em 0;
}

.review-line-edited {
  font-family: "Barlow", sans-serif;
  color: var(--accent);
  font-size: 0.9em;
  line-height: 1.2;
  font-weight: 500;
  font-style: normal;
  margin: 0.3em 0 0.3em 0;
}

/* =========================================
   ODGOVORI NA RECENZIJE
========================================= */
.review-reply a {
  background-color: var(--bgPageDark2);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  font-style: normal;
  display: block;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  box-shadow: var(--shadow-elevation-high);
  text-decoration: none;
  flex: 1 1 auto;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  text-shadow: 0.5px 0.5px 2px hsla(0, 0%, 0%, 0.5);
  width: max-content !important;
  position: relative;
  z-index: 10;
  margin: 20px 0 0 0;
}

.review-reply a:hover {
  background-color: color-mix(in srgb, var(--accent2) 80%, black);
  box-shadow: var(--shadow-elevation-low);
  transform: translateY(2px);
}

.odgovori {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-content: flex-end;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.odgovor {
  display: flex;
  flex-direction: column;
  width: calc(100% - 22ch);
}
.odgovor-name {
  background-image: url(/images/bg.png);
  background-size: 400px auto;
  background-attachment: scroll;
  background-color: var(--bgPageDark);
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.odgovor-name p {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1em;
  line-height: 1.5;
  font-weight: 400;
  font-style: normal;
  margin: 0;
}
.odgovor-name img {
  max-width: 50px;
  max-height: 50px;
  margin-right: 10px;
  box-shadow: var(--shadow-elevation-high);
}

.odgovor-text {
  flex: 1;
  background-color: white;
  padding: 10px;
  box-shadow: var(--shadow-elevation-high);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* =========================================
   BEDŽEVI PROFILA
========================================= */
.profil {
  width: 100%;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.8em;
  line-height: 1.5;
  font-weight: 300;
  font-style: normal;
  display: inline-block;
  padding: 5px 5px 5px 30px;
  margin: 5px 0 0 0;
  background-color: var(--bgPageMediumDark);
  color: var(--textPrimary);
  text-decoration: none;
  border-radius: 0px 0px 4px 4px;
  transition: 0.2s;
  background-image: url(/images/icons/profil-osnovni.svg);
  background-repeat: no-repeat;
  background-position: left 5px center;
  background-size: 20px auto;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.25);
}

.profil-prosiren {
  background-image: url(/images/icons/profil-prosiren.svg);
}

.profil-verifikovan {
  background-image: url(/images/icons/profil-verifikovan.svg);
  background-size: 20px auto;
  background-color: #bb8c15;
  color: white;
  font-weight: 500;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
}

/* =========================================
   PRILAGOĐAVANJE ZA MANJE EKRANE
========================================= */
@media only screen and (max-width: 1080px) {
}

@media only screen and (max-width: 780px) {
  .domData {
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .domInfo {
    flex-direction: row-reverse;
  }

  .domKontakt {
    width: 100%;
  }

  .heroDom {
    max-width: 100%;
    border-radius: 0px;
  }

  .domSmestaj {
    grid-template-columns: 1fr 1fr;
  }

  .vesti {
    justify-content: stretch;
  }

  .vestiOne {
    flex-basis: 100%;
  }

  .mySwiper .swiper-slide {
    width: 100% !important;
    /* override variable width */
    height: 300px;
    /* set mobile height */
  }

  .mySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
  }

  .domReview {
    justify-content: space-between;
  }

  .form-group2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ocena {
    flex-direction: column;
    gap: 20px;
  }

  .recenzije {
    padding: 0 0px;
  }

  .reviewItem {
    flex-direction: column-reverse;
  }

  .reviewItem-name {
    width: 100%;
    flex-direction: row;
  }

  .reviewItem-post {
    z-index: 5;
  }

  .odgovor {
    width: calc(100% - 10%);
  }

  .Galerija_Nema {
    aspect-ratio: auto;
  }
}

@media only screen and (max-width: 320px) {
}
