/* Main Content */
.event-container {
    max-width: 1440px;
    margin: 50px auto;
    padding: 0 20px;
}

.event-content {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.event-row {
    display: flex;
    flex-wrap: wrap;
}

/* Image Section */
.image-section {
    flex: 1;
    min-width: 600px;
    position: relative;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 600px;
}

/* Dropdown Menu */
.dropdown-menu-custom {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.dots-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.dots-button:hover {
    background: white;
    transform: scale(1.1);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-content.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #3d18d3;
}

/* Info Section */
.info-section {
    flex: 1;
    min-width: 600px;
    padding: 60px;
}

.event-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.info-item {
    margin-bottom: 15px;
}

.info-label {
    font-weight: bold;
    color: #333;
}

.info-text {
    color: #666;
    margin-left: 5px;
}

.members-list {
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
}

.members-list li {
    color: #666;
    padding: 3px 0;
}

.histoire-section {
    margin: 25px 0;
    line-height: 1.8;
    color: #555;
}

.event-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.event-details p {
    margin: 8px 0;
}

/* Panier Button */
.panier-btn {
    background: white;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.panier-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 24, 211, 0.3);
}

/* -------------------------------------------- */
/* ------------ RESPONSIVE MOBILE -------------- */
/* -------------------------------------------- */

@media (max-width: 480px) {

    .event-row {
        flex-direction: column;
    }

    .event-container {
        margin: 20px auto;
        padding: 0 12px;
    }

    /* Fix du min-width qui bloquait tout */
    .image-section,
    .info-section {
        min-width: 100% !important;
        width: 100%;
    }

    .info-section {
        padding: 20px;
    }

    .event-title {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .event-image {
        width: 100%;
        min-height: 250px !important;
        height: auto;
        object-fit: cover;
    }

    .histoire-section,
    .event-details p,
    .info-text,
    .members-list li {
        font-size: 14px;
        line-height: 1.5;
    }

    .panier-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        border-radius: 10px;
    }

    .dropdown-menu-custom {
        top: 10px;
        right: 10px;
    }

    .dots-button {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}
