/* ==========================================================
   custom.css — capa de rediseño moderno (2026)
   Se carga DESPUÉS de theme.css y solo sobreescribe variables
   y agrega componentes nuevos; no toca el build de Sass.
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bs-body-font-family: 'Inter', -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-border-radius: .375rem;
  --bs-border-radius-sm: .25rem;
  --bs-border-radius-lg: .5rem;
  --accent: #e6483a;       /* rojo ember — acento moderno sobre el negro */
  --accent-dark: #b4362b;
}

body {
  font-family: var(--bs-body-font-family);
}

h1, h2, h3, h4, h5, h6,
.navbar-brand {
  font-family: 'Oswald', var(--bs-body-font-family);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

p.lead { font-family: var(--bs-body-font-family); font-weight: 400; }

a { transition: color .2s ease; }

/* ---------- Navbar ---------- */
.navbar-brand {
  font-size: 1.15rem;
  color: #fff !important;
  letter-spacing: .06em;
}
.navbar-brand span { color: var(--accent); }
.navbar-brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.navbar .nav-link {
  position: relative;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding-top: .85rem;
  padding-bottom: .85rem;
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%;
  bottom: .5rem;
  height: 2px;
  background: var(--accent);
  transition: left .2s ease, right .2s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  left: .9rem; right: .9rem;
}

.navbar:not(.navbar-ontop) {
  box-shadow: 0 2px 18px rgba(0, 0, 0, .45);
  backdrop-filter: saturate(150%) blur(6px);
}

/* ---------- Botones ---------- */
.btn {
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 500;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

/* ---------- Hero moderno ---------- */
.hero-modern {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(230, 72, 58, .18), transparent 60%),
    linear-gradient(180deg, #0c0c0c 0%, #161616 55%, #0c0c0c 100%);
  background-size: cover;
  background-position: center;
}
.hero-modern.has-photo {
  background-blend-mode: multiply;
}
.hero-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.65) 75%, #111 100%);
  pointer-events: none;
}
.hero-modern .hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 1rem 4rem;
}
.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(3rem, 11vw, 7rem);
  line-height: .95;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.hero-title span { color: var(--accent); }
.hero-logo {
  width: clamp(280px, 60vw, 780px);
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ---------- Modal de detalle de evento ---------- */
.evento-modal-img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: #000;
}
@media (min-width: 768px) {
  .evento-modal-img { max-height: 320px; }
}
.hero-subtitle {
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, .75);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 300;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, .55);
  font-size: 1.4rem;
  animation: hero-bounce 1.8s ease-in-out infinite;
}
@keyframes hero-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Tarjetas con hover ---------- */
.card-hover {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 1px solid rgba(255, 255, 255, .08);
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
  border-color: rgba(230, 72, 58, .35);
}

/* Miembros: aro de acento en hover sobre la foto circular */
#miembros img.rounded-circle {
  transition: box-shadow .25s ease, transform .25s ease;
  box-shadow: 0 0 0 0 rgba(230, 72, 58, 0);
}
#miembros a:hover img.rounded-circle {
  box-shadow: 0 0 0 4px rgba(230, 72, 58, .55);
  transform: translateY(-4px);
}

/* ---------- Calendario / Agenda de fechas ---------- */
.dia-disponible {
  transition: transform .15s ease, filter .15s ease;
}
.dia-disponible:hover {
  filter: brightness(1.2);
}
.dia-agenda.dia-disponible:hover {
  border-color: var(--accent) !important;
}

/* Calendario mensual "de verdad": grid con celdas tipo caja */
.mes-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.mes-grid-header {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  padding-bottom: .5rem;
}

.mes-dia {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: .375rem;
  padding: .35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: rgba(255, 255, 255, .02);
}

.mes-dia-vacio {
  border-color: transparent;
  background: transparent;
}

.mes-dia-num {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(.8rem, 2.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1;
}

.mes-dia-estado {
  margin-top: auto;
  font-size: .65rem;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.mes-dia-punto {
  position: absolute;
  top: .4rem;
  right: .4rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.mes-dia.estado-disponible {
  background: rgba(40, 167, 69, .16);
  border-color: rgba(40, 167, 69, .35);
}
.mes-dia.estado-disponible .mes-dia-estado { color: #6fdb8f; }

.mes-dia.estado-lleno {
  background: rgba(220, 53, 69, .14);
  border-color: rgba(220, 53, 69, .3);
}
.mes-dia.estado-lleno .mes-dia-estado { color: #f08c96; }

.cuenta-tabs {
  border-bottom-color: rgba(255, 255, 255, .15);
  flex-wrap: wrap;
}
.cuenta-tabs .nav-link {
  color: rgba(255, 255, 255, .6);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: .6rem .9rem;
}
.cuenta-tabs .nav-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
}
.cuenta-tabs .nav-link.active {
  color: #fff;
  background: transparent;
  border-color: var(--accent);
}

.mes-dia.estado-muy_pronto {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  opacity: .55;
}
.mes-dia.estado-muy_pronto .mes-dia-estado { color: #9a9a9a; }

.mes-dia.estado-pasado {
  opacity: .35;
}

.mes-dia.mes-dia-hoy {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.mes-dia.mes-dia-hoy .mes-dia-num {
  color: var(--accent);
}

.mes-dia.dia-disponible:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .4);
  cursor: pointer;
}

@media (max-width: 576px) {
  .mes-grid { gap: 2px; }
  .mes-dia { padding: .2rem; border-radius: .25rem; }
  .mes-dia-estado { display: none !important; }
}

/* ---------- Estados de pedido (cuenta del cliente) ---------- */
.badge-estado-pagado,
.badge-estado-confirmado { background: #28a745; }
.badge-estado-fallido,
.badge-estado-cancelado,
.badge-estado-rechazado { background: #dc3545; }
.badge-estado-pendiente,
.badge-estado-tentativo { background: #ffc107; color: #202020; }

/* ---------- Contenido enriquecido (editor del panel) ---------- */
.rich-content { line-height: 1.7; }
.rich-content p { margin-bottom: 1rem; }
.rich-content h2, .rich-content h3 { margin-top: 1.5rem; margin-bottom: .75rem; }
.rich-content ul, .rich-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.rich-content a { color: var(--accent); text-decoration: underline; }
.rich-content img { max-width: 100%; height: auto; border-radius: .375rem; margin: .5rem 0; }
.rich-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 1rem 0;
  color: rgba(255, 255, 255, .75);
}
.rich-content .ql-size-small { font-size: .75em; }
.rich-content .ql-size-large { font-size: 1.5em; }
.rich-content .ql-size-huge { font-size: 2.25em; }
.rich-content .ql-align-center { text-align: center; }
.rich-content .ql-align-right { text-align: right; }
.rich-content .ql-align-justify { text-align: justify; }

/* ---------- Ícono de play sobre la portada del video ---------- */
/* .ratio > * (Bootstrap) fuerza width/height:100% a los hijos, lo que
   rompe el centrado con transform; por eso se anulan aquí explícitamente. */
.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 0, 0, .6);
  pointer-events: none;
}

/* ---------- Compartir (modal de video) ---------- */
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.share-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Secciones ---------- */
.section-eyebrow {
  font-family: 'Oswald', sans-serif;
  color: var(--accent);
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .75rem;
  margin-bottom: .5rem;
  display: block;
}
