/* Estilos customizados para a página de detalhes do evento */

.hero-section {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 10;
}

.event-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #10b981;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.event-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.event-description {
  font-size: 1.25rem;
  color: #e5e7eb;
  max-width: 48rem;
}

.content-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
}

.sidebar-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

.price-display {
  font-size: 2rem;
  font-weight: bold;
  color: #059669;
  text-align: center;
  margin-bottom: 0.5rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #dcfce7;
  color: #166534;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-icon {
  color: #6b7280;
  width: 1.25rem;
}

.btn-primary {
  width: 100%;
  background-color: #059669;
  color: white;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #047857;
}

.btn-secondary {
  width: 100%;
  background-color: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: #f9fafb;
}

.progress-bar {
  width: 100%;
  height: 0.5rem;
  background-color: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #059669;
  transition: width 0.3s ease;
}

.palestrante-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
}

.palestrante-foto {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
}

.newsletter-section {
  background-color: #059669;
  padding: 4rem 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: none;
  outline: none;
}

.newsletter-input:focus {
  ring: 2px;
  ring-color: #86efac;
}

.newsletter-btn {
  background-color: white;
  color: #059669;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.newsletter-btn:hover {
  background-color: #f9fafb;
}

/* Responsividade */
@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .event-title {
    font-size: 2rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .sidebar-card {
    position: static;
  }
}

/* Animações */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

.btn-inscrito {
  background-color: #dc2626 !important;
}

.btn-inscrito:hover {
  background-color: #b91c1c !important;
}

.favorito {
  color: #dc2626 !important;
  border-color: #fecaca !important;
}

.favorito i {
  color: #dc2626 !important;
}
