:root {
    --primary-dark: #2b1e18;
    --secondary-dark: #5b3a29;
    --accent-gold: #f5d78f;
    --light-gold: #dcb87b;
    --white: #ffffff;
    --light-overlay: rgba(255,255,255,0.1);
    --success-green: #4CAF50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
    color: var(--white);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.event-page {
    flex: 1;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.header {
    margin-bottom: 40px;
}

h1 {
    font-size: 2.8rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--light-gold);
}

.image-container {
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.4);
}

.event-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover .event-image {
    transform: scale(1.03);
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 30px;
}

.highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

.program-section {
    margin: 50px 0;
    background: var(--light-overlay);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
}

.program-title {
    color: var(--accent-gold);
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
}

.program-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.program-item {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
}

.program-icon {
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--light-gold);
}

.details {
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-weight: 500;
    margin: 40px 0;
}

.price {
    font-size: 1.4rem;
    display: block;
    margin-top: 10px;
}

.reservation-note {
    font-style: italic;
    font-size: 1rem;
    margin-top: 10px;
    display: block;
}

.location-section {
    margin: 50px 0;
    background: var(--light-overlay);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.location-title {
    color: var(--accent-gold);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.location-address {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--light-gold);
}

.map-container {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.cta-button {
    background: var(--light-gold);
    color: var(--primary-dark);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.reservation-form {
    background: var(--light-overlay);
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: left;
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-gold);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gold);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255,255,255,0.15);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.6);
}

.submit-button {
    background: var(--light-gold);
    color: var(--primary-dark);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
}

.submit-button:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}

.form-title {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Footer Styles */
.footer {
    background: var(--primary-dark);
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid var(--light-overlay);
    margin-top: auto;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-copyright {
    color: var(--light-gold);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Styles pour le loader et messages */
.loading-spinner {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.spinner {
    border: 4px solid var(--light-overlay);
    border-top: 4px solid var(--accent-gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    display: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid var(--success-green);
    color: var(--success-green);
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    color: #f44336;
    white-space: pre-line;
}

/* Styles pour les sections de formulaire WhatsApp */
.form-section {
    margin: 60px 0;
    padding: 50px 20px;
}

.whatsapp-form-section {
    background: rgba(255, 255, 255, 0.05);
    border-top: 2px solid var(--light-gold);
    border-bottom: 2px solid var(--light-gold);
}

.section-title {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    color: var(--light-gold);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.whatsapp-main-btn {
    background: linear-gradient(135deg, var(--light-gold), var(--accent-gold));
    color: var(--primary-dark);
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 20px 0;
    box-shadow: 0 6px 20px rgba(245, 215, 143, 0.3);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
}

.whatsapp-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 215, 143, 0.4);
}

.whatsapp-form-container {
    max-width: 500px;
    margin: 0 auto;
}

/* Améliorations SEO sémantiques */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .description {
        text-align: left;
    }
    
    .program-list {
        grid-template-columns: 1fr;
    }
    
    .reservation-form {
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .map-iframe {
        height: 300px;
    }
    
    .cta-button {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .form-section {
        margin: 40px 0;
        padding: 30px 15px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .whatsapp-main-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .event-page {
        padding: 40px 15px;
    }
    
    .program-section {
        padding: 20px;
    }
    
    .location-section {
        padding: 20px;
    }
    
    .footer {
        padding: 25px 15px;
    }
    
    .map-iframe {
        height: 250px;
    }
}