﻿/* Estilos específicos para la página de entrada de eventos */

/* Información del evento */
.event-meta {
  background: linear-gradient(135deg, var(--indigo) 0%, #4a5568 100%);
  color: white;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.event-meta__item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.1rem;
  line-height: 1.4;
}

.event-meta__item:last-child {
  margin-bottom: 0;
}

.event-meta__item i {
  width: 20px;
  text-align: center;
  color: var(--yellow);
  font-size: 1.2rem;
}

.event-meta__label {
  font-weight: 600;
  min-width: 100px;
  color: var(--yellow);
}

.event-cost {
  background: var(--orange);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  display: inline-block;
  margin-top: 16px;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.event-repetitive {
  background: var(--yellow);
  color: var(--indigo);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-left: 12px;
  box-shadow: 0 2px 6px rgba(243, 208, 0, 0.3);
}

.event-description {
  background: rgba(79, 70, 229, 0.05);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
  border-left: 4px solid var(--indigo);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.event-content {
  margin-bottom: 32px;
}

.event-map {
  margin-top: 32px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: white;
}

.event-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Botón CTA */
.cta-button {
  background: linear-gradient(135deg, var(--orange) 0%, #f97316 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  text-align: center;
  width: 100%;
  margin-bottom: 24px;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  color: white;
  text-decoration: none;
}

.cta-button i {
  margin-right: 8px;
}

/* Fechas del evento */
.event-dates {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 2px solid var(--indigo);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.event-dates__title {
  color: var(--indigo);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-family: \"Libre Baskerville\", Georgia, serif;
}

.event-date-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--ink);
}

.event-date-item:last-child {
  margin-bottom: 0;
}

.event-date-item i {
  color: var(--orange);
  width: 16px;
  font-size: 0.9rem;
}

.event-date-item strong {
  color: var(--indigo);
  min-width: 60px;
}

/* Mejoras visuales para el contenido del evento */
.event-content h2,
.event-content h3,
.event-content h4 {
  color: var(--indigo);
  margin-top: 32px;
  margin-bottom: 16px;
  font-family: \"Libre Baskerville\", Georgia, serif;
  font-weight: 700;
}

.event-content p {
  margin-bottom: 24px;
  line-height: 1.7;
  color: var(--ink);
}

.event-content ul,
.event-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.event-content li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: var(--ink);
}

.event-content blockquote {
  border-left: 4px solid var(--orange);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: #555;
  background: rgba(243, 146, 0, 0.05);
  padding: 24px;
  border-radius: 0 8px 8px 0;
  font-size: 1.05rem;
}

.event-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Enlaces en el contenido */
.event-content a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.event-content a:hover {
  color: var(--red);
  text-decoration: underline;
}

/* Animaciones suaves */
.event-meta,
.event-description,
.event-map,
.event-dates {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .event-meta {
    padding: 20px;
  }
  
  .event-meta__item {
    font-size: 1rem;
    flex-wrap: wrap;
  }
  
  .event-description {
    padding: 20px;
    font-size: 1rem;
  }
  
  .event-map iframe {
    height: 300px;
  }
  
  .cta-button {
    padding: 14px 24px;
    font-size: 1rem;
  }
  
  .event-dates {
    padding: 16px;
  }
  
  .event-dates__title {
    font-size: 1rem;
  }
  
  .event-date-item {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .event-meta__label {
    min-width: auto;
    width: 100%;
    margin-bottom: 4px;
  }
  
  .event-meta__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .event-repetitive {
    margin-left: 0;
    margin-top: 8px;
  }
  
  .event-cost {
    margin-top: 8px;
  }
  
  .event-content h2,
  .event-content h3,
  .event-content h4 {
    font-size: 1.25rem;
  }
}

/* Utilidades adicionales */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-0 {
  margin-top: 0;
}

/* Estilos para el sidebar */
.sidebar-section {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.sidebar-section__title {
  font-family: \"Libre Baskerville\", Georgia, serif;
  font-size: 1.25rem;
  color: var(--indigo);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
  font-weight: 700;
}

/* Posts similares y eventos próximos */
.related-post,
.upcoming-event {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.related-post:hover,
.upcoming-event:hover {
  background: rgba(79, 70, 229, 0.02);
  border-radius: 8px;
  padding: 12px;
  margin: -4px -4px 12px -4px;
}

.related-post:last-child,
.upcoming-event:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-post__image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.related-post__content,
.upcoming-event__content {
  flex: 1;
}

.related-post__title,
.upcoming-event__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.3;
}

.related-post__title a,
.upcoming-event__title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-post__title a:hover,
.upcoming-event__title a:hover {
  color: var(--orange);
}

.related-post__date,
.upcoming-event__date {
  font-size: 0.8rem;
  color: #666;
}

.upcoming-event__date {
  background: var(--indigo);
  color: white;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  min-width: 48px;
  flex-shrink: 0;
}

.upcoming-event__day {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.upcoming-event__month {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.upcoming-event__category {
  font-size: 0.8rem;
  color: #666;
}

/* Botones del sidebar */
.btn--full-width {
  width: 100%;
  text-align: center;
  margin-top: 16px;
}

.btn--accent {
  background: linear-gradient(135deg, var(--orange) 0%, #f97316 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
  border: none;
  cursor: pointer;
}

.btn--accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
  color: white;
  text-decoration: none;
}
