{% extends 'base.html.twig' %}{% block title %}{{ event.title }} - WA BENIN{% endblock %}{% block body %}<div class="page-header" style="height: 35vh; min-height: 250px; margin-bottom: 40px;"><div class="container fade-up" style="max-width: 800px; text-align: center;"><span style="background: var(--red); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; text-transform: uppercase; margin-bottom: 20px; display: inline-block;">{{ event.category }}</span><h1 class="page-title" style="font-size: 3rem;">{{ event.title }}</h1></div></div><section class="section-padding" style="padding-top: 0;"><div class="container"><div style="display: grid; grid-template-columns: 2fr 1fr; gap: 40px;"><div class="fade-up" style="background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow-soft); overflow: hidden;">{% if event.image %}<div style="width: 100%; max-height: 450px; overflow: hidden;"><img src="{{ event.image }}" alt="{{ event.title }}" style="width: 100%; height: auto; object-fit: cover;"></div>{% endif %}<div style="padding: 40px;"><h2 style="margin-bottom: 20px;">À propos de l'événement</h2><div style="font-size: 1.1rem; line-height: 1.8; color: #444;">{{ event.description|nl2br }}</div></div></div><div class="fade-up" style="display: flex; flex-direction: column; gap: 20px;"><div style="background: #fff; padding: 30px; border-radius: var(--border-radius); box-shadow: var(--shadow-soft);"><h3 style="margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px;">Détails</h3><div style="margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px;"><div style="width: 40px; height: 40px; border-radius: 50%; background: rgba(244, 180, 0, 0.1); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0;"><i class="far fa-calendar-alt"></i></div><div><h4 style="margin: 0; font-size: 1rem;">Date & Heure</h4><span style="color: #666; font-size: 0.9rem;">{{ event.date|date('d M Y à H:i') }}</span></div></div><div style="margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px;"><div style="width: 40px; height: 40px; border-radius: 50%; background: rgba(30, 132, 73, 0.1); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0;"><i class="fas fa-map-marker-alt"></i></div><div><h4 style="margin: 0; font-size: 1rem;">Lieu</h4><span style="color: #666; font-size: 0.9rem;">{{ event.location }}</span></div></div><div style="margin-bottom: 25px; display: flex; align-items: flex-start; gap: 15px;"><div style="width: 40px; height: 40px; border-radius: 50%; background: rgba(192, 57, 43, 0.1); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0;"><i class="fas fa-ticket-alt"></i></div><div><h4 style="margin: 0; font-size: 1rem;">Tarif</h4><span style="color: #666; font-size: 0.9rem; font-weight: bold;">{% if event.isFree %} Gratuit {% else %} {{ event.price }} € {% endif %}</span></div></div><button class="btn btn-primary" style="width: 100%;">Réserver ma place</button></div><!-- Map --><div style="width: 100%; height: 300px; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-soft);"><iframe width="100%" height="100%" frameborder="0" style="border:0" src="https://maps.google.com/maps?q={{ event.location|url_encode }}&t=&z=13&ie=UTF8&iwloc=&output=embed" allowfullscreen></iframe></div></div></div></div></section>{% endblock %}