/* ===== ESTILOS WEB - ESPECÍFICOS PARA DISPOSITIVOS DE ESCRITORIO ===== */

/* Imagen de fondo para web */
body:not(.registro-fondo):not(.login-fondo) {
  background-image: url('/static/img/fondo.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Fondos de registro y login para web */
.registro-fondo,
.login-fondo {
  background-image: url("/static/img/wecco_fondo_agenda.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* Hero section web */
.hero.is-fullheight.has-text-centered,
.hero.is-fullheight.has-text-centered h1,
.hero.is-fullheight.has-text-centered p {
  color: #eee7e5 !important;
}

.hero.is-fullheight.has-text-centered a:hover {
  color: #fff !important;
}

/* Optimizaciones web */
.hero-body {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.hero-body .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

/* Botones web */
.button.is-large {
  font-size: 1.25rem;
}

.button.is-medium {
  font-size: 1.125rem;
}

/* Espaciado web */
.section {
  padding: 3rem 1.5rem;
}

/* Cards web */
.box {
  margin: 1rem 0;
  padding: 2rem;
}

/* Contraste: asegurar texto legible sobre cajas oscuras */
.box.has-background-dark,
.box.has-background-black,
.card.has-background-dark,
.card.has-background-black {
  color: #eaeaea;
}
.box.has-background-dark .title,
.box.has-background-black .title,
.card.has-background-dark .title,
.card.has-background-black .title {
  color: #ffffff !important;
}
.box.has-background-dark .subtitle,
.box.has-background-black .subtitle,
.card.has-background-dark .subtitle,
.card.has-background-black .subtitle,
.box.has-background-dark .content,
.card.has-background-dark .content {
  color: #d0d0d0 !important;
}

/* Mejorar contraste de "etiquetas" (texto antes de ":") en cajas/oscuras */
.has-background-dark strong,
.has-background-black strong,
.has-background-dark b,
.has-background-black b,
.has-background-dark dt,
.has-background-black dt {
  color: #ffffff !important;
}
.has-background-dark .has-text-grey-light,
.has-background-black .has-text-grey-light {
  color: #e8e8e8 !important;
}
.has-background-dark .kv-label,
.has-background-black .kv-label {
  color: #ffffff !important;
  font-weight: 600;
}

/* Forzar color de labels en cajas oscuras */
.has-background-dark .label,
.has-background-black .label {
  color: #ffffff !important;
}

/* Texto web */
.title.is-1 {
  font-size: 3rem;
}

.title.is-2 {
  font-size: 2.5rem;
}

.title.is-3 {
  font-size: 2rem;
}

.title.is-4 {
  font-size: 1.5rem;
}

.subtitle.is-5 {
  font-size: 1.25rem;
}

.is-size-6 {
  font-size: 1.125rem;
}

/* Imágenes web */
.image {
  max-width: 100%;
}

/* Grid web */
.columns.is-multiline .column {
  padding: 0.75rem;
}

/* Navbar web */
.navbar-menu {
  background-color: transparent;
}

/* Footer web */
footer {
  font-size: 1rem;
  padding: 1.5rem;
}

/* Formularios web */
.field {
  margin-bottom: 1.5rem;
}

/* Calendario web */
#calendar {
  padding: 2rem;
  font-size: 1rem;
}

.fc .fc-toolbar-title {
  font-size: 2rem;
}

/* Eventos web */
.evento-box {
  min-height: 350px;
  max-width: 80%;
}

/* Detalle de evento: layout fluido que encuadra en monitores desktop */
.event-detail-box {
  border-radius: 12px;
  margin: 0 auto;
  max-width: 1200px;
}
.event-detail-columns {
  align-items: center; /* centra vertical en desktop */
}
.event-detail-flyer-img {
  width: 38vw;            /* proporcional al viewport */
  max-width: 460px;       /* límite superior en desktop grandes */
  min-width: 320px;       /* mantiene legibilidad en 1366px */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.event-flyer-wrapper { position: relative; display: inline-block; }
.soldout-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* no bloquea clics */
}
.soldout-watermark span {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  color: rgba(255, 0, 0, 0.85); /* rojo */
  text-transform: uppercase;
  letter-spacing: 4px;
  transform: rotate(-18deg);
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  mix-blend-mode: overlay;
}

@media (min-width: 1600px) {
  .event-detail-box { max-width: 1400px; }
  .event-detail-flyer-img { max-width: 520px; }
}

@media (max-width: 1216px) {
  .event-detail-columns { align-items: flex-start; }
  .event-detail-flyer-img { width: 45vw; min-width: 280px; }
}

/* Tooltips web */
.fc-tooltip {
  font-size: 0.875rem;
  padding: 6px 10px;
}

/* Hover effects web */
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

/* Animaciones web */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .box {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive web */
@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1216px) {
  .container {
    max-width: 1152px;
  }
}

@media (min-width: 1408px) {
  .container {
    max-width: 1344px;
  }
}
