/* ====== Úvodní stránka (index.html) ====== */

.hero {
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  color: #f0f0f0;
  padding: 160px 0 140px;
  position: relative;
  min-height: 120vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .65))
}

.hero>.container {
  position: relative;
  z-index: 2
}


.section-img {
  position: relative;
  overflow: hidden
}

.section-img .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .25;
  filter: saturate(90%)
}

.section-img .container {
  position: relative;
  z-index: 2
}

/* Karty */
.card {
  background: #201d18;
  border: 1px solid rgba(255, 255, 255, .06);
}

.card .card-title {
  color: #f0f0f0
}

.card p {
  color: var(--muted) !important
}

.card-offer,
.card-project {
  transition: transform .2s ease, box-shadow .2s ease
}

.card-offer:hover,
.card-project:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .35)
}

.ratio-16x9 {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
  display: block
}

.property-gallery {
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(0, 0, 0, .08));
}

.property-gallery-stage {
  width: 100%;
  border: 0;
  padding: 0;
  background: #161310;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

.property-gallery-stage img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform .25s ease, opacity .25s ease;
}

.property-gallery-stage:hover img {
  transform: scale(1.015);
  opacity: .94;
}

.property-gallery-thumbs-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.property-gallery-scroll {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.property-gallery-scroll:hover {
  background: rgba(212, 175, 55, .18);
  border-color: rgba(212, 175, 55, .45);
}

.property-gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, .6) rgba(255, 255, 255, .08);
}

.property-gallery-thumbs::-webkit-scrollbar {
  height: 8px;
}

.property-gallery-thumbs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
}

.property-gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, .6);
  border-radius: 999px;
}

.property-gallery-thumb {
  flex: 0 0 116px;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  background: #161310;
  opacity: .75;
  transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.property-gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.property-gallery-thumb:hover,
.property-gallery-thumb.is-active {
  opacity: 1;
  transform: translateY(-1px);
  border-color: var(--gold);
}

.property-gallery-modal .modal-content {
  background: #15120f;
  border: 1px solid rgba(255, 255, 255, .08);
}

.property-gallery-modal-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  background: #0b0a08;
  border-radius: 18px;
}

.property-gallery-caption {
  color: var(--muted);
  font-size: .95rem;
  text-align: center;
  margin-top: 14px;
}

@media (max-width: 767.98px) {
  .property-gallery {
    padding: 16px;
  }

  .property-gallery-thumbs-bar {
    grid-template-columns: 1fr;
  }

  .property-gallery-scroll {
    display: none;
  }

  .property-gallery-thumb {
    flex-basis: 92px;
  }
}

/* Cik-cak layout (pro sekce se třídou .zigzag) */
.zigzag .col-img {
  order: 1
}

.zigzag .col-text {
  order: 2
}

@media (min-width: 768px) {
  .zigzag:nth-of-type(even) .col-img {
    order: 2
  }

  .zigzag:nth-of-type(even) .col-text {
    order: 1
  }
}

/* Drobnosti */
.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover
}

/* Ikonky ve 4 sloupcích */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  font-size: 40px;
  /* velikost emoji */
  line-height: 1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 30% 30%, rgba(212, 175, 55, .2), rgba(212, 175, 55, .06));
  border: 1px solid rgba(212, 175, 55, .35);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .03), 0 6px 18px rgba(0, 0, 0, .35);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature {
  text-align: center;
  /* centruje nadpis + text */
}

.feature .icon {
  margin: 0 auto 12px auto;
  /* na střed v boxu */
}

/* varianta A – ikona vyplní téměř celé kolečko */
.icon img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
}

.feature:hover .icon {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(212, 175, 55, .6);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .06), 0 10px 26px rgba(0, 0, 0, .45);
}

.icon-xl {
  width: 104px;
  height: 104px;
  font-size: 48px;
}

.faq-accordion .accordion-item {
  background: transparent;
  border-color: rgba(255, 255, 255, .1);
}

.faq-accordion .accordion-button {
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--ink);
  background: var(--gold);
}

.faq-accordion .accordion-body {
  color: var(--muted);
}

/* Pozadí sekce Služby */
.bg-service {
  background-image: url('../img/service-bg.jpg')
}

/* Štítek „Nově v nabídce“ */
.label-new {
  letter-spacing: .12em;
  color: var(--gold);
}
