/* Update pagina Nuntă - hero cu logo mai mic + carusel */
.wedding-hero-card {
  padding: clamp(22px, 3vw, 34px) !important;
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  align-content: center;
}

.wedding-hero-logo {
  width: min(340px, 66%) !important;
  max-height: 150px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

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

.wedding-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;
}

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

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

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

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

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

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

@media (max-width: 980px) {
  .wedding-hero-logo {
    width: min(280px, 70%) !important;
  }
  .wedding-mini-carousel {
    width: min(560px, 100%);
  }
}

@media (max-width: 640px) {
  .wedding-hero-card {
    padding: 18px !important;
  }
  .wedding-hero-logo {
    width: min(230px, 72%) !important;
  }
  .wedding-mini-carousel {
    border-radius: 18px;
  }
}


/* Galerie random pagina Nuntă - thumbnails mai fine, format natural păstrat */
.wedding-gallery-section {
  padding-top: clamp(34px, 5vw, 70px) !important;
}

.wedding-gallery-section .section-head {
  max-width: 780px;
}

.wedding-gallery-section .section-head h2 {
  max-width: 760px;
}

.wedding-random-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 1180px;
  margin: clamp(20px, 3vw, 30px) auto 0;
  align-items: start;
}

.wedding-random-gallery figure,
.wedding-random-gallery figure.is-wide,
.wedding-random-gallery figure.is-normal,
.wedding-random-gallery figure.is-tall,
.wedding-random-gallery figure.is-featured {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #f6f3ee;
  box-shadow: 0 10px 24px rgba(0,0,0,.045);
  grid-column: auto !important;
  grid-row: auto !important;
  aspect-ratio: auto !important;
}

.wedding-random-gallery figure.is-featured,
.wedding-random-gallery figure.is-wide {
  grid-column: span 2 !important;
}

.wedding-random-gallery figure.is-tall {
  grid-column: span 1 !important;
}

.wedding-random-gallery img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: center;
  transition: transform .35s ease, filter .35s ease;
}

.wedding-random-gallery figure:hover img {
  transform: scale(1.012);
  filter: saturate(1.03) contrast(1.01);
}

.wedding-random-gallery figcaption {
  position: absolute;
  left: 9px;
  bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(12,12,12,.54);
  color: #fff;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.wedding-gallery-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

@media (max-width: 1180px) {
  .wedding-random-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 920px;
    gap: 9px;
  }
  .wedding-random-gallery figure.is-featured,
  .wedding-random-gallery figure.is-wide {
    grid-column: span 2 !important;
  }
}

@media (max-width: 760px) {
  .wedding-random-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    max-width: 100%;
  }
  .wedding-random-gallery figure.is-featured,
  .wedding-random-gallery figure.is-wide {
    grid-column: span 2 !important;
  }
  .wedding-gallery-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .wedding-random-gallery {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .wedding-random-gallery figure.is-featured,
  .wedding-random-gallery figure.is-wide,
  .wedding-random-gallery figure.is-normal,
  .wedding-random-gallery figure.is-tall {
    grid-column: 1 / -1 !important;
  }
}


/* Fundal alb curat pentru pagina Nuntă - fără bej pe suprafețele principale */
html,
body,
main,
section,
.page-hero,
.service-section,
.portfolio-section,
#portofoliu,
.statement,
.cta,
.wedding-page,
.wedding-random-wrap {
  background: #ffffff !important;
}

.wedding-hero-card,
.wedding-random-gallery figure,
.wedding-random-gallery figure.is-wide,
.wedding-random-gallery figure.is-normal,
.wedding-random-gallery figure.is-tall,
.wedding-random-gallery figure.is-featured {
  background: #ffffff !important;
}

/* Păstrez fundal neutru doar în interiorul caruselului, când imaginea nu ocupă încă zona */
.wedding-mini-carousel {
  background: #ffffff !important;
}
