/* ============================================================
   GERREROS BOXING CLUB - EXHIBICIONES
   Estilos específicos para la página de exhibiciones
   ============================================================ */

.exhibiciones {
  padding: 4rem 0;
}

.exhibicion-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin: 2rem auto;
  max-width: 600px;
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: transform 0.25s, border-color 0.25s;
}

.exhibicion-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.exhibicion-card__date {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  min-width: 120px;
}

.exhibicion-card__day {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  font-family: 'Anton', sans-serif;
}

.exhibicion-card__month {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.5rem;
}

.exhibicion-card__year {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.exhibicion-card__info {
  flex: 1;
}

.exhibicion-card__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 0 0 0.5rem 0;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
}

.exhibicion-card__location {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0 0 0.3rem 0;
  font-weight: 600;
}

.exhibicion-card__address {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 0.3rem 0;
  font-weight: 500;
}

.exhibicion-card__time {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 0.8rem 0;
  font-weight: 500;
}

.exhibicion-card__description {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.exhibicion-card__prices {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.exhibicion-card__price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  gap: 0.5rem;
}

.exhibicion-card__price-label {
  color: var(--text-muted);
  font-weight: 500;
}

.exhibicion-card__price-value {
  color: var(--accent-gold);
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.exhibicion-card__cta {
  margin-top: 1rem;
  text-align: right;
}

.exhibicion-gallery {
  margin-top: 3rem;
}

.exhibicion-gallery__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin: 0 0 2rem 0;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  text-align: center;
}

.exhibicion-gallery__section {
  margin-bottom: 3rem;
}

.exhibicion-gallery__subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
}

.exhibicion-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.exhibicion-gallery__item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
}

.exhibicion-gallery__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(214, 163, 45, 0.4);
}

.exhibicion-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exhibicion-gallery__video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.exhibicion-gallery__video-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exhibicion-gallery__video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(214, 163, 45, 0.4);
}

.exhibicion-gallery__video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exhibicion-gallery__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.exhibicion-gallery__video-overlay:hover {
  background: rgba(0, 0, 0, 0.3);
}

.exhibicion-gallery__play {
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.exhibicion-gallery__duration {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

.exhibicion-gallery__video-overlay:hover .exhibicion-gallery__play {
  transform: scale(1.1);
}

/* Estilos para videos personalizados (igual que index.html) */
.exhibicion-gallery__video-item--custom {
  cursor: pointer;
}

.exhibicion-gallery__video-item--custom .exhibicion-gallery__video {
  object-fit: cover;
}

.exhibicion-gallery__video-item--custom.is-playing .exhibicion-gallery__video-overlay {
  display: none;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  z-index: 2;
}

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

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

/* ============================================================
   LIGHTBOX PARA VIDEOS
   ============================================================ */
.lightbox--video {
  justify-content: center;
}

.lightbox__video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .exhibicion-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .exhibicion-card__date {
    min-width: auto;
    width: 100%;
  }
  
  .exhibicion-card__title {
    font-size: 1.5rem;
  }
  
  .exhibicion-card__price-item {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }
  
  .exhibicion-card__cta {
    text-align: center;
    margin-top: 1rem;
  }
  
  .exhibicion-card__cta .btn {
    width: 100%;
  }
  
  .exhibicion-gallery__grid,
  .exhibicion-gallery__video-grid {
    grid-template-columns: 1fr;
  }
  
  .exhibicion-gallery__title {
    font-size: 1.5rem;
  }
  
  .exhibicion-gallery__subtitle {
    font-size: 1.2rem;
  }
}