@charset "utf-8";

.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.0);
  font-size: 1.0em;
  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 {
  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;
}

.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;
}

.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);
}

.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;
}


.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;
  opacity: 0.3;
  margin: 0 auto;
}

.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 {
  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 */
}

/* =========================================
   SVG STAR RATING — FINAL, WORKING
========================================= */
.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;
}

/*  Hide radio inputs (but keep them accessible) */
.review-form .rating-stars input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* Clickable label */
.review-form .rating-stars .star-label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Star visual */
.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;
}

/* Hover preview */
.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");
}

/* Selected (checked) state */
.review-form .rating-stars input[type="radio"]:checked~.star-label .star {
  background-image: url("/images/icons/star-full.svg");
}

/* Optional hover animation */
.review-form .rating-stars .star-label:hover .star {
  transform: scale(1.08);
}

/* Keyboard accessibility */
.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.0);
  font-size: 1.0em;
  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);
}

#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: 40px;
  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;
}

.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: center;
}

.rating-stars {
  padding: 5px 0 5px 0;
}

.review-line {
  font-family: "Barlow", sans-serif;
  font-size: 1.0em;
  line-height: 1.2;
  font-weight: 400;
  font-style: normal;
  margin: 0.3em 0 0.3em 0;
}

@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;
  }

  .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%;
  }

  .reviewItem-post {
    z-index: 5;
  }

}

@media only screen and (max-width: 320px) {}