/* Update pagina Foto-video - stil coerent cu Nuntă/Botez/Cununie */
html,
body,
main,
section,
.page-hero,
.video-service-section,
.video-portfolio-section,
.cta {
  background: #ffffff !important;
}

.video-hero-card {
  padding: clamp(22px, 3vw, 34px) !important;
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  align-content: center;
  background: #ffffff !important;
}

.video-hero-logo {
  width: min(330px, 64%) !important;
  max-height: 145px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.video-mini-carousel {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(0,0,0,.11);
}

.video-mini-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .7s ease, transform 1.8s ease;
}

.video-mini-carousel img.is-active {
  opacity: 1;
  transform: scale(1);
}

.video-mini-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,.28));
}

.video-carousel-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 13px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}

.video-carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  transition: width .25s ease, background .25s ease;
}

.video-carousel-dots span.is-active {
  width: 22px;
  background: #fff;
}

.process .step p {
  font-size: .98rem;
  line-height: 1.65;
}

.video-portfolio-section {
  padding-top: clamp(36px, 5vw, 74px) !important;
}

.video-portfolio-section .section-head {
  max-width: 840px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(22px, 3vw, 34px);
}

.video-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 42px rgba(0,0,0,.07);
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-copy {
  padding: 16px 16px 18px;
}

.video-card-copy span {
  display: inline-block;
  margin-bottom: 8px;
  color: #a47c23;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.video-card-copy h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.25;
}

.video-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 980px) {
  .video-hero-logo {
    width: min(280px, 70%) !important;
  }
  .video-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .video-hero-card {
    padding: 18px !important;
  }
  .video-hero-logo {
    width: min(230px, 72%) !important;
  }
  .video-mini-carousel {
    border-radius: 18px;
  }
  .video-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}


/* Hero video carousel - înlocuiește pozele cu preview-uri Vimeo */
.video-mini-carousel.video-hero-player {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #111111 !important;
  overflow: hidden;
  box-shadow: 0 22px 54px rgba(0,0,0,.13);
}

.video-hero-iframe,
.video-hero-iframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-hero-iframe iframe {
  pointer-events: none;
}

.video-hero-click {
  position: absolute;
  inset: 0;
  z-index: 6;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.video-hero-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  pointer-events: none;
}

.video-hero-overlay span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.video-hero-overlay strong {
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}

.video-mini-carousel.video-hero-player::after {
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.52) 100%);
}

.video-mini-carousel.video-hero-player .video-carousel-dots {
  bottom: 10px;
  z-index: 7;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0,0,0,.9);
  z-index: 10000;
}

.video-lightbox.is-open {
  display: flex;
}

.video-lightbox-inner {
  position: relative;
  width: min(1100px, 94vw);
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 26px 90px rgba(0,0,0,.55);
}

.video-lightbox-frame,
.video-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}

@media (max-width: 640px) {
  .video-hero-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .video-hero-overlay strong {
    display: none;
  }
  .video-lightbox {
    padding: 10px;
  }
  .video-lightbox-close {
    top: -10px;
    right: -4px;
  }
}


/* Update v3 - video hero mai clar, 6 secunde per clip */
.video-hero-click::before {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  background: rgba(255,255,255,.92);
  color: #111;
  font-size: 24px;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  transition: transform .25s ease, background .25s ease;
}

.video-hero-click:hover::before {
  transform: translate(-50%, -50%) scale(1.06);
  background: #ffffff;
}

.video-hero-overlay {
  bottom: 18px;
}

.video-hero-overlay span,
.video-hero-overlay strong {
  background: rgba(0,0,0,.62);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 7px 12px;
  backdrop-filter: blur(8px);
}

.video-hero-overlay strong {
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .video-hero-click::before {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }
}
