:root{
  --glass-bg: rgba(255,255,255,0.18);
  --glass-bd: rgba(255,255,255,0.35);
}

html, body {
  height: 100%;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  color: #fff;
  scroll-behavior: smooth;
}

#bg-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.25), rgba(0,0,0,.55));
  z-index: -1;
}

.glass-card{
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.festive{
  font-family: 'Great Vibes', cursive;
  font-size: clamp(28px, 5vw, 46px);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.form-label { color: #fff; }
.form-control, .form-select, textarea {
  background: rgba(255,255,255,.88);
  border: none;
  color: #222;
}
.form-control::placeholder, textarea::placeholder { color: #666; }

.btn-primary{
  background: linear-gradient(45deg, #845ef7, #ff6b6b);
  border: none;
}
.btn-primary:hover{ filter: brightness(1.05); }

/* ===== Masonry ===== */
.masonry{
  column-gap: 5px;           /* separación horizontal */
  /* Columnas responsivas */
  column-count: 1;
}


.masonry-item{
  display: block;
  break-inside: avoid;       /* evita superposiciones/cortes */
  margin-bottom: 5px;        /* separación vertical */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}

.masonry-img{
  width: 100%;
  height: auto;              /* respeta altura natural -> efecto masonry */
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform .2s ease, filter .2s ease;
}
.masonry-item:hover .masonry-img{
  transform: scale(1.01);
  filter: brightness(1.02);
}

/* Ajuste fino para que la galería "entre" prolija en el card */
#detalles .masonry{ margin-top: .5rem; }
