/* Section générale */
#download-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #f4f4f4;
}

#download-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    width: fit-content;
}

#download-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-align: left;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Carte de téléchargement */
.download-item {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease-in-out;
}

.download-item:hover {
    transform: scale(1.02);
}

/* Contenu des cartes */
.download-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.app-details {
    max-width: 60%;
    text-align: left;
}

.app-details h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.app-details p {
    font-size: 1rem;
    color: #555;
}

/* Image de l'application */
.app-image img {
    max-width: 200px;
    border-radius: 10px;
    object-fit: cover;
}

/* Sélection de plateforme */
select {
    padding: 10px;
    width: 250px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
}

/* Bouton de téléchargement */
.download-button-container {
    display: flex;
    justify-content: left;
    gap: 20px;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #8c0000;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #600000;
}

.download-button i {
    margin-right: 8px;
}

/* Info supplémentaire */
.app-info {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-item-content {
        flex-direction: column;
        align-items: center;
    }
    
    .app-details {
        max-width: 100%;
        text-align: center;
    }

    .app-image img {
        max-width: 150px;
    }

    .download-button-container {
        justify-content: center;
    }
}
